QElectroTech 0.100.0-dev
|
The projectDBModelPropertiesWidget class This class is an editor for a NomenclatureModel. More...
#include <projectdbmodelpropertieswidget.h>
Public Member Functions | |
ProjectDBModelPropertiesWidget (ProjectDBModel *model=nullptr, QWidget *parent=nullptr) | |
projectDBModelPropertiesWidget::projectDBModelPropertiesWidget | |
~ProjectDBModelPropertiesWidget () | |
projectDBModelPropertiesWidget::~projectDBModelPropertiesWidget | |
void | setModel (ProjectDBModel *model) |
projectDBModelPropertiesWidget::setModel | |
Public Member Functions inherited from PropertiesEditorWidget | |
PropertiesEditorWidget (QWidget *parent=nullptr) | |
PropertiesEditorWidget::PropertiesEditorWidget Constructor. | |
virtual void | apply () |
virtual void | reset () |
virtual QUndoCommand * | associatedUndo () const |
PropertiesEditorWidget::associatedUndo By default, return a nullptr. | |
virtual QString | title () const |
PropertiesEditorWidget::title. | |
virtual void | updateUi () |
virtual bool | setLiveEdit (bool live_edit) |
PropertiesEditorWidget::setLiveEdit Set the editor in live edit mode. When an editor is in live edit mode, every change is applied immediately (no need to call apply). If live edit can be enabled, return true, or else false. By default this method does nothing and returns false (live edit is disabled). Inherited class of PropertiesEditorWidget must reimplement this method to manage the live edit mode. | |
bool | isLiveEdit () const |
PropertiesEditorWidget::isLiveEdit. | |
Private Slots | |
void | on_m_edit_query_pb_clicked () |
projectDBModelPropertiesWidget::on_m_edit_query_pb_clicked | |
void | on_m_refresh_pb_clicked () |
Private Attributes | |
Ui::ProjectDBModelPropertiesWidget * | ui |
ProjectDBModel * | m_model = nullptr |
Additional Inherited Members | |
Protected Member Functions inherited from PropertiesEditorWidget | |
virtual void | enableLiveEdit () |
virtual void | disableLiveEdit () |
Protected Attributes inherited from PropertiesEditorWidget | |
bool | m_live_edit |
The projectDBModelPropertiesWidget class This class is an editor for a NomenclatureModel.
|
explicit |
projectDBModelPropertiesWidget::projectDBModelPropertiesWidget
model | |
parent |
ProjectDBModelPropertiesWidget::~ProjectDBModelPropertiesWidget | ( | ) |
projectDBModelPropertiesWidget::~projectDBModelPropertiesWidget
|
privateslot |
projectDBModelPropertiesWidget::on_m_edit_query_pb_clicked
|
privateslot |
void ProjectDBModelPropertiesWidget::setModel | ( | ProjectDBModel * | model | ) |
projectDBModelPropertiesWidget::setModel
model |
|
private |
|
private |