umbrello/umbrello
#include <selectopdlg.h>
Public Slots | |
void | slotAutoIncrementChecked (bool state) |
void | slotIndexChanged (int index) |
void | slotNewOperation () |
void | slotTextChanged (const QString &text) |
Public Member Functions | |
SelectOpDlg (QWidget *parent, UMLClassifier *c, bool enableAutoIncrement=true) | |
~SelectOpDlg () | |
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 32 of file selectopdlg.h.
Constructor & Destructor Documentation
SelectOpDlg::SelectOpDlg | ( | QWidget * | parent, |
UMLClassifier * | c, | ||
bool | enableAutoIncrement = true |
||
) |
Constructs a SelectOpDlg 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 49 of file selectopdlg.cpp.
SelectOpDlg::~SelectOpDlg | ( | ) |
Standard destructor.
Definition at line 104 of file selectopdlg.cpp.
Member Function Documentation
bool SelectOpDlg::autoIncrementSequence | ( | ) |
Definition at line 250 of file selectopdlg.cpp.
QString SelectOpDlg::getOpText | ( | ) |
Returns the operation to display.
- Returns
- The operation to display.
Definition at line 113 of file selectopdlg.cpp.
QString SelectOpDlg::getSeqNumber | ( | ) |
Returns the sequence number for the operation.
- Returns
- Returns the sequence number for the operation.
Definition at line 226 of file selectopdlg.cpp.
bool SelectOpDlg::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 128 of file selectopdlg.cpp.
void SelectOpDlg::setAutoIncrementSequence | ( | bool | state | ) |
Definition at line 243 of file selectopdlg.cpp.
bool SelectOpDlg::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 193 of file selectopdlg.cpp.
void SelectOpDlg::setCustomOp | ( | const QString & | op | ) |
Set the custom operation text.
- Parameters
-
op The operation to set as the custom operation.
Definition at line 138 of file selectopdlg.cpp.
void SelectOpDlg::setSeqNumber | ( | const QString & | num | ) |
Set the sequence number text.
- Parameters
-
num The number to set the sequence to.
Definition at line 236 of file selectopdlg.cpp.
|
protected |
setup dialog operations list
Definition at line 208 of file selectopdlg.cpp.
|
slot |
handle auto increment checkbox click
Definition at line 147 of file selectopdlg.cpp.
|
slot |
Handle combox box changes.
Definition at line 168 of file selectopdlg.cpp.
|
slot |
handle new operation button click
Definition at line 156 of file selectopdlg.cpp.
|
slot |
Handle custom line edit changes.
Definition at line 179 of file selectopdlg.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.