mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-02 09:29:59 +02:00
Wrap code for better readability
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user