void setProfile( CurveCreator_ICurve* theProfile );
void setProfilesPointer(std::vector<HYDROGUI_CurveCreatorProfile*>* theProfilesPointer);
void switchToFirstProfile();
- void SetSingleProfileMode(bool SingleMode);
- bool GetSingleProfileMode() const;
+ //void SetSingleProfileMode(bool SingleMode);
+ //bool GetSingleProfileMode() const;
void SwitchToProfile(int theIndex);
void BlockProfileNameSignals(bool state);
int GetProfileSelectionIndex();
void onProfileIndexChanged();
void onAddBtnPressed(bool);
void onRemoveBtnPressed(bool);
+ void onSetColorBtnPressed(bool);
void onProfileNameChanged(QListWidgetItem* item);
signals:
void AddProfiles();
void RemoveProfile(int);
-
protected:
virtual Handle(AIS_Trihedron) trihedron();
QListWidget* myProfileNames;
QPushButton* myAddProfBtn;
QPushButton* myRemProfBtn;
-public://temp TODO
+ QPushButton* mySetColorProfBtn;
+public:
CurveCreator_Widget* myEditorWidget;
QGroupBox* myAddElementBox;
std::vector<HYDROGUI_CurveCreatorProfile*>* myProfilesPointer;
- bool mySingleProfileMode;
+private:
+ bool myIsEdit;
QString myCurrentName;
};