umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <selectdiagramwidget.h>
Public Member Functions | |
SelectDiagramWidget (const QString &title, QWidget *parent=nullptr) | |
void | setupWidget (Uml::DiagramType::Enum type, const QString ¤tName, const QString &excludeName, bool withNewEntry=true) |
QString | currentText () |
Uml::ID::Type | currentID () |
![]() | |
ComboBoxWidgetBase (const QString &title, const QString &postLabel=QString(), QWidget *parent=nullptr) | |
void | addToLayout (QGridLayout *layout, int row, int startColumn=0) |
KComboBox * | editField () |
Additional Inherited Members | |
![]() | |
QLabel * | m_label |
QLabel * | m_postLabel |
KComboBox * | m_editField |
This widget provides selecting a diagram from the list of currently available diagrams
|
explicit |
constructor
title | title shown as label |
parent | parent widget |
Uml::ID::Type SelectDiagramWidget::currentID | ( | ) |
Return the id of the currently selected diagram
QString SelectDiagramWidget::currentText | ( | ) |
Return current text
void SelectDiagramWidget::setupWidget | ( | Uml::DiagramType::Enum | type, |
const QString & | currentName, | ||
const QString & | excludeName, | ||
bool | withNewEntry = true |
||
) |
setup widget woth diagram type, currently used diagram, diagram name to exclude and an option to choose a new diagram
type | |
currentName | |
excludeName | |
withNewEntry |