#include <transitionDialogs.h>
Classes | |
class | NextLabelsEditDialog |
Public Member Functions | |
NextLabelsDialog (Editor *editor, Transition *tr, QWidget *parent=0) | |
Protected Types | |
enum | EActionType { eAdd, eEdit } |
Protected Slots | |
void | addLabel () |
void | deleteLabel () |
void | editLabel () |
void | selectionChanged () |
Protected Member Functions | |
QString | getListLine (LabelX *label) |
Protected Attributes | |
QPushButton * | btnAdd |
QPushButton * | btnDelete |
QPushButton * | btnEdit |
QListWidget * | labelList |
Editor * | m_pEditor |
Transition * | m_pTransition |
Definition at line 144 of file transitionDialogs.h.
enum NextLabelsDialog::EActionType [protected] |
Definition at line 159 of file transitionDialogs.h.
NextLabelsDialog::NextLabelsDialog | ( | Editor * | editor, | |
Transition * | tr, | |||
QWidget * | parent = 0 | |||
) |
Definition at line 593 of file transitionDialogs.cpp.
References addLabel(), btnAdd, btnDelete, btnEdit, deleteLabel(), editLabel(), getListLine(), labelList, m_pTransition, Transition::nextLabels, and selectionChanged().
void NextLabelsDialog::addLabel | ( | ) | [protected, slot] |
Definition at line 653 of file transitionDialogs.cpp.
References Editor::addToUndoStack(), NextLabelsDialog::NextLabelsEditDialog::checkLeft, eAdd, NextLabelsDialog::NextLabelsEditDialog::edtLabel, NextLabelsDialog::NextLabelsEditDialog::edtPos, Transition::getLabelColor(), getListLine(), labelList, Transition::m_labelFontSize, m_pEditor, and m_pTransition.
Referenced by NextLabelsDialog().
void NextLabelsDialog::deleteLabel | ( | ) | [protected, slot] |
Definition at line 683 of file transitionDialogs.cpp.
References Editor::addToUndoStack(), labelList, m_pEditor, m_pTransition, and Transition::nextLabels.
Referenced by NextLabelsDialog().
void NextLabelsDialog::editLabel | ( | ) | [protected, slot] |
Definition at line 666 of file transitionDialogs.cpp.
References Editor::addToUndoStack(), eEdit, getListLine(), labelList, LabelX::left(), m_pEditor, m_pTransition, Transition::nextLabels, LabelX::posParam(), and LabelX::text().
Referenced by NextLabelsDialog().
QString NextLabelsDialog::getListLine | ( | LabelX * | label | ) | [protected] |
Definition at line 645 of file transitionDialogs.cpp.
References LabelX::left(), LabelX::posParam(), and LabelX::text().
Referenced by addLabel(), editLabel(), and NextLabelsDialog().
void NextLabelsDialog::selectionChanged | ( | ) | [protected, slot] |
Definition at line 636 of file transitionDialogs.cpp.
References btnDelete, btnEdit, DBGLOG, and labelList.
Referenced by NextLabelsDialog().
QPushButton* NextLabelsDialog::btnAdd [protected] |
Definition at line 155 of file transitionDialogs.h.
Referenced by NextLabelsDialog().
QPushButton* NextLabelsDialog::btnDelete [protected] |
Definition at line 157 of file transitionDialogs.h.
Referenced by NextLabelsDialog(), and selectionChanged().
QPushButton* NextLabelsDialog::btnEdit [protected] |
Definition at line 156 of file transitionDialogs.h.
Referenced by NextLabelsDialog(), and selectionChanged().
QListWidget* NextLabelsDialog::labelList [protected] |
Definition at line 154 of file transitionDialogs.h.
Referenced by addLabel(), deleteLabel(), editLabel(), NextLabelsDialog(), and selectionChanged().
Editor* NextLabelsDialog::m_pEditor [protected] |
Definition at line 151 of file transitionDialogs.h.
Referenced by addLabel(), deleteLabel(), and editLabel().
Transition* NextLabelsDialog::m_pTransition [protected] |
Definition at line 152 of file transitionDialogs.h.
Referenced by addLabel(), deleteLabel(), editLabel(), and NextLabelsDialog().