A dialog to select an operation.
More...
#include <selectoperationdialog.h>
Constructs a SelectOperationDialog instance.
- Parameters
-
| parent | The parent to this instance. |
| c | The concept to get the operations from. |
| widget | The LinkWidget with which the operation may be associated on diagram |
| enableAutoIncrement | Flag to enable auto increment checkbox |
| SelectOperationDialog::~SelectOperationDialog |
( |
| ) |
|
| bool SelectOperationDialog::apply |
( |
| ) |
|
|
virtual |
apply changes to the related instamces
- Returns
- true - success
-
false - failure
Reimplemented from SinglePageDialogBase.
| bool SelectOperationDialog::autoIncrementSequence |
( |
| ) |
|
Return the flag for auto increment sequence numbering.
| QString SelectOperationDialog::getOpText |
( |
| ) |
|
Returns the operation to display.
- Returns
- The operation to display.
| QString SelectOperationDialog::getSeqNumber |
( |
| ) |
|
Returns the sequence number for the operation.
- Returns
- Returns the sequence number for the operation.
| 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
| void SelectOperationDialog::setAutoIncrementSequence |
( |
bool |
state | ) |
|
Set the flag for auto increment sequence numbering.
- Parameters
-
| state | the state of the flag |
| 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.
| void SelectOperationDialog::setCustomOp |
( |
const QString & |
op | ) |
|
Set the custom operation text.
- Parameters
-
| op | The operation to set as the custom operation. |
| void SelectOperationDialog::setSeqNumber |
( |
const QString & |
num | ) |
|
Set the sequence number text.
- Parameters
-
| num | The number to set the sequence to. |
| void SelectOperationDialog::setupDialog |
( |
| ) |
|
|
protected |
| void SelectOperationDialog::setupOperationsList |
( |
| ) |
|
|
protected |
Setup dialog operations list.
| void SelectOperationDialog::slotAutoIncrementChecked |
( |
bool |
state | ) |
|
|
slot |
Handle auto increment checkbox click.
| void SelectOperationDialog::slotIndexChanged |
( |
int |
index | ) |
|
|
slot |
Handle combox box changes.
| void SelectOperationDialog::slotNewOperation |
( |
| ) |
|
|
slot |
Handle new operation button click.
| void SelectOperationDialog::slotTextChanged |
( |
const QString & |
text | ) |
|
|
slot |
Handle custom line edit changes.
| const int SelectOperationDialog::CUSTOM = 1 |
|
staticprivate |
| bool SelectOperationDialog::m_enableAutoIncrement |
|
private |
| int SelectOperationDialog::m_id |
|
private |
takes on the value OP or CUSTOM according to what the user selected
| QPushButton* SelectOperationDialog::m_newOperationButton |
|
private |
| int SelectOperationDialog::m_nOpCount |
|
private |
| QLabel* SelectOperationDialog::m_pCustomRB |
|
private |
| QCheckBox* SelectOperationDialog::m_pOpAS |
|
private |
| KComboBox* SelectOperationDialog::m_pOpCB |
|
private |
| QGroupBox* SelectOperationDialog::m_pOpGB |
|
private |
| QLineEdit* SelectOperationDialog::m_pOpLE |
|
private |
| QLabel * SelectOperationDialog::m_pOpRB |
|
private |
| QLabel* SelectOperationDialog::m_pSeqL |
|
private |
| QLineEdit * SelectOperationDialog::m_pSeqLE |
|
private |
| UMLView* SelectOperationDialog::m_pView |
|
private |
| QString SelectOperationDialog::m_Text |
|
private |
| const int SelectOperationDialog::OP = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: