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