MythDialogBox Class Reference

#include <mythdialogbox.h>

Inheritance diagram for MythDialogBox:

MythScreenType MythUIType XMLParseBase

List of all members.


Detailed Description

Definition at line 30 of file mythdialogbox.h.


Public Slots

void Select (MythListButtonItem *item)

Signals

void Selected (int selection)

Public Member Functions

 MythDialogBox (const QString &text, MythScreenStack *parent, const char *name)
virtual bool Create (void)
void SetReturnEvent (MythScreenType *retscreen, const QString &resultid)
void AddButton (const QString &title)
virtual bool keyPressEvent (QKeyEvent *event)

Private Member Functions

void SendEvent (int res)

Private Attributes

MythListButtonbuttonList
MythScreenTypem_retScreen
QString m_id
QString m_text

Constructor & Destructor Documentation

MythDialogBox::MythDialogBox ( const QString &  text,
MythScreenStack parent,
const char *  name 
)

Definition at line 10 of file mythdialogbox.cpp.


Member Function Documentation

bool MythDialogBox::Create ( void   )  [virtual]

Reimplemented from MythScreenType.

Definition at line 20 of file mythdialogbox.cpp.

Referenced by MythControls::ChangeView(), MythAppearance::doMenu(), and MythControls::keyPressEvent().

void MythDialogBox::SetReturnEvent ( MythScreenType retscreen,
const QString &  resultid 
)

void MythDialogBox::AddButton ( const QString &  title  ) 

bool MythDialogBox::keyPressEvent ( QKeyEvent *  event  )  [virtual]

Reimplemented from MythUIType.

Definition at line 60 of file mythdialogbox.cpp.

void MythDialogBox::Select ( MythListButtonItem item  )  [slot]

Definition at line 42 of file mythdialogbox.cpp.

Referenced by Create(), and keyPressEvent().

void MythDialogBox::Selected ( int  selection  )  [signal]

void MythDialogBox::SendEvent ( int  res  )  [private]

Definition at line 92 of file mythdialogbox.cpp.

Referenced by keyPressEvent(), and Select().


Member Data Documentation

Definition at line 54 of file mythdialogbox.h.

Referenced by AddButton(), Create(), keyPressEvent(), MythDialogBox(), and Select().

Definition at line 55 of file mythdialogbox.h.

Referenced by MythDialogBox(), SendEvent(), and SetReturnEvent().

QString MythDialogBox::m_id [private]

Definition at line 56 of file mythdialogbox.h.

Referenced by MythDialogBox(), SendEvent(), and SetReturnEvent().

QString MythDialogBox::m_text [private]

Definition at line 58 of file mythdialogbox.h.

Referenced by Create(), and MythDialogBox().


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

Generated on Sat Dec 18 05:16:07 2010 for MythTV by  doxygen 1.5.5