A dialog for creating a constraint or a index property. More...
#include <ConstraintsIndexesPropertyDialog.h>
Public Slots | |
| void | onidxRadioButtonToggled (bool status) |
| void | onokPushButtonClicked () |
| void | onpkRadioButtonToggled (bool status) |
| void | onukRadioButtonToggled (bool status) |
Public Member Functions | |
| ConstraintsIndexesPropertyDialog (te::da::DataSetType *dsType, QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | setConstraint (te::da::Constraint *constraint) |
| void | setIndex (te::da::Index *index) |
| ~ConstraintsIndexesPropertyDialog () | |
Protected Member Functions | |
| void | freeWidget () |
Private Attributes | |
| te::da::DataSetType * | m_dsType |
| te::qt::widgets::IndexWidget * | m_indexWidget |
| te::qt::widgets::PrimaryKeyConstraintWidget * | m_pkConstraintWidget |
| std::unique_ptr< Ui::ConstraintsIndexesPropertyDialogForm > | m_ui |
| te::qt::widgets::UniqueKeyConstraintWidget * | m_ukConstraintWidget |
| QGridLayout * | m_widgetLayout |
A dialog for creating a constraint or a index property.
Definition at line 63 of file ConstraintsIndexesPropertyDialog.h.
| te::qt::widgets::ConstraintsIndexesPropertyDialog::ConstraintsIndexesPropertyDialog | ( | te::da::DataSetType * | dsType, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 38 of file ConstraintsIndexesPropertyDialog.cpp.
References m_dsType, m_ui, m_widgetLayout, onidxRadioButtonToggled(), onokPushButtonClicked(), onpkRadioButtonToggled(), onukRadioButtonToggled(), and ~ConstraintsIndexesPropertyDialog().
|
default |
Referenced by ConstraintsIndexesPropertyDialog().
|
protected |
Definition at line 164 of file ConstraintsIndexesPropertyDialog.cpp.
References m_indexWidget, m_pkConstraintWidget, m_ukConstraintWidget, and m_widgetLayout.
Referenced by onidxRadioButtonToggled(), onpkRadioButtonToggled(), and onukRadioButtonToggled().
|
slot |
Definition at line 88 of file ConstraintsIndexesPropertyDialog.cpp.
References freeWidget(), m_dsType, m_indexWidget, m_ui, and m_widgetLayout.
Referenced by ConstraintsIndexesPropertyDialog().
|
slot |
Definition at line 133 of file ConstraintsIndexesPropertyDialog.cpp.
References te::qt::widgets::ConstraintWidget::checkParameters(), te::qt::widgets::IndexWidget::checkParameters(), te::qt::widgets::PrimaryKeyConstraintWidget::getConstraint(), te::qt::widgets::UniqueKeyConstraintWidget::getConstraint(), te::qt::widgets::IndexWidget::getIndex(), m_indexWidget, m_pkConstraintWidget, m_ui, and m_ukConstraintWidget.
Referenced by ConstraintsIndexesPropertyDialog().
|
slot |
Definition at line 64 of file ConstraintsIndexesPropertyDialog.cpp.
References freeWidget(), m_dsType, m_pkConstraintWidget, m_ui, and m_widgetLayout.
Referenced by ConstraintsIndexesPropertyDialog().
|
slot |
Definition at line 76 of file ConstraintsIndexesPropertyDialog.cpp.
References freeWidget(), m_dsType, m_ui, m_ukConstraintWidget, and m_widgetLayout.
Referenced by ConstraintsIndexesPropertyDialog().
| void te::qt::widgets::ConstraintsIndexesPropertyDialog::setConstraint | ( | te::da::Constraint * | constraint | ) |
Definition at line 100 of file ConstraintsIndexesPropertyDialog.cpp.
References m_pkConstraintWidget, m_ui, m_ukConstraintWidget, te::qt::widgets::PrimaryKeyConstraintWidget::setConstraint(), and te::qt::widgets::UniqueKeyConstraintWidget::setConstraint().
Referenced by te::qt::widgets::ConstraintsIndexesListWidget::onEditToolButtonClicked().
| void te::qt::widgets::ConstraintsIndexesPropertyDialog::setIndex | ( | te::da::Index * | index | ) |
Definition at line 121 of file ConstraintsIndexesPropertyDialog.cpp.
References m_indexWidget, m_ui, and te::qt::widgets::IndexWidget::setIndex().
Referenced by te::qt::widgets::ConstraintsIndexesListWidget::onEditToolButtonClicked().
|
private |
Definition at line 91 of file ConstraintsIndexesPropertyDialog.h.
Referenced by ConstraintsIndexesPropertyDialog(), onidxRadioButtonToggled(), onpkRadioButtonToggled(), and onukRadioButtonToggled().
|
private |
Definition at line 94 of file ConstraintsIndexesPropertyDialog.h.
Referenced by freeWidget(), onidxRadioButtonToggled(), onokPushButtonClicked(), and setIndex().
|
private |
Definition at line 92 of file ConstraintsIndexesPropertyDialog.h.
Referenced by freeWidget(), onokPushButtonClicked(), onpkRadioButtonToggled(), and setConstraint().
|
private |
Definition at line 90 of file ConstraintsIndexesPropertyDialog.h.
Referenced by ConstraintsIndexesPropertyDialog(), onidxRadioButtonToggled(), onokPushButtonClicked(), onpkRadioButtonToggled(), onukRadioButtonToggled(), setConstraint(), and setIndex().
|
private |
Definition at line 93 of file ConstraintsIndexesPropertyDialog.h.
Referenced by freeWidget(), onokPushButtonClicked(), onukRadioButtonToggled(), and setConstraint().
|
private |
Definition at line 96 of file ConstraintsIndexesPropertyDialog.h.
Referenced by ConstraintsIndexesPropertyDialog(), freeWidget(), onidxRadioButtonToggled(), onpkRadioButtonToggled(), and onukRadioButtonToggled().