ResourcePlacementDialog Class Reference

#include <resourceplacementdialog.h>

Inheritance diagram for ResourcePlacementDialog:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ResourcePlacementDialog ()

Protected Member Functions

bool radioButtonEvent (PG_RadioButton *button, bool state)
bool buttonErrorOkEvent (PG_Button *button)
bool buttonEvent (PG_Button *button)
bool scrollTrackEventMaterial (long data)
bool scrollTrackEventFuel (long data)
bool scrollTrackEventMaterialFreeRatio (long data)
bool scrollTrackEventFuelFreeRatio (long data)
bool closeWindow ()

Static Protected Member Functions

static const char * int2String (int i)

Protected Attributes

double fuelRoughness
double materialRoughness
int maxFuelOffSet
int maxMaterialOffSet
PG_LineEdit * fuelRoughnessWidget
PG_LineEdit * materialRoughnessWidget
PG_LineEdit * fuelOffsetWidget
PG_LineEdit * materialOffsetWidget
PG_CheckButton * placeFuelWidget
PG_CheckButton * placeMaterialWidget
PG_Label * materialRoughnessLabel
PG_Label * fuelRoughnessLabel
PG_Slider * materialOffSetSlider
PG_Label * materialOffSetLabel
PG_LineEdit * materialOffSetValue
PG_Slider * fuelOffSetSlider
PG_Label * fuelOffSetLabel
PG_LineEdit * fuelOffSetValue
PG_Slider * fuelFreeRatioSlider
PG_Label * fuelFreeRatioLabel
PG_LineEdit * fuelFreeRatioValue
PG_Slider * materialFreeRatioSlider
PG_Label * materialFreeRatioLabel
PG_LineEdit * materialFreeRatioValue
PG_MessageBox * d

Static Protected Attributes

static const int xsize
static const int ysize
static const int xOffSet
static const int yOffSet
static const int leftIndent

Detailed Description

Definition at line 28 of file resourceplacementdialog.h.


Constructor & Destructor Documentation

ResourcePlacementDialog::ResourcePlacementDialog (  ) 

Definition at line 35 of file resourceplacementdialog.cpp.

References atoi(), buttonEvent(), closeWindow(), fuelFreeRatioLabel, fuelFreeRatioSlider, fuelFreeRatioValue, fuelOffSetLabel, fuelOffSetSlider, fuelOffSetValue, fuelRoughnessLabel, fuelRoughnessWidget, int2String(), leftIndent, materialFreeRatioLabel, materialFreeRatioSlider, materialFreeRatioValue, materialOffSetLabel, materialOffSetSlider, materialOffSetValue, materialRoughnessLabel, materialRoughnessWidget, ResourcePlacement::MAXFUELVALUE, ResourcePlacement::MAXMATERIALVALUE, ResourcePlacement::MINFUELVALUE, ResourcePlacement::MINMATERIALVALUE, placeFuelWidget, placeMaterialWidget, scrollTrackEventFuel(), scrollTrackEventFuelFreeRatio(), scrollTrackEventMaterial(), scrollTrackEventMaterialFreeRatio(), xOffSet, xsize, yOffSet, and ysize.


Member Function Documentation

static const char* ResourcePlacementDialog::int2String ( int  i  )  [inline, static, protected]

Definition at line 36 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog(), scrollTrackEventFuelFreeRatio(), scrollTrackEventMaterial(), and scrollTrackEventMaterialFreeRatio().

bool ResourcePlacementDialog::radioButtonEvent ( PG_RadioButton *  button,
bool  state 
) [protected]

bool ResourcePlacementDialog::buttonErrorOkEvent ( PG_Button *  button  )  [protected]

Definition at line 209 of file resourceplacementdialog.cpp.

References ASC_PG_Dialog::quitModalLoop().

bool ResourcePlacementDialog::buttonEvent ( PG_Button *  button  )  [protected]

Definition at line 161 of file resourceplacementdialog.cpp.

References actmap, atof(), atoi(), d, fuelOffSetValue, fuelRoughnessWidget, materialFreeRatioValue, materialOffSetValue, materialRoughnessWidget, ResourcePlacement::placeFuelResources(), placeFuelWidget, ResourcePlacement::placeMaterialResources(), placeMaterialWidget, ResourcePlacement::placeResources(), and ASC_PG_Dialog::quitModalLoop().

Referenced by ResourcePlacementDialog().

bool ResourcePlacementDialog::scrollTrackEventMaterial ( long  data  )  [protected]

Definition at line 185 of file resourceplacementdialog.cpp.

References int2String(), and materialOffSetValue.

Referenced by ResourcePlacementDialog().

bool ResourcePlacementDialog::scrollTrackEventFuel ( long  data  )  [protected]

Definition at line 190 of file resourceplacementdialog.cpp.

References fuelOffSetValue.

Referenced by ResourcePlacementDialog().

bool ResourcePlacementDialog::scrollTrackEventMaterialFreeRatio ( long  data  )  [protected]

Definition at line 198 of file resourceplacementdialog.cpp.

References int2String(), and materialFreeRatioValue.

Referenced by ResourcePlacementDialog().

bool ResourcePlacementDialog::scrollTrackEventFuelFreeRatio ( long  data  )  [protected]

Definition at line 204 of file resourceplacementdialog.cpp.

References fuelFreeRatioValue, and int2String().

Referenced by ResourcePlacementDialog().

bool ResourcePlacementDialog::closeWindow (  )  [inline, protected, virtual]

Reimplemented from ASC_PG_Dialog.

Definition at line 84 of file resourceplacementdialog.h.

References ASC_PG_Dialog::quitModalLoop().

Referenced by ResourcePlacementDialog().


Member Data Documentation

const int ResourcePlacementDialog::xsize [static, protected]

Definition at line 32 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

const int ResourcePlacementDialog::ysize [static, protected]

Definition at line 33 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

const int ResourcePlacementDialog::xOffSet [static, protected]

Definition at line 34 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

const int ResourcePlacementDialog::yOffSet [static, protected]

Definition at line 35 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

const int ResourcePlacementDialog::leftIndent [static, protected]

Definition at line 42 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

double ResourcePlacementDialog::fuelRoughness [protected]

Definition at line 44 of file resourceplacementdialog.h.

double ResourcePlacementDialog::materialRoughness [protected]

Definition at line 45 of file resourceplacementdialog.h.

int ResourcePlacementDialog::maxFuelOffSet [protected]

Definition at line 46 of file resourceplacementdialog.h.

int ResourcePlacementDialog::maxMaterialOffSet [protected]

Definition at line 47 of file resourceplacementdialog.h.

PG_LineEdit* ResourcePlacementDialog::fuelRoughnessWidget [protected]

Definition at line 50 of file resourceplacementdialog.h.

Referenced by buttonEvent(), and ResourcePlacementDialog().

PG_LineEdit* ResourcePlacementDialog::materialRoughnessWidget [protected]

Definition at line 51 of file resourceplacementdialog.h.

Referenced by buttonEvent(), and ResourcePlacementDialog().

PG_LineEdit* ResourcePlacementDialog::fuelOffsetWidget [protected]

Definition at line 52 of file resourceplacementdialog.h.

PG_LineEdit* ResourcePlacementDialog::materialOffsetWidget [protected]

Definition at line 53 of file resourceplacementdialog.h.

PG_CheckButton* ResourcePlacementDialog::placeFuelWidget [protected]

Definition at line 54 of file resourceplacementdialog.h.

Referenced by buttonEvent(), and ResourcePlacementDialog().

PG_CheckButton* ResourcePlacementDialog::placeMaterialWidget [protected]

Definition at line 55 of file resourceplacementdialog.h.

Referenced by buttonEvent(), and ResourcePlacementDialog().

PG_Label* ResourcePlacementDialog::materialRoughnessLabel [protected]

Definition at line 56 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_Label* ResourcePlacementDialog::fuelRoughnessLabel [protected]

Definition at line 57 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_Slider* ResourcePlacementDialog::materialOffSetSlider [protected]

Definition at line 59 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_Label* ResourcePlacementDialog::materialOffSetLabel [protected]

Definition at line 60 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_LineEdit* ResourcePlacementDialog::materialOffSetValue [protected]

Definition at line 61 of file resourceplacementdialog.h.

Referenced by buttonEvent(), ResourcePlacementDialog(), and scrollTrackEventMaterial().

PG_Slider* ResourcePlacementDialog::fuelOffSetSlider [protected]

Definition at line 63 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_Label* ResourcePlacementDialog::fuelOffSetLabel [protected]

Definition at line 64 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_LineEdit* ResourcePlacementDialog::fuelOffSetValue [protected]

Definition at line 65 of file resourceplacementdialog.h.

Referenced by buttonEvent(), ResourcePlacementDialog(), and scrollTrackEventFuel().

PG_Slider* ResourcePlacementDialog::fuelFreeRatioSlider [protected]

Definition at line 67 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_Label* ResourcePlacementDialog::fuelFreeRatioLabel [protected]

Definition at line 68 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_LineEdit* ResourcePlacementDialog::fuelFreeRatioValue [protected]

Definition at line 69 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog(), and scrollTrackEventFuelFreeRatio().

PG_Slider* ResourcePlacementDialog::materialFreeRatioSlider [protected]

Definition at line 71 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_Label* ResourcePlacementDialog::materialFreeRatioLabel [protected]

Definition at line 72 of file resourceplacementdialog.h.

Referenced by ResourcePlacementDialog().

PG_LineEdit* ResourcePlacementDialog::materialFreeRatioValue [protected]

Definition at line 73 of file resourceplacementdialog.h.

Referenced by buttonEvent(), ResourcePlacementDialog(), and scrollTrackEventMaterialFreeRatio().

PG_MessageBox* ResourcePlacementDialog::d [protected]

Definition at line 75 of file resourceplacementdialog.h.

Referenced by buttonEvent().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:23 2012 for Advanced Strategic Command by  doxygen 1.5.1