An extension to the classifier list dialog page to display constraint properties.
More...
#include <constraintlistpage.h>
An extension to the classifier list dialog page to display constraint properties.
A dialog page to display entity constraint properties.
- Author
- Sharan Rao Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org
◆ ConstraintListPage()
◆ ~ConstraintListPage()
ConstraintListPage::~ConstraintListPage |
( |
| ) |
|
|
virtual |
◆ getItemList
Get constraint list items for all types (unique, foreign-key and check-constraints)
◆ greaterThan()
Calculates the new index to be assigned when an object of type ot is to be added to the list box. The default Implementation is to add it to the end of the list param ot The Object Type to be added return The index
Returns the index of the Item in the List Box
Will return true if ct1 has a higher (top) place in the list than ct2
- Parameters
-
ct1 | Constraint Type 1 |
ct2 | Constraint Type 2 |
- Returns
- true if ct1 is to be shown above ct2 else false
◆ setupActions()
void ConstraintListPage::setupActions |
( |
| ) |
|
|
private |
◆ slotNewCheckConstraint
void ConstraintListPage::slotNewCheckConstraint |
( |
| ) |
|
|
privateslot |
◆ slotNewForeignKeyConstraint
void ConstraintListPage::slotNewForeignKeyConstraint |
( |
| ) |
|
|
privateslot |
◆ slotNewPrimaryKeyConstraint
void ConstraintListPage::slotNewPrimaryKeyConstraint |
( |
| ) |
|
|
privateslot |
◆ slotNewUniqueConstraint
void ConstraintListPage::slotNewUniqueConstraint |
( |
| ) |
|
|
privateslot |
◆ buttonMenu
QMenu* ConstraintListPage::buttonMenu |
|
protected |
◆ newCheckConstraintAction
QAction* ConstraintListPage::newCheckConstraintAction |
|
private |
◆ newForeignKeyConstraintAction
QAction* ConstraintListPage::newForeignKeyConstraintAction |
|
private |
◆ newPrimaryKeyConstraintAction
QAction* ConstraintListPage::newPrimaryKeyConstraintAction |
|
private |
◆ newUniqueConstraintAction
QAction* ConstraintListPage::newUniqueConstraintAction |
|
private |
The documentation for this class was generated from the following files: