#include <editor.h>
Inheritance diagram for hoa_editor::NewMapDialog:


Public Member Functions | |
| int | GetHeight () const |
| Public accessor to get the map height from the height spinbox. | |
| Q3ListView * | GetTilesetListView () const |
| Public accessor to get the listview containing checkable tilesets. | |
| int | GetWidth () const |
| Public accessor to get the map width from the width spinbox. | |
| NewMapDialog (QWidget *parent, const QString &name) | |
| ~NewMapDialog () | |
Private Attributes | |
| QPushButton * | _cancel_pbut |
| A pushbutton for canceling the new map dialog. | |
| Q3GridLayout * | _dia_layout |
| A layout to manage all the labels, spinboxes, and listviews. | |
| QLabel * | _height_label |
| A label used to visually name the height spinbox. | |
| QSpinBox * | _height_sbox |
| A spinbox for specifying the map's height. | |
| QPushButton * | _ok_pbut |
| A pushbutton for okaying the new map dialog. | |
| Q3ListView * | _tileset_lview |
| A listview for showing all available tilesets. | |
| QLabel * | _width_label |
| A label used to visually name the width spinbox. | |
| QSpinBox * | _width_sbox |
| A spinbox for specifying the map's width. | |
Definition at line 192 of file editor.h.
| NewMapDialog::NewMapDialog | ( | QWidget * | parent, | |
| const QString & | name | |||
| ) |
Definition at line 564 of file editor.cpp.
References _cancel_pbut, _dia_layout, _height_label, _height_sbox, _ok_pbut, _tileset_lview, _width_label, and _width_sbox.
| NewMapDialog::~NewMapDialog | ( | ) |
Definition at line 604 of file editor.cpp.
References _cancel_pbut, _dia_layout, _height_label, _height_sbox, _ok_pbut, _width_label, and _width_sbox.
| int hoa_editor::NewMapDialog::GetHeight | ( | ) | const [inline] |
Public accessor to get the map height from the height spinbox.
Definition at line 199 of file editor.h.
References _height_sbox.
Referenced by hoa_editor::Editor::_FileNew(), and hoa_editor::Editor::_FileResize().
| Q3ListView* hoa_editor::NewMapDialog::GetTilesetListView | ( | ) | const [inline] |
Public accessor to get the listview containing checkable tilesets.
Definition at line 203 of file editor.h.
References _tileset_lview.
Referenced by hoa_editor::Editor::_FileNew(), and hoa_editor::Editor::_FileResize().
| int hoa_editor::NewMapDialog::GetWidth | ( | ) | const [inline] |
Public accessor to get the map width from the width spinbox.
Definition at line 201 of file editor.h.
References _width_sbox.
Referenced by hoa_editor::Editor::_FileNew(), and hoa_editor::Editor::_FileResize().
QPushButton* hoa_editor::NewMapDialog::_cancel_pbut [private] |
A pushbutton for canceling the new map dialog.
Definition at line 217 of file editor.h.
Referenced by NewMapDialog(), and ~NewMapDialog().
Q3GridLayout* hoa_editor::NewMapDialog::_dia_layout [private] |
A layout to manage all the labels, spinboxes, and listviews.
Definition at line 221 of file editor.h.
Referenced by NewMapDialog(), and ~NewMapDialog().
QLabel* hoa_editor::NewMapDialog::_height_label [private] |
A label used to visually name the height spinbox.
Definition at line 213 of file editor.h.
Referenced by NewMapDialog(), and ~NewMapDialog().
QSpinBox* hoa_editor::NewMapDialog::_height_sbox [private] |
A spinbox for specifying the map's height.
Definition at line 209 of file editor.h.
Referenced by GetHeight(), NewMapDialog(), and ~NewMapDialog().
QPushButton* hoa_editor::NewMapDialog::_ok_pbut [private] |
A pushbutton for okaying the new map dialog.
Definition at line 219 of file editor.h.
Referenced by NewMapDialog(), and ~NewMapDialog().
Q3ListView* hoa_editor::NewMapDialog::_tileset_lview [private] |
A listview for showing all available tilesets.
Definition at line 207 of file editor.h.
Referenced by GetTilesetListView(), and NewMapDialog().
QLabel* hoa_editor::NewMapDialog::_width_label [private] |
A label used to visually name the width spinbox.
Definition at line 215 of file editor.h.
Referenced by NewMapDialog(), and ~NewMapDialog().
QSpinBox* hoa_editor::NewMapDialog::_width_sbox [private] |
A spinbox for specifying the map's width.
Definition at line 211 of file editor.h.
Referenced by GetWidth(), NewMapDialog(), and ~NewMapDialog().
1.5.1