Теми рефератів
> Реферати > Курсові роботи > Звіти з практики > Курсові проекти > Питання та відповіді > Ессе > Доклади > Учбові матеріали > Контрольні роботи > Методички > Лекції > Твори > Підручники > Статті Контакти
Реферати, твори, дипломи, практика » Контрольные работы » Розробка програми гри в шашки

Реферат Розробка програми гри в шашки





p>

}

} ();

}

MainWindow.cpp

# include

# include "mainwindow.h"

# include "lifewidget.h"

# include "ai_tree.h"

# include "point.h" :: MainWindow ()

{scroll; = new

} MainWindow :: newLetter ()

{> history_down (); ();

} MainWindow :: save ()

{> history_up (); ();

} MainWindow :: about ()

{:: about (this, tr ("About Checkers"), (" Checkers// "

" NN, 2010 "));

} MainWindow :: level_mid ()

{> set_game_level (1);

} MainWindow :: level_low ()

{> set_game_level (0);

} MainWindow :: createActions ()

{= new QAction (QIcon ("save.png"), SIGNAL (triggered ()), this, SLOT (newLetter ())); = new QAction (QIcon ("new.png"), tr ("& Forward"), this);> setShortcuts (QKeySequence: : Save);> setStatusTip (tr ("Forward_move")); (saveAct, SIGNAL (triggered ()), this, SLOT (save ())); = new QAction (QIcon ("low.png") , tr ("low_level"), this);> setStatusTip (tr ("low_level")); (low, SIGNAL (triggered ()), this, SLOT (level_low ())); = new QAction (QIcon ("mid.png"), tr ("& mid_level"), this);> setStatusTip (tr ("mid_level")); (mid, SIGNAL (triggered ()), this, SLOT (level_mid ())); = new QAction (tr ("& Quit"), this);> setShortcuts (QKeySequence :: Quit);> setStatusTip (tr ("Quit the application")); (quitAct, SIGNAL (triggered ()), this, SLOT (close ())); = new QAction (tr ("& About"), this);> setStatusTip (tr ("Show the application's About box")) ; (aboutAct, SIGNAL (triggered ()), this, SLOT (about ())); = new QAction (tr ("About & Qt"), this);> setStatusTip (tr ("Show the Qt library's About box ")); (aboutQtAct, SIGNAL (triggered ()), qApp, SLOT (aboutQt ()));

} MainWindow :: createMenus ()

{=

} MainWindow :: createToolBars ()

{= addToolBar (tr ("File"));> addAction (newLetterAct);> addAction (saveAct);

} MainWindow :: createStatusBar ()

{() -> showMessage (tr ("Ready"));

}

Vector.cpp

# include

# include "Vector.h" namespace std; :: ~ Vector ()

{[] V; = 0;

} _t Vector :: size ()

{n;

} _t Vector :: begin ()

{0;

} _t Vector


Назад | сторінка 13 з 14 | Наступна сторінка





Схожі реферати:

  • Реферат на тему: Visual Basic for Application
  • Реферат на тему: Types and application of special rules of administrative
  • Реферат на тему: Application of angstorm level resolution in nanotechnology
  • Реферат на тему: Characteristics of special self-defense tactics and their application
  • Реферат на тему: Magnetic nanoparticles - fabrication, analysis and application