QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Private Slots | Private Attributes | List of all members
ProjectDBModelPropertiesWidget Class Reference

The projectDBModelPropertiesWidget class This class is an editor for a NomenclatureModel. More...

#include <projectdbmodelpropertieswidget.h>

Inheritance diagram for ProjectDBModelPropertiesWidget:
Inheritance graph
Collaboration diagram for ProjectDBModelPropertiesWidget:
Collaboration graph

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
 
ProjectDBModelm_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
 

Detailed Description

The projectDBModelPropertiesWidget class This class is an editor for a NomenclatureModel.

Constructor & Destructor Documentation

◆ ProjectDBModelPropertiesWidget()

ProjectDBModelPropertiesWidget::ProjectDBModelPropertiesWidget ( ProjectDBModel model = nullptr,
QWidget *  parent = nullptr 
)
explicit

projectDBModelPropertiesWidget::projectDBModelPropertiesWidget

Parameters
model
parent
Here is the call graph for this function:

◆ ~ProjectDBModelPropertiesWidget()

ProjectDBModelPropertiesWidget::~ProjectDBModelPropertiesWidget ( )

projectDBModelPropertiesWidget::~projectDBModelPropertiesWidget

Member Function Documentation

◆ on_m_edit_query_pb_clicked

void ProjectDBModelPropertiesWidget::on_m_edit_query_pb_clicked ( )
privateslot

projectDBModelPropertiesWidget::on_m_edit_query_pb_clicked

Here is the call graph for this function:

◆ on_m_refresh_pb_clicked

void ProjectDBModelPropertiesWidget::on_m_refresh_pb_clicked ( )
privateslot
Here is the call graph for this function:

◆ setModel()

void ProjectDBModelPropertiesWidget::setModel ( ProjectDBModel model)

projectDBModelPropertiesWidget::setModel

Parameters
model
Here is the caller graph for this function:

Member Data Documentation

◆ m_model

ProjectDBModel* ProjectDBModelPropertiesWidget::m_model = nullptr
private

◆ ui

Ui::ProjectDBModelPropertiesWidget* ProjectDBModelPropertiesWidget::ui
private

The documentation for this class was generated from the following files: