#include <game_menu.h>
Public Slots | |
void | difficultyChanged () |
A method to be called when difficulty is changed. | |
Public Member Functions | |
GameMenu (QWidget *parent=0, const char *name=0) | |
Default constructor. | |
GameConfiguration | getGameConfig () |
Collects all information from this class in GameConfiguration. | |
Private Attributes | |
QGridLayout * | _grid |
Grid. | |
QComboBox * | _environmentCB |
Environment select list. | |
QComboBox * | _avatarCB |
Avatar select list. | |
QComboBox * | _playBoxGraphicsCB |
Play box graphics select list. | |
QComboBox * | _playBoxPhysicsCB |
Play box physics select list. | |
QComboBox * | _difficultyCB |
Difficulty select list. | |
QSlider * | _numberOfDifferentBubblesSL |
Number of different bubbles select list. | |
QSlider * | _numberOfFilledLayersSL |
Number of filled layers. | |
QSlider * | _bubblesDensitySL |
Bubbles density in one layer. | |
QSlider * | _rearWallSpeedSL |
Rear wall speed. |
Creates game menu.
GUI::GameMenu::GameMenu | ( | QWidget * | parent = 0 , |
|
const char * | name = 0 | |||
) |
Default constructor.
[in] | parent | The parent widget. |
[in] | name | The name of the new created widget. |
GameConfiguration GUI::GameMenu::getGameConfig | ( | ) |
Collects all information from this class in GameConfiguration.
void GUI::GameMenu::difficultyChanged | ( | ) | [slot] |
A method to be called when difficulty is changed.
QGridLayout* GUI::GameMenu::_grid [private] |
Grid.
QComboBox* GUI::GameMenu::_environmentCB [private] |
Environment select list.
QComboBox* GUI::GameMenu::_avatarCB [private] |
Avatar select list.
QComboBox* GUI::GameMenu::_playBoxGraphicsCB [private] |
Play box graphics select list.
QComboBox* GUI::GameMenu::_playBoxPhysicsCB [private] |
Play box physics select list.
QComboBox* GUI::GameMenu::_difficultyCB [private] |
Difficulty select list.
QSlider* GUI::GameMenu::_numberOfDifferentBubblesSL [private] |
Number of different bubbles select list.
QSlider* GUI::GameMenu::_numberOfFilledLayersSL [private] |
Number of filled layers.
QSlider* GUI::GameMenu::_bubblesDensitySL [private] |
Bubbles density in one layer.
QSlider* GUI::GameMenu::_rearWallSpeedSL [private] |
Rear wall speed.