creaContours_lib
|
#include <wxConceptControl.h>
Public Member Functions | |
wxConceptControl (wxWindow *parent, bool orientation, int minV, int maxV, int actualV, std::string &aConceptName, std::string elementsDef="") | |
~wxConceptControl () | |
void | onUpdateUICheckBox (wxCommandEvent &event) |
void | OnCheckOrRadioBox (wxCommandEvent &event) |
void | onSliderTrack (wxScrollEvent &event) |
void | onSliderRelease (wxScrollEvent &event) |
void | sendEnvent (WXTYPE theEventType) |
std::string | getName () |
int | getMinShowedValue () |
int | getMaxShowedValue () |
void | setMinValue (int theMin) |
int | getMinValue () |
void | setMaxValue (int theMax) |
int | getMaxValue () |
void | setActualValue (int theActual) |
int | getActualValue () |
void | setShowLables (bool ifShowCondition) |
void | clearCheckAt (int position) |
bool | getIfChecked (int position) |
void | setRange (int minShow, int maxShow) |
void | reset () |
int | getNumCheckBox () |
Private Member Functions | |
void | createElements (wxSizer *sizer, std::string elementsDef) |
wxCheckBox * | createCheckBoxAndAddToSizer (wxSizer *sizer, std::string label, wxWindowID id, int groupID) |
Private Attributes | |
wxSlider * | conceptSlider |
wxStaticText * | conceptName |
std::vector< wxTextCtrl * > | textBoxes |
std::vector< wxCheckBox * > | checkBoxes |
wxCheckBox * | lastUpdate |
int | minValue |
int | maxValue |
bool | showLabels |
int | _numCheckBox |
file wxConceptControl.h
Definition at line 63 of file wxConceptControl.h.
wxConceptControl::wxConceptControl | ( | wxWindow * | parent, |
bool | orientation, | ||
int | minV, | ||
int | maxV, | ||
int | actualV, | ||
std::string & | aConceptName, | ||
std::string | elementsDef = "" |
||
) |
Definition at line 48 of file wxConceptControl.cxx.
References onSliderRelease(), and onSliderTrack().
wxConceptControl::~wxConceptControl | ( | ) |
Definition at line 84 of file wxConceptControl.cxx.
void wxConceptControl::clearCheckAt | ( | int | position | ) |
Definition at line 190 of file wxConceptControl.cxx.
References checkBoxes.
Referenced by wxInstantChooserPanel::onCheckBoxClicked().
|
private |
Definition at line 269 of file wxConceptControl.cxx.
References checkBoxes, and onUpdateUICheckBox().
Referenced by createElements().
|
private |
Definition at line 235 of file wxConceptControl.cxx.
References _numCheckBox, and createCheckBoxAndAddToSizer().
int wxConceptControl::getActualValue | ( | ) |
Definition at line 173 of file wxConceptControl.cxx.
References conceptSlider.
Referenced by wxInstantChooserPanel::changeResolutionAtConceptControl(), wxInstantChooserPanel::getInstantData(), wxInstantChooserPanel::getLastConceptData(), wxInstantChooserPanel::onResolutionSlider(), and setRange().
bool wxConceptControl::getIfChecked | ( | int | position | ) |
Definition at line 195 of file wxConceptControl.cxx.
References checkBoxes.
Referenced by wxInstantChooserPanel::onCheckBoxClicked().
int wxConceptControl::getMaxShowedValue | ( | ) |
Definition at line 143 of file wxConceptControl.cxx.
References conceptSlider.
Referenced by wxInstantChooserPanel::getLastConceptData(), and wxInstantChooserPanel::setResolutionRangeWithLasUpdate().
int wxConceptControl::getMaxValue | ( | ) |
Definition at line 163 of file wxConceptControl.cxx.
References maxValue.
Referenced by wxInstantChooserPanel::changeResolutionAtConceptControl(), wxInstantChooserPanel::getLastConceptData(), and wxInstantChooserPanel::onResolutionSlider().
int wxConceptControl::getMinShowedValue | ( | ) |
Definition at line 138 of file wxConceptControl.cxx.
References conceptSlider.
Referenced by wxInstantChooserPanel::getLastConceptData(), and wxInstantChooserPanel::setResolutionRangeWithLasUpdate().
int wxConceptControl::getMinValue | ( | ) |
Definition at line 153 of file wxConceptControl.cxx.
References minValue.
Referenced by wxInstantChooserPanel::changeResolutionAtConceptControl(), wxInstantChooserPanel::getLastConceptData(), and wxInstantChooserPanel::onResolutionSlider().
std::string wxConceptControl::getName | ( | ) |
Definition at line 133 of file wxConceptControl.cxx.
References conceptName.
Referenced by wxInstantChooserPanel::getInstantData(), wxInstantChooserPanel::getLastConceptData(), wxInstantChooserPanel::onResolutionSlider(), and wxInstantChooserPanel::setInstant().
int wxConceptControl::getNumCheckBox | ( | ) |
Definition at line 264 of file wxConceptControl.cxx.
References _numCheckBox.
Referenced by wxInstantChooserPanel::onCheckBoxClicked().
void wxConceptControl::OnCheckOrRadioBox | ( | wxCommandEvent & | event | ) |
void wxConceptControl::onSliderRelease | ( | wxScrollEvent & | event | ) |
Definition at line 111 of file wxConceptControl.cxx.
References sendEnvent().
Referenced by wxConceptControl().
void wxConceptControl::onSliderTrack | ( | wxScrollEvent & | event | ) |
Definition at line 104 of file wxConceptControl.cxx.
Referenced by wxConceptControl().
void wxConceptControl::onUpdateUICheckBox | ( | wxCommandEvent & | event | ) |
Definition at line 94 of file wxConceptControl.cxx.
References lastUpdate.
Referenced by createCheckBoxAndAddToSizer().
void wxConceptControl::reset | ( | ) |
Definition at line 216 of file wxConceptControl.cxx.
References checkBoxes, conceptSlider, maxValue, minValue, and textBoxes.
void wxConceptControl::sendEnvent | ( | WXTYPE | theEventType | ) |
Definition at line 122 of file wxConceptControl.cxx.
Referenced by onSliderRelease().
void wxConceptControl::setActualValue | ( | int | theActual | ) |
Definition at line 168 of file wxConceptControl.cxx.
References conceptSlider.
Referenced by wxInstantChooserPanel::setInstant().
void wxConceptControl::setMaxValue | ( | int | theMax | ) |
Definition at line 158 of file wxConceptControl.cxx.
References maxValue.
void wxConceptControl::setMinValue | ( | int | theMin | ) |
Definition at line 148 of file wxConceptControl.cxx.
References minValue.
void wxConceptControl::setRange | ( | int | minShow, |
int | maxShow | ||
) |
Definition at line 200 of file wxConceptControl.cxx.
References conceptSlider, and getActualValue().
Referenced by wxInstantChooserPanel::changeResolutionAtConceptControl(), and wxInstantChooserPanel::onResolutionSlider().
void wxConceptControl::setShowLables | ( | bool | ifShowCondition | ) |
Definition at line 178 of file wxConceptControl.cxx.
References showLabels.
|
private |
Definition at line 165 of file wxConceptControl.h.
Referenced by createElements(), and getNumCheckBox().
|
private |
Definition at line 155 of file wxConceptControl.h.
Referenced by clearCheckAt(), createCheckBoxAndAddToSizer(), getIfChecked(), and reset().
|
private |
Definition at line 151 of file wxConceptControl.h.
Referenced by getName().
|
private |
Definition at line 147 of file wxConceptControl.h.
Referenced by getActualValue(), getMaxShowedValue(), getMinShowedValue(), reset(), setActualValue(), and setRange().
|
private |
Definition at line 157 of file wxConceptControl.h.
Referenced by onUpdateUICheckBox().
|
private |
Definition at line 161 of file wxConceptControl.h.
Referenced by getMaxValue(), reset(), and setMaxValue().
|
private |
Definition at line 159 of file wxConceptControl.h.
Referenced by getMinValue(), reset(), and setMinValue().
|
private |
Definition at line 163 of file wxConceptControl.h.
Referenced by setShowLables().
|
private |
Definition at line 153 of file wxConceptControl.h.
Referenced by reset().