QElectroTech
0.70
|
#include <elementinfopartwidget.h>
Signals | |
void | textEdited (const QString &text) |
void | textChanged (const QString &text) |
Private Slots | |
void | on_m_erase_text_clicked () |
Private Attributes | |
Ui::ElementInfoPartWidget * | ui |
QString | key_ |
bool | m_show_erase = false |
Definition at line 27 of file elementinfopartwidget.h.
|
explicit |
ElementInfoPartWidget::ElementInfoPartWidget Constructor.
key | the string key what represent this info part |
translated_key | the string key translated |
parent | parent widget |
Definition at line 33 of file elementinfopartwidget.cpp.
References textChanged(), textEdited(), and ui.
|
override |
ElementInfoPartWidget::~ElementInfoPartWidget destructor.
Definition at line 50 of file elementinfopartwidget.cpp.
References ui.
Qt::CheckState ElementInfoPartWidget::EraseTextCheckState | ( | ) | const |
ElementInfoPartWidget::EraseTextCheckState.
Definition at line 132 of file elementinfopartwidget.cpp.
References ui.
|
inline |
Definition at line 36 of file elementinfopartwidget.h.
References key_.
Referenced by ElementInfoWidget::infoPartWidgetForKey().
|
privateslot |
Definition at line 136 of file elementinfopartwidget.cpp.
References SearchAndReplaceWorker::eraseText(), and ui.
void ElementInfoPartWidget::setDisabled | ( | bool | d | ) |
ElementInfoPartWidget::setDisabled disable the line edit.
d |
Definition at line 107 of file elementinfopartwidget.cpp.
References ui.
Referenced by ElementInfoWidget::setElement().
void ElementInfoPartWidget::setEnabled | ( | bool | e | ) |
ElementInfoPartWidget::setEnabled enable the line edit.
e |
Definition at line 98 of file elementinfopartwidget.cpp.
References ui.
Referenced by ElementInfoWidget::setElement().
void ElementInfoPartWidget::setEraseTextChecked | ( | bool | check | ) |
ElementInfoPartWidget::setEraseTextChecked.
check |
Definition at line 124 of file elementinfopartwidget.cpp.
References ui.
void ElementInfoPartWidget::setEraseTextVisible | ( | bool | visible | ) |
ElementInfoPartWidget::setEraseTextVisible.
visible |
Definition at line 115 of file elementinfopartwidget.cpp.
References m_show_erase, and ui.
Referenced by ReplaceElementDialog::buildWidget().
void ElementInfoPartWidget::setFocusTolineEdit | ( | ) |
ElementInfoPartWidget::setFocusTolineEdit Set the focus to the line edit.
Definition at line 89 of file elementinfopartwidget.cpp.
References ui.
void ElementInfoPartWidget::setPlaceHolderText | ( | const QString & | text | ) |
ElementInfoPartWidget::setPlaceHolderText.
text |
Definition at line 81 of file elementinfopartwidget.cpp.
Referenced by ReplaceElementDialog::buildWidget().
void ElementInfoPartWidget::setText | ( | const QString & | txt | ) |
ElementInfoPartWidget::setText Set text to line edit.
txt |
Definition at line 60 of file elementinfopartwidget.cpp.
References m_show_erase, SearchAndReplaceWorker::setupLineEdit(), and ui.
QString ElementInfoPartWidget::text | ( | ) | const |
Definition at line 73 of file elementinfopartwidget.cpp.
References ui.
Referenced by ElementInfoWidget::setElement(), and setPlaceHolderText().
|
signal |
|
signal |
Referenced by ElementInfoPartWidget().
|
private |
Definition at line 57 of file elementinfopartwidget.h.
Referenced by key().
|
private |
Definition at line 58 of file elementinfopartwidget.h.
Referenced by setEraseTextVisible(), and setText().
|
private |
Definition at line 56 of file elementinfopartwidget.h.
Referenced by ElementInfoPartWidget(), EraseTextCheckState(), on_m_erase_text_clicked(), setDisabled(), setEnabled(), setEraseTextChecked(), setEraseTextVisible(), setFocusTolineEdit(), setPlaceHolderText(), setText(), text(), and ~ElementInfoPartWidget().