umbrello/umbrello
#include <selectoperationdialog.h>
Public Slots | |
void | slotAutoIncrementChecked (bool state) |
void | slotIndexChanged (int index) |
void | slotNewOperation () |
void | slotTextChanged (const QString &text) |
Public Member Functions | |
SelectOperationDialog (UMLView *parent, UMLClassifier *c, bool enableAutoIncrement=true) | |
~SelectOperationDialog () | |
bool | autoIncrementSequence () |
QString | getOpText () |
QString | getSeqNumber () |
bool | isClassOp () const |
void | setAutoIncrementSequence (bool state) |
bool | setClassOp (const QString &op) |
void | setCustomOp (const QString &op) |
void | setSeqNumber (const QString &num) |
Protected Member Functions | |
void | setupOperationsList () |
Detailed Description
A dialog used to select an operation.
A dialog to select an operation.
Definition at line 31 of file selectoperationdialog.h.
Constructor & Destructor Documentation
SelectOperationDialog::SelectOperationDialog | ( | UMLView * | parent, |
UMLClassifier * | c, | ||
bool | enableAutoIncrement = true |
||
) |
Constructs a SelectOperationDialog instance.
- Parameters
-
parent The parent to this instance. c The concept to get the operations from. enableAutoIncrement Flag to enable auto increment checkbox
Definition at line 50 of file selectoperationdialog.cpp.
SelectOperationDialog::~SelectOperationDialog | ( | ) |
Standard destructor.
Definition at line 106 of file selectoperationdialog.cpp.
Member Function Documentation
bool SelectOperationDialog::autoIncrementSequence | ( | ) |
Definition at line 257 of file selectoperationdialog.cpp.
QString SelectOperationDialog::getOpText | ( | ) |
Returns the operation to display.
- Returns
- The operation to display.
Definition at line 115 of file selectoperationdialog.cpp.
QString SelectOperationDialog::getSeqNumber | ( | ) |
Returns the sequence number for the operation.
- Returns
- Returns the sequence number for the operation.
Definition at line 233 of file selectoperationdialog.cpp.
bool SelectOperationDialog::isClassOp | ( | ) | const |
Return whether the user selected a class operation or a custom operation.
- Returns
- True if user selected a class operation, false if user selected a custom operation
Definition at line 130 of file selectoperationdialog.cpp.
void SelectOperationDialog::setAutoIncrementSequence | ( | bool | state | ) |
Definition at line 250 of file selectoperationdialog.cpp.
bool SelectOperationDialog::setClassOp | ( | const QString & | op | ) |
Set the class operation text.
- Parameters
-
op The operation to set as the class operation.
- Returns
- false if no such operation exists.
Definition at line 198 of file selectoperationdialog.cpp.
void SelectOperationDialog::setCustomOp | ( | const QString & | op | ) |
Set the custom operation text.
- Parameters
-
op The operation to set as the custom operation.
Definition at line 140 of file selectoperationdialog.cpp.
void SelectOperationDialog::setSeqNumber | ( | const QString & | num | ) |
Set the sequence number text.
- Parameters
-
num The number to set the sequence to.
Definition at line 243 of file selectoperationdialog.cpp.
|
protected |
setup dialog operations list
Definition at line 213 of file selectoperationdialog.cpp.
|
slot |
handle auto increment checkbox click
Definition at line 149 of file selectoperationdialog.cpp.
|
slot |
Handle combox box changes.
Definition at line 171 of file selectoperationdialog.cpp.
|
slot |
handle new operation button click
Definition at line 158 of file selectoperationdialog.cpp.
|
slot |
Handle custom line edit changes.
Definition at line 183 of file selectoperationdialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.