mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-15 14:39:58 +01:00
Ajout du type de conducteur "simple" : ni symbole ni champ de texte
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@173 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -14,7 +14,7 @@ class ConductorPropertiesWidget : public QWidget {
|
||||
|
||||
// methodes
|
||||
public:
|
||||
bool isSingleLine() const;
|
||||
Conductor::ConductorType conductorType() const;
|
||||
void setSingleLineProperties(const SingleLineProperties &);
|
||||
SingleLineProperties singleLineProperties() const;
|
||||
QString conductorText() const;
|
||||
@@ -24,10 +24,13 @@ class ConductorPropertiesWidget : public QWidget {
|
||||
void updatePreview();
|
||||
void updateSingleLineConfig();
|
||||
void updateSingleLineDisplay();
|
||||
void setSingleLine(bool);
|
||||
void setConductorType(Conductor::ConductorType);
|
||||
void setConductorType(int);
|
||||
|
||||
// attributs prives
|
||||
private:
|
||||
QButtonGroup *radio_buttons;
|
||||
QRadioButton *simple;
|
||||
QRadioButton *multiline;
|
||||
QLineEdit *text_field;
|
||||
QRadioButton *singleline;
|
||||
@@ -38,6 +41,7 @@ class ConductorPropertiesWidget : public QWidget {
|
||||
QCheckBox *neutral_checkbox;
|
||||
QLabel *preview;
|
||||
|
||||
Conductor::ConductorType type_;
|
||||
SingleLineProperties slp;
|
||||
QString conductor_text;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user