#include <resourceplacementdialog.h>
Inheritance diagram for ResourcePlacementDialog:

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 |
Definition at line 28 of file resourceplacementdialog.h.
| 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.
| 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().
const int ResourcePlacementDialog::xsize [static, protected] |
const int ResourcePlacementDialog::ysize [static, protected] |
const int ResourcePlacementDialog::xOffSet [static, protected] |
const int ResourcePlacementDialog::yOffSet [static, protected] |
const int ResourcePlacementDialog::leftIndent [static, protected] |
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] |
PG_Label* ResourcePlacementDialog::fuelRoughnessLabel [protected] |
PG_Slider* ResourcePlacementDialog::materialOffSetSlider [protected] |
PG_Label* ResourcePlacementDialog::materialOffSetLabel [protected] |
PG_LineEdit* ResourcePlacementDialog::materialOffSetValue [protected] |
Definition at line 61 of file resourceplacementdialog.h.
Referenced by buttonEvent(), ResourcePlacementDialog(), and scrollTrackEventMaterial().
PG_Slider* ResourcePlacementDialog::fuelOffSetSlider [protected] |
PG_Label* ResourcePlacementDialog::fuelOffSetLabel [protected] |
PG_LineEdit* ResourcePlacementDialog::fuelOffSetValue [protected] |
Definition at line 65 of file resourceplacementdialog.h.
Referenced by buttonEvent(), ResourcePlacementDialog(), and scrollTrackEventFuel().
PG_Slider* ResourcePlacementDialog::fuelFreeRatioSlider [protected] |
PG_Label* ResourcePlacementDialog::fuelFreeRatioLabel [protected] |
PG_LineEdit* ResourcePlacementDialog::fuelFreeRatioValue [protected] |
Definition at line 69 of file resourceplacementdialog.h.
Referenced by ResourcePlacementDialog(), and scrollTrackEventFuelFreeRatio().
PG_Slider* ResourcePlacementDialog::materialFreeRatioSlider [protected] |
PG_Label* ResourcePlacementDialog::materialFreeRatioLabel [protected] |
PG_LineEdit* ResourcePlacementDialog::materialFreeRatioValue [protected] |
Definition at line 73 of file resourceplacementdialog.h.
Referenced by buttonEvent(), ResourcePlacementDialog(), and scrollTrackEventMaterialFreeRatio().
PG_MessageBox* ResourcePlacementDialog::d [protected] |
1.5.1