A dialog used to configure informations about a symbol. More...
#include <SymbolInfoDialog.h>
Public Member Functions | |
| SymbolInfo | getSymbolInfo () const |
| Gets the configured symbol information. More... | |
| void | setReadMode (bool enable=true) |
| void | setSymbolInfo (const SymbolInfo &info) |
| Sets the symbol information to this dialog. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| SymbolInfoDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a symbol info dialog which is a child of parent, with widget flags set to f. More... | |
| ~SymbolInfoDialog () | |
| Destructor. More... | |
Private Member Functions | |
| void | updateUi () |
| Updates the dialog form based on internal symbol info object. More... | |
Private Attributes | |
| SymbolInfo | m_symbolInfo |
| Symbol information that will be configured by the dialog. More... | |
| std::unique_ptr< Ui::SymbolInfoDialogForm > | m_ui |
| Dialog form. More... | |
A dialog used to configure informations about a symbol.
Definition at line 53 of file SymbolInfoDialog.h.
| te::qt::widgets::SymbolInfoDialog::SymbolInfoDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructs a symbol info dialog which is a child of parent, with widget flags set to f.
Definition at line 30 of file SymbolInfoDialog.cpp.
References m_ui, and ~SymbolInfoDialog().
|
default |
Destructor.
Referenced by SymbolInfoDialog().
| te::qt::widgets::SymbolInfo te::qt::widgets::SymbolInfoDialog::getSymbolInfo | ( | ) | const |
Gets the configured symbol information.
Definition at line 39 of file SymbolInfoDialog.cpp.
References m_symbolInfo.
| void te::qt::widgets::SymbolInfoDialog::setReadMode | ( | bool | enable = true | ) |
Definition at line 50 of file SymbolInfoDialog.cpp.
References m_ui.
Referenced by te::qt::widgets::SymbolSelectorDialog::onShowSymbolInfoPushButtonPressed().
| void te::qt::widgets::SymbolInfoDialog::setSymbolInfo | ( | const SymbolInfo & | info | ) |
Sets the symbol information to this dialog.
| info | The symbol information. |
Definition at line 44 of file SymbolInfoDialog.cpp.
References m_symbolInfo, and updateUi().
Referenced by te::qt::widgets::SymbolSelectorDialog::onShowSymbolInfoPushButtonPressed(), and SymbolEditor().
|
private |
Updates the dialog form based on internal symbol info object.
Definition at line 58 of file SymbolInfoDialog.cpp.
References te::qt::widgets::SymbolInfo::m_author, te::qt::widgets::SymbolInfo::m_description, te::qt::widgets::SymbolInfo::m_id, te::qt::widgets::SymbolInfo::m_name, m_symbolInfo, te::qt::widgets::SymbolInfo::m_tags, and m_ui.
Referenced by setSymbolInfo().
|
private |
Symbol information that will be configured by the dialog.
Definition at line 98 of file SymbolInfoDialog.h.
Referenced by getSymbolInfo(), setSymbolInfo(), and updateUi().
|
private |
Dialog form.
Definition at line 97 of file SymbolInfoDialog.h.
Referenced by setReadMode(), SymbolInfoDialog(), and updateUi().