A dialog page to display foreignkey constraint properties.
More...
#include <umlforeignkeyconstraintdialog.h>
|
enum | PageType {
AutoLayoutPage
, ClassPage
, CodeImportPage
, CodeGenerationPage
,
CodeViewerPage
, FontPage
, GeneralPage
, UserInterfacePage
} |
| Available page types. More...
|
|
void | okClicked () |
|
void | applyClicked () |
|
void | defaultClicked () |
|
static int | spacingHint () |
|
void | slotEnableButtonOk (bool state) |
|
virtual void | keyPressEvent (QKeyEvent *event) |
|
QFrame * | createPage (const QString &name, const QString &header, Icon_Utils::IconType icon) |
|
KPageWidgetItem * | createPage (const QString &name, const QString &header, Icon_Utils::IconType icon, QWidget *widget) |
|
void | setupGeneralPage (AssociationWidget *widget) |
|
void | applyGeneralPage (AssociationWidget *widget) |
|
void | setupGeneralPage (NoteWidget *widget) |
|
KPageWidgetItem * | setupGeneralPage (MessageWidget *widget) |
|
void | applyGeneralPage (MessageWidget *widget) |
|
KPageWidgetItem * | setupFontPage (const QFont &font) |
|
KPageWidgetItem * | setupFontPage (UMLWidget *widget) |
|
KPageWidgetItem * | setupFontPage (AssociationWidget *widget) |
|
void | resetFontPage (QWidget *widget) |
|
void | applyFontPage (AssociationWidget *widget) |
|
void | applyFontPage (Settings::OptionState *state) |
|
void | applyFontPage (UMLScene *scene) |
|
void | applyFontPage (UMLWidget *widget) |
|
KPageWidgetItem * | setupStylePage (WidgetBase *widget) |
|
KPageWidgetItem * | setupStylePage (AssociationWidget *widget) |
|
void | applyStylePage () |
|
KPageWidgetItem * | setupAssociationRolePage (AssociationWidget *widget) |
|
void | applyAssociationRolePage () |
|
AssociationGeneralPage * | m_pAssocGeneralPage |
|
NotePage * | m_notePage |
|
SelectOperationPage * | m_operationGeneralPage |
|
AssociationRolePage * | m_pRolePage |
|
KFontChooser * | m_fontChooser |
|
UMLWidgetStylePage * | m_pStylePage |
|
KPageWidgetItem * | m_pageItem |
|
KPageDialog * | m_pageDialog |
|
KPageWidget * | m_pageWidget |
|
bool | m_useDialog |
|
bool | m_isModified |
|
A dialog page to display foreignkey constraint properties.
A dialog page to display foreignkey 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
◆ UMLForeignKeyConstraintDialog()
UMLForeignKeyConstraintDialog::UMLForeignKeyConstraintDialog |
( |
QWidget * |
parent, |
|
|
UMLForeignKeyConstraint * |
pForeignKeyConstraint |
|
) |
| |
◆ ~UMLForeignKeyConstraintDialog()
UMLForeignKeyConstraintDialog::~UMLForeignKeyConstraintDialog |
( |
| ) |
|
◆ apply()
bool UMLForeignKeyConstraintDialog::apply |
( |
| ) |
|
|
private |
Checks if changes are valid and applies them if they are, else returns false.
◆ refillLocalAttributeCB()
void UMLForeignKeyConstraintDialog::refillLocalAttributeCB |
( |
| ) |
|
|
private |
◆ refillReferencedAttributeCB()
void UMLForeignKeyConstraintDialog::refillReferencedAttributeCB |
( |
| ) |
|
|
private |
◆ setupColumnPage()
void UMLForeignKeyConstraintDialog::setupColumnPage |
( |
| ) |
|
|
private |
◆ setupGeneralPage()
void UMLForeignKeyConstraintDialog::setupGeneralPage |
( |
| ) |
|
|
private |
◆ slotAddPair
void UMLForeignKeyConstraintDialog::slotAddPair |
( |
| ) |
|
|
slot |
◆ slotApply
void UMLForeignKeyConstraintDialog::slotApply |
( |
| ) |
|
|
slot |
Used when the Apply button is clicked.
◆ slotDeletePair
void UMLForeignKeyConstraintDialog::slotDeletePair |
( |
| ) |
|
|
slot |
Deletes a pair from the list.
◆ slotOk
void UMLForeignKeyConstraintDialog::slotOk |
( |
| ) |
|
|
slot |
Used when the OK button is clicked. Calls apply().
◆ slotReferencedEntityChanged
void UMLForeignKeyConstraintDialog::slotReferencedEntityChanged |
( |
int |
index | ) |
|
|
slot |
◆ slotResetWidgetState
void UMLForeignKeyConstraintDialog::slotResetWidgetState |
( |
| ) |
|
|
slot |
Enable/Disable the widgets in the Dialog Box.
◆ m_ColumnWidgets
◆ m_doc
UMLDoc* UMLForeignKeyConstraintDialog::m_doc |
|
private |
the UMLDocument where all objects live
◆ m_GeneralWidgets
◆ m_pAttributeMapList
◆ m_pForeignKeyConstraint
◆ m_pLocalAttributeList
◆ m_pReferencedAttributeList
◆ m_pReferencedEntityIndex
int UMLForeignKeyConstraintDialog::m_pReferencedEntityIndex |
|
private |
Temporary Storage for entity index in referencedColumnCB. Used for reverting back a change in referenced entities.
◆ pageColumn
KPageWidgetItem * UMLForeignKeyConstraintDialog::pageColumn |
|
private |
◆ pageGeneral
KPageWidgetItem* UMLForeignKeyConstraintDialog::pageGeneral |
|
private |
The documentation for this class was generated from the following files: