Classes | Public Member Functions | Protected Types | Protected Slots | Protected Member Functions | Protected Attributes

NextLabelsDialog Class Reference

#include <transitionDialogs.h>

Collaboration diagram for NextLabelsDialog:

List of all members.

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
Editorm_pEditor
Transitionm_pTransition

Detailed Description

Definition at line 144 of file transitionDialogs.h.


Member Enumeration Documentation

Enumerator:
eAdd 
eEdit 

Definition at line 159 of file transitionDialogs.h.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:


Member Function Documentation

void NextLabelsDialog::addLabel (  )  [protected, slot]
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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void NextLabelsDialog::selectionChanged (  )  [protected, slot]

Definition at line 636 of file transitionDialogs.cpp.

References btnDelete, btnEdit, DBGLOG, and labelList.

Referenced by NextLabelsDialog().

Here is the caller graph for this function:


Member Data Documentation

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 151 of file transitionDialogs.h.

Referenced by addLabel(), deleteLabel(), and editLabel().

Definition at line 152 of file transitionDialogs.h.

Referenced by addLabel(), deleteLabel(), editLabel(), and NextLabelsDialog().


The documentation for this class was generated from the following files: