umbrello/umbrello
objectnodedialog.cpp
Go to the documentation of this file.
141 m_GenPageWidgets.generalGB = new QGroupBox(i18nc("properties group title", "Properties"), (QWidget *)page);
203 if (type != ObjectNodeWidget::Buffer && type != ObjectNodeWidget::Data && type != ObjectNodeWidget::Flow) {
This class is the graphical version of a UML Object Node.
Definition: objectnodewidget.h:28
KPageWidgetItem * setupStylePage(UMLWidget *widget)
Sets up the style page.
Definition: dialogbase.cpp:116
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
Definition: objectnodewidget.h:36
KIcon DesktopIcon(IconType type)
Returns the pixmap for the given type as desktop icon.
Definition: icon_utils.cpp:78
const T & at(int i) const
QRadioButton * bufferRB
Definition: objectnodedialog.h:67
QString name() const
Gets the name from the corresponding UMLObject if this widget has an underlying UMLObject; if it does...
Definition: widgetbase.cpp:211
QString documentation() const
Used by some child classes to get documentation.
Definition: widgetbase.cpp:171
void setSpacing(int spacing)
virtual void setName(const QString &strName)
Sets the name in the corresponding UMLObject.
Definition: widgetbase.cpp:224
void okClicked()
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
int count(const T &value) const
void setDocumentation(const QString &doc)
Used by some child classes to set documentation.
Definition: widgetbase.cpp:196
void applyPage(KPageWidgetItem *)
Applies changes to the given page.
Definition: objectnodedialog.cpp:97
QGroupBox * generalGB
Definition: objectnodedialog.h:68
void hide()
KLineEdit * makeLabeledEditField(QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText)
Create a labeled text lineedit widget.
Definition: dialog_utils.cpp:45
void setMargin(int margin)
Definition: objectnodewidget.h:35
Definition: objectnodewidget.h:38
Definition: objectnodewidget.h:37
ObjectNodeDialog(UMLView *pView, ObjectNodeWidget *pWidget)
Constructor.
Definition: objectnodedialog.cpp:39
void setObjectNodeType(ObjectNodeType objectNodeType)
Sets the type of object node.
Definition: objectnodewidget.cpp:195
void applyClicked()
bool isChecked() const
QFontMetrics fontMetrics() const
struct ObjectNodeDialog::GeneralPageWidgets m_GenPageWidgets
bool m_bChangesMade
holds whether changes in the dialog have been made
Definition: objectnodedialog.h:61
ObjectNodeType objectNodeType() const
Returns the type of object node.
Definition: objectnodewidget.cpp:171
void show()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: icon_utils.h:55
void setState(const QString &state)
Sets the state of an object node when it's an objectflow.
Definition: objectnodewidget.cpp:212
void setSpacing(int spacing)
int height() const
KPageWidgetItem * setupFontPage(UMLWidget *widget)
Sets up the font selection page.
Definition: dialogbase.cpp:93
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 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:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.