#include <transitionDialogs.h>
Public Types | |
enum | EMode { eAdd, eEdit } |
Public Member Functions | |
TransitionDialog (EMode mode=eAdd, QWidget *parent=0) | |
int | getArcAngle () const |
int | getArcAngleB () const |
QString | getLabel () const |
float | getLabelPos () const |
float | getNCurv () const |
int | getType () const |
bool | isDimmed () const |
bool | isLeftOriented () const |
bool | isRadius () const |
void | setArcAngle (int arcA) |
void | setArcAngleB (int arcAB) |
void | setDimmed (bool dimmed) |
void | setLabelPos (float lp) |
void | setName (const QString &name) |
void | setNCurv (float ncurv) |
void | setRadius (bool radius) |
void | setTrOrientation (bool leftOriented) |
void | setType (int type) |
Protected Slots | |
void | showEdits (int typ) |
Protected Attributes | |
QCheckBox * | checkDimmed |
QComboBox * | comboOrientation |
QComboBox * | comboType |
QLineEdit * | edtArcAngle |
QLineEdit * | edtArcAngleB |
QLineEdit * | edtNCurv |
QLineEdit * | lineLabelPos |
Private Attributes | |
EMode | m_mode |
holds selected mode |
Definition at line 17 of file transitionDialogs.h.
Definition at line 21 of file transitionDialogs.h.
TransitionDialog::TransitionDialog | ( | EMode | mode = eAdd , |
|
QWidget * | parent = 0 | |||
) |
Definition at line 28 of file transitionDialogs.cpp.
References checkDimmed, comboOrientation, comboType, DEF_EDGE_LAB_POS, eAdd, edtArcAngle, edtArcAngleB, NameAcceptDialog::edtLabel, edtNCurv, TransitionManager::getInstance(), TransitionManager::getTwoStatesTransitionTypeNameList(), lineLabelPos, NameAcceptDialog::myAccept(), and showEdits().
int TransitionDialog::getArcAngle | ( | ) | const |
Definition at line 147 of file transitionDialogs.cpp.
References edtArcAngle.
Referenced by Editor::editTransition(), and Editor::insertTransition().
int TransitionDialog::getArcAngleB | ( | ) | const |
Definition at line 152 of file transitionDialogs.cpp.
References edtArcAngleB.
Referenced by Editor::editTransition(), and Editor::insertTransition().
QString TransitionDialog::getLabel | ( | ) | const |
Definition at line 122 of file transitionDialogs.cpp.
References NameAcceptDialog::edtLabel.
Referenced by TransitionManager::createTwoStatesTransition(), and Editor::editTransition().
float TransitionDialog::getLabelPos | ( | ) | const |
Definition at line 127 of file transitionDialogs.cpp.
References lineLabelPos.
Referenced by Editor::editTransition(), and Editor::insertTransition().
float TransitionDialog::getNCurv | ( | ) | const |
Definition at line 157 of file transitionDialogs.cpp.
References edtNCurv.
Referenced by Editor::editTransition(), and Editor::insertTransition().
int TransitionDialog::getType | ( | ) | const |
Definition at line 132 of file transitionDialogs.cpp.
References comboType.
Referenced by TransitionManager::createTwoStatesTransition(), and Editor::editTransition().
bool TransitionDialog::isDimmed | ( | ) | const |
Definition at line 142 of file transitionDialogs.cpp.
References checkDimmed.
Referenced by TransitionManager::createTwoStatesTransition(), and Editor::editTransition().
bool TransitionDialog::isLeftOriented | ( | ) | const |
Definition at line 137 of file transitionDialogs.cpp.
References comboOrientation.
Referenced by TransitionManager::createTwoStatesTransition(), and Editor::editTransition().
bool TransitionDialog::isRadius | ( | ) | const |
void TransitionDialog::setArcAngle | ( | int | arcA | ) |
Definition at line 188 of file transitionDialogs.cpp.
References edtArcAngle.
Referenced by Editor::editTransition().
void TransitionDialog::setArcAngleB | ( | int | arcAB | ) |
Definition at line 193 of file transitionDialogs.cpp.
References edtArcAngleB.
Referenced by Editor::editTransition().
void TransitionDialog::setDimmed | ( | bool | dimmed | ) |
Definition at line 183 of file transitionDialogs.cpp.
References checkDimmed.
Referenced by Editor::editTransition().
void TransitionDialog::setLabelPos | ( | float | lp | ) |
Definition at line 167 of file transitionDialogs.cpp.
References lineLabelPos.
Referenced by Editor::editTransition().
void TransitionDialog::setName | ( | const QString & | name | ) |
Definition at line 162 of file transitionDialogs.cpp.
References NameAcceptDialog::edtLabel.
Referenced by Editor::editTransition().
void TransitionDialog::setNCurv | ( | float | ncurv | ) |
Definition at line 198 of file transitionDialogs.cpp.
References edtNCurv.
Referenced by Editor::editTransition().
void TransitionDialog::setRadius | ( | bool | radius | ) |
void TransitionDialog::setTrOrientation | ( | bool | leftOriented | ) |
Definition at line 177 of file transitionDialogs.cpp.
References comboOrientation, and DBGLOG.
Referenced by Editor::editTransition().
void TransitionDialog::setType | ( | int | type | ) |
Definition at line 172 of file transitionDialogs.cpp.
References comboType.
Referenced by Editor::editTransition().
void TransitionDialog::showEdits | ( | int | typ | ) | [protected, slot] |
Definition at line 203 of file transitionDialogs.cpp.
References TwoStatesTransitionProperties::defArcAngleA, TwoStatesTransitionProperties::defArcAngleB, TwoStatesTransitionProperties::defLabelPos, TwoStatesTransitionProperties::defNCurve, eAdd, edtArcAngle, edtArcAngleB, NameAcceptDialog::edtLabel, edtNCurv, TransitionManager::getInstance(), TransitionManager::getTwoStatesTransitionProperties(), TwoStatesTransitionProperties::hasArcAngleA, TwoStatesTransitionProperties::hasArcAngleB, TwoStatesTransitionProperties::hasLabel, TwoStatesTransitionProperties::hasLabelPos, TwoStatesTransitionProperties::hasNCurve, lineLabelPos, and m_mode.
Referenced by TransitionDialog().
QCheckBox* TransitionDialog::checkDimmed [protected] |
Definition at line 47 of file transitionDialogs.h.
Referenced by isDimmed(), setDimmed(), and TransitionDialog().
QComboBox* TransitionDialog::comboOrientation [protected] |
Definition at line 49 of file transitionDialogs.h.
Referenced by isLeftOriented(), setTrOrientation(), and TransitionDialog().
QComboBox* TransitionDialog::comboType [protected] |
Definition at line 48 of file transitionDialogs.h.
Referenced by getType(), setType(), and TransitionDialog().
QLineEdit* TransitionDialog::edtArcAngle [protected] |
Definition at line 50 of file transitionDialogs.h.
Referenced by getArcAngle(), setArcAngle(), showEdits(), and TransitionDialog().
QLineEdit* TransitionDialog::edtArcAngleB [protected] |
Definition at line 51 of file transitionDialogs.h.
Referenced by getArcAngleB(), setArcAngleB(), showEdits(), and TransitionDialog().
QLineEdit* TransitionDialog::edtNCurv [protected] |
Definition at line 52 of file transitionDialogs.h.
Referenced by getNCurv(), setNCurv(), showEdits(), and TransitionDialog().
QLineEdit* TransitionDialog::lineLabelPos [protected] |
Definition at line 46 of file transitionDialogs.h.
Referenced by getLabelPos(), setLabelPos(), showEdits(), and TransitionDialog().
EMode TransitionDialog::m_mode [private] |