Display properties on a UMLObject.
More...
#include <classgeneralpage.h>
Display properties on a UMLObject.
Displays properties of a UMLObject in a dialog box. This is not usually directly called. The class ClassPropertiesDialog will set this up for you.
- Author
- Paul Hensgen phens.nosp@m.gen@.nosp@m.techi.nosp@m.e.co.nosp@m.m Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org
◆ ClassGeneralPage() [1/3]
ClassGeneralPage::ClassGeneralPage |
( |
UMLDoc * |
d, |
|
|
QWidget * |
parent, |
|
|
UMLObject * |
o |
|
) |
| |
Sets up the ClassGenPage.
- Parameters
-
d | The UMLDoc which controls controls object creation. |
parent | The parent to the ClassGenPage. |
o | The UMLObject to display the properties of. |
◆ ClassGeneralPage() [2/3]
Sets up the ClassGenPage for an ObjectWidget
- Parameters
-
d | The UMLDoc which controls controls object creation. |
parent | The parent to the ClassGenPage. |
o | The ObjectWidget to display the properties of. |
◆ ClassGeneralPage() [3/3]
ClassGeneralPage::ClassGeneralPage |
( |
UMLDoc * |
d, |
|
|
QWidget * |
parent, |
|
|
UMLWidget * |
widget |
|
) |
| |
Sets up the ClassGenPage for a UMLWidget instance (used for component instances on deployment diagrams)
- Parameters
-
d | The UMLDoc which controls controls object creation. |
parent | The parent to the ClassGenPage. |
widget | The UMLWidget to display the properties of. |
◆ ~ClassGeneralPage()
ClassGeneralPage::~ClassGeneralPage |
( |
| ) |
|
◆ apply()
void ClassGeneralPage::apply |
( |
| ) |
|
Will move information from the dialog into the object. Call when the ok or apply button is pressed.
◆ insertStereotypesSorted()
void ClassGeneralPage::insertStereotypesSorted |
( |
const QString & |
type | ) |
|
|
private |
◆ setInstanceWidgetNameIfApplicable()
void ClassGeneralPage::setInstanceWidgetNameIfApplicable |
( |
const QString & |
name | ) |
const |
|
private |
Sets the input name to the instance widget if the change is applicable.
- Parameters
-
name | The name of the widget |
◆ slotActorToggled
void ClassGeneralPage::slotActorToggled |
( |
bool |
state | ) |
|
|
slot |
When the draw as actor check box is toggled, the draw as multi instance need to be enabled/disabled. They both can't be available at the same time.
◆ slotStereoTextChanged
void ClassGeneralPage::slotStereoTextChanged |
( |
const QString & |
stereoText | ) |
|
|
slot |
◆ m_artifactTypeWidget
◆ m_docWidget
◆ m_instanceNameWidget
◆ m_nameWidget
◆ m_pAbstractCB
QCheckBox * ClassGeneralPage::m_pAbstractCB |
|
private |
◆ m_packageWidget
◆ m_pDeconCB
QCheckBox * ClassGeneralPage::m_pDeconCB |
|
private |
◆ m_pDrawActorCB
QCheckBox * ClassGeneralPage::m_pDrawActorCB |
|
private |
◆ m_pExecutableCB
QCheckBox* ClassGeneralPage::m_pExecutableCB |
|
private |
◆ m_pInstanceWidget
UMLWidget* ClassGeneralPage::m_pInstanceWidget |
|
private |
◆ m_pMultiCB
QCheckBox* ClassGeneralPage::m_pMultiCB |
|
private |
◆ m_pNameLayout
QGridLayout* ClassGeneralPage::m_pNameLayout |
|
private |
◆ m_pObject
◆ m_pTagL
◆ m_pTagLE
◆ m_pUmldoc
UMLDoc* ClassGeneralPage::m_pUmldoc |
|
private |
◆ m_pWidget
◆ m_stereotypeWidget
◆ m_visibilityEnumWidget
The documentation for this class was generated from the following files: