umbrello/umbrello
classpropertiesdialog.cpp
Go to the documentation of this file.
245 QFrame* page = createPage(i18nc("general settings page name", "General"), i18n("General Settings"),
270 QFrame* page = createPage(i18nc("display option page name", "Display"), i18n("Display Options"),
285 m_pAttPage = new ClassifierListPage(page, (UMLClassifier *)m_pObject, m_doc, UMLObject::ot_Attribute);
297 m_pOpsPage = new ClassifierListPage(page, (UMLClassifier*)m_pObject, m_doc, UMLObject::ot_Operation);
309 m_pTemplatePage = new ClassifierListPage(page, (UMLClassifier *)m_pObject, m_doc, UMLObject::ot_Template);
321 m_pEnumLiteralPage = new ClassifierListPage(page, (UMLClassifier*)m_pObject, m_doc, UMLObject::ot_EnumLiteral);
333 m_pEntityAttributePage = new ClassifierListPage(page, (UMLEntity*)m_pObject, m_doc, UMLObject::ot_EntityAttribute);
345 m_pEntityConstraintPage = new ConstraintListPage(page, (UMLClassifier*)m_pObject, m_doc, UMLObject::ot_EntityConstraint);
355 QFrame* page = createPage(i18nc("contents settings page name", "Contents"), i18n("Contents Settings"),
369 m_pAssocPage = new ClassAssociationsPage(page, UMLApp::app()->currentView()->umlScene(), m_pObject);
379 QFrame* page = createPage(i18nc("instance general settings page name", "General"), i18n("General Settings"),
Definition: umlobject.h:61
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
Displays properties of a UMLObject in a dialog box.
Definition: classgeneralpage.h:37
Definition: widgetbase.h:51
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
void slotOk()
Calls slotApply() and accepts (closes) the dialog.
Definition: classpropertiesdialog.cpp:159
A dialog page to display options for class related options.
Definition: classoptionspage.h:38
UMLObject * umlObject() const
Returns the UMLObject set to represent.
Definition: widgetbase.cpp:127
Definition: icon_utils.h:56
void setupTemplatesPage()
Sets up the page "Templates" for the component.
Definition: classpropertiesdialog.cpp:305
void updateObject()
Will move information from the dialog into the object.
Definition: classgeneralpage.cpp:426
Definition: umlobject.h:56
KIcon DesktopIcon(IconType type)
Returns the pixmap for the given type as desktop icon.
Definition: icon_utils.cpp:78
void slotApply()
Applies the settings in the dialog to the widget and object.
Definition: classpropertiesdialog.cpp:168
Definition: umlobject.h:60
Definition: umlobject.h:62
void setupAssociationsPage()
Sets up the page "Associations" for the component.
Definition: classpropertiesdialog.cpp:365
Definition: widgetbase.h:47
UMLDoc * document() const
Returns a pointer to the current document connected to the KMainWindow instance.
Definition: uml.cpp:910
Definition: widgetbase.h:59
void setupPages(bool assoc=false)
Sets up the general, attribute, operations, template and association pages as appropriate.
Definition: classpropertiesdialog.cpp:205
void setupEnumLiteralsPage()
Sets up the page "Enum Literals" for the component.
Definition: classpropertiesdialog.cpp:317
void setMinimumSize(const QSize &)
void okClicked()
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setupInstancePages()
Sets up the general page for the component.
Definition: classpropertiesdialog.cpp:377
Displays a page on the tabbed dialog window of ClassPropertiesDialog.
Definition: classassociationspage.h:32
Definition: widgetbase.h:46
void setupEntityConstraintsPage()
Sets up the page "Entity Constraints" for the component.
Definition: classpropertiesdialog.cpp:341
void setupDisplayPage()
Sets up the page "Display" for the component.
Definition: classpropertiesdialog.cpp:268
void setupOperationsPage()
Sets up the page "Operations" for the component.
Definition: classpropertiesdialog.cpp:293
void setupEntityAttributesPage()
Sets up the page "Entity Attributes" for the component.
Definition: classpropertiesdialog.cpp:329
A dialog page to display classifier list properties.
Definition: classifierlistpage.h:40
void setupStylePage()
Sets up the page "Style" for the component.
Definition: classpropertiesdialog.cpp:256
Definition: umlobject.h:68
void updateObject()
Will move information from the dialog into the object.
Definition: classifierlistpage.cpp:368
Definition: umlobject.h:71
Definition: umlobject.h:59
Definition: umlwidgetstylepage.h:30
void applyClicked()
Definition: umlobject.h:54
Definition: icon_utils.h:57
Definition: umlobject.h:57
Definition: umlobject.h:50
void setupContentsPage()
Sets up the page "Contents" for the component.
Definition: classpropertiesdialog.cpp:353
virtual void setFont(const QFont &font)
Sets the font the widget is to use.
Definition: umlwidget.cpp:1720
A dialog page to display entity constraint properties.
Definition: constraintlistpage.h:31
void setupAttributesPage()
Sets up the page "Attributes" for the component.
Definition: classpropertiesdialog.cpp:281
QFrame * createPage(const QString &name, const QString &header, Icon_Utils::IconType icon)
Create a property page.
Definition: dialogbase.cpp:75
Definition: umlobject.h:53
Definition: widgetbase.h:61
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void updateUMLWidget()
Updates the UMLWidget with the dialog properties.
Definition: umlwidgetstylepage.cpp:238
Definition: icon_utils.h:55
Common implementation for class widget and interface widget.
Definition: classifierwidget.h:32
Definition: icon_utils.h:66
virtual QFont font() const
Returns the font used for diaplaying any text.
Definition: widgetbase.cpp:445
ClassPropertiesDialog(QWidget *parent, UMLObject *c, bool assoc=false)
Sets up a ClassPropDialog.
Definition: classpropertiesdialog.cpp:47
Definition: umlobject.h:69
This class contains the non-graphical information required for a UML Entity.
Definition: entity.h:34
The page shows all the objects that belong to a UMLPackage.
Definition: packagecontentspage.h:25
void setupGeneralPage()
Sets up the page "General" for the component.
Definition: classpropertiesdialog.cpp:243
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.