Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ChanceSettingsDialog Class Reference

#include <weatherdialog.h>

Inheritance diagram for ChanceSettingsDialog:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ChanceSettingsDialog (std::string title)
virtual ~ChanceSettingsDialog ()
virtual bool closeWindow ()

Protected Member Functions

virtual void buildUpForm (const vector< string > &labelVec)

Protected Attributes

vector< PG_LineEdit * > chances
vector< PG_Label * > labels
PG_Labelnote

Static Protected Attributes

static const int xsize = 400
static const int ysize = 512

Detailed Description

Author:
Kevin Hirschmann

Definition at line 27 of file weatherdialog.h.


Constructor & Destructor Documentation

ChanceSettingsDialog::ChanceSettingsDialog std::string  title  ) 
 

Definition at line 610 of file weatherdialog.cpp.

ChanceSettingsDialog::~ChanceSettingsDialog  )  [virtual]
 

Definition at line 612 of file weatherdialog.cpp.


Member Function Documentation

void ChanceSettingsDialog::buildUpForm const vector< string > &  labelVec  )  [protected, virtual]
 

Definition at line 614 of file weatherdialog.cpp.

References chances, closeWindow(), GuiDimension::getLeftIndent(), GuiDimension::getLineEditWidth(), PG_Widget::GetTextHeight(), GuiDimension::getTopOffSet(), PG_Rect::Height(), labels, note, PG_Rect::PG_Rect(), PG_Label::SetSizeByText(), PG_LineEdit::SetText(), PG_Window::sigClose, ASCString::toString(), PG_Rect::Width(), and xsize.

Referenced by FallOutSettingsDialog::FallOutSettingsDialog(), WindDirectionSettingsDialog::WindDirectionSettingsDialog(), and WindSpeedSettingsDialog::WindSpeedSettingsDialog().

virtual bool ChanceSettingsDialog::closeWindow  )  [inline, virtual]
 

Reimplemented from ASC_PG_Dialog.

Definition at line 33 of file weatherdialog.h.

References ASC_PG_Dialog::quitModalLoop().

Referenced by buildUpForm().


Member Data Documentation

vector<PG_LineEdit*> ChanceSettingsDialog::chances [protected]
 

Definition at line 46 of file weatherdialog.h.

Referenced by buildUpForm().

vector<PG_Label*> ChanceSettingsDialog::labels [protected]
 

Definition at line 47 of file weatherdialog.h.

Referenced by buildUpForm(), FallOutSettingsDialog::FallOutSettingsDialog(), WindDirectionSettingsDialog::WindDirectionSettingsDialog(), and WindSpeedSettingsDialog::WindSpeedSettingsDialog().

PG_Label* ChanceSettingsDialog::note [protected]
 

Definition at line 48 of file weatherdialog.h.

Referenced by buildUpForm().

const int ChanceSettingsDialog::xsize = 400 [static, protected]
 

Definition at line 606 of file weatherdialog.cpp.

Referenced by buildUpForm().

const int ChanceSettingsDialog::ysize = 512 [static, protected]
 

Definition at line 607 of file weatherdialog.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:16:37 2008 for Advanced Strategic Command by  doxygen 1.4.2