Wrap code for better readability

This commit is contained in:
Simon De Backer
2020-08-25 20:32:21 +02:00
parent dfadcb5523
commit 9e4af439ef
4 changed files with 152 additions and 87 deletions

View File

@@ -24,22 +24,29 @@ namespace Ui {
class ElementInfoPartWidget;
}
/**
@brief The ElementInfoPartWidget class
gebruikt bij schema editor
als men edit dit Element aanklikt
*/
class ElementInfoPartWidget : public QWidget
{
Q_OBJECT
//METHODS
public:
explicit ElementInfoPartWidget(QString key, const QString& translated_key, QWidget *parent = nullptr);
explicit ElementInfoPartWidget(QString key,
const QString& translated_key,
QWidget *parent = nullptr);
~ElementInfoPartWidget() override;
QString key () const {return key_;}
void setText (const QString &);
QString text () const;
QString key () const {return key_;}
QString text () const;
void setText (const QString &);
void setPlaceHolderText (const QString &text);
void setFocusTolineEdit();
void setEnabled(bool e);
void setDisabled(bool d);
void setFocusTolineEdit();
void setEnabled(bool e);
void setDisabled(bool d);
void setEraseTextVisible (bool visible);
void setEraseTextChecked (bool check);
Qt::CheckState EraseTextCheckState ()const;