Master element : comment is displayed even if there isn't slave linked

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3414 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-10-28 15:45:28 +00:00
parent 23457271e6
commit cf887b8c3c
7 changed files with 117 additions and 33 deletions

View File

@@ -27,20 +27,22 @@ namespace Ui {
class ElementInfoPartWidget : public QWidget {
Q_OBJECT
//METHODS
public:
explicit ElementInfoPartWidget(QString key, QString translated_key, QWidget *parent = 0);
~ElementInfoPartWidget();
QString key() const {return key_;}
void setText(const QString &);
QString text() const;
bool mustShow() const;
void setShow(bool);
//METHODS
public:
explicit ElementInfoPartWidget(QString key, QString translated_key, QWidget *parent = 0);
~ElementInfoPartWidget();
//ATTRIBUTES
private:
Ui::ElementInfoPartWidget *ui;
QString key_;
QString key () const {return key_;}
void setText (const QString &);
QString text () const;
bool mustShow () const;
void setShow (const bool &);
void setHideShow (const bool &);
//ATTRIBUTES
private:
Ui::ElementInfoPartWidget *ui;
QString key_;
};
#endif // ELEMENTINFOPARTWIDGET_H