Changeset 396 in PSPA for Interface_Web/branches/12_03_12-managerComboBox/pspaWT/sources/userInterface/include/GWt_sectionToExecute.h
- Timestamp:
- Mar 22, 2013, 9:37:45 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/branches/12_03_12-managerComboBox/pspaWT/sources/userInterface/include/GWt_sectionToExecute.h
r395 r396 4 4 #include <Wt/WContainerWidget> 5 5 #include <Wt/WComboBox> 6 #include <Wt/WLineEdit> 6 #include <Wt/WLabel> 7 8 class GWt_softwarePanel; 7 9 8 10 class GWt_sectionToExecute : public Wt::WContainerWidget 9 11 { 10 12 public : 11 GWt_sectionToExecute(Wt::WComboBox*,Wt::WComboBox*,Wt::WComboBox*); 12 13 /** DEPRECATED */ 14 GWt_sectionToExecute(Wt::WLineEdit*,Wt::WLineEdit*,Wt::WComboBox*); 13 GWt_sectionToExecute(Wt::WComboBox*,Wt::WComboBox*,Wt::WComboBox*,GWt_softwarePanel* sPanel); 15 14 16 15 ~GWt_sectionToExecute() {;} … … 22 21 inline Wt::WString getLastElementCurrentText() { 23 22 return lastElement->currentText(); 24 }25 26 inline Wt::WString getFirstElementLineEditCurrentText() {27 return firstElementLineEdit->text();28 }29 30 inline Wt::WString getLastElementLineEditCurrentText() {31 return lastElementLineEdit->text();32 23 } 33 24 … … 51 42 void setSoftwareElementCurrentSelection(Wt::WString); 52 43 53 void setFirstElementLineEditCurrentText(Wt::WString); 54 void setLastElementLineEditCurrentText(Wt::WString); 44 inline void setWarnings(Wt::WString warn){ 45 warningsLabel_->setText(warn); 46 manageWarningsAndErrors(); 47 } 48 49 inline void setErrors(Wt::WString err){ 50 errorsLabel_->setText(err); 51 manageWarningsAndErrors(); 52 } 55 53 56 54 private : 55 56 void manageWarningsAndErrors(); 57 57 Wt::WComboBox* firstElement; 58 58 Wt::WComboBox* lastElement; 59 59 Wt::WComboBox* software; 60 GWt_softwarePanel* softwarePanel; 60 61 61 /** DEPRECATED */ 62 Wt::WLineEdit* firstElementLineEdit; 63 Wt::WLineEdit* lastElementLineEdit; 62 Wt::WLabel* errorsLabel_; 63 Wt::WLabel* warningsLabel_; 64 64 65 Wt::WContainerWidget* warningsContainer_; 66 Wt::WContainerWidget* errorsContainer_; 65 67 }; 66 68
Note: See TracChangeset
for help on using the changeset viewer.