#include <mythdialogbox.h>
Public Member Functions | |
| MythMenu (const QString &text, QObject *retobject, const QString &resultid) | |
| MythMenu (const QString &title, const QString &text, QObject *retobject, const QString &resultid) | |
| ~MythMenu (void) | |
| void | AddItem (const QString &title, QVariant data=0, MythMenu *subMenu=NULL, bool selected=false, bool checked=false) |
| void | AddItem (const QString &title, const char *slot, MythMenu *subMenu=NULL, bool selected=false, bool checked=false) |
| void | SetParent (MythMenu *parent) |
Private Member Functions | |
| void | Init (void) |
Private Attributes | |
| MythMenu * | m_parentMenu |
| QString | m_title |
| QString | m_text |
| QString | m_resultid |
| QObject * | m_retObject |
| QList< MythMenuItem * > | m_menuItems |
| int | m_selectedItem |
Friends | |
| class | MythDialogBox |
Definition at line 73 of file mythdialogbox.h.
| MythMenu::MythMenu | ( | const QString & | text, | |
| QObject * | retobject, | |||
| const QString & | resultid | |||
| ) |
Definition at line 29 of file mythdialogbox.cpp.
| MythMenu::MythMenu | ( | const QString & | title, | |
| const QString & | text, | |||
| QObject * | retobject, | |||
| const QString & | resultid | |||
| ) |
Definition at line 35 of file mythdialogbox.cpp.
| MythMenu::~MythMenu | ( | void | ) |
Definition at line 41 of file mythdialogbox.cpp.
| void MythMenu::AddItem | ( | const QString & | title, | |
| QVariant | data = 0, |
|||
| MythMenu * | subMenu = NULL, |
|||
| bool | selected = false, |
|||
| bool | checked = false | |||
| ) |
Definition at line 74 of file mythdialogbox.cpp.
Referenced by VideoDialog::CreateInfoMenu(), PlaybackBox::createJobMenu(), MusicCommon::createMainMenu(), VideoDialog::CreateManageMenu(), VideoDialog::CreateMetadataBrowseMenu(), MusicCommon::createPlayerMenu(), PlaybackBox::createPlayFromMenu(), MusicCommon::createPlaylistMenu(), MusicCommon::createPlaylistOptionsMenu(), VideoDialog::CreatePlayMenu(), MusicCommon::createQuickPlaylistsMenu(), PlaybackBox::createRecordingMenu(), MusicCommon::createRepeatMenu(), VideoDialog::CreateSettingsMenu(), NetTree::createShowManageMenu(), NetTree::createShowViewMenu(), MusicCommon::createShuffleMenu(), PlaybackBox::createStorageMenu(), PlaybackBox::createTranscodingProfilesMenu(), VideoDialog::CreateViewMenu(), MusicCommon::createViewMenu(), MusicCommon::createVisualizerMenu(), VideoDialog::DisplayMenu(), PlaybackBox::ShowActionPopup(), PlaybackBox::ShowDeletePopup(), PlaybackBox::ShowGroupPopup(), VisualizerView::ShowMenu(), SearchView::ShowMenu(), ProgLister::ShowMenu(), NetTree::showMenu(), ProgLister::ShowOldRecordedMenu(), MusicCommon::showPlaylistOptionsMenu(), and VideoDialog::VideoMenu().
| void MythMenu::AddItem | ( | const QString & | title, | |
| const char * | slot, | |||
| MythMenu * | subMenu = NULL, |
|||
| bool | selected = false, |
|||
| bool | checked = false | |||
| ) |
Definition at line 61 of file mythdialogbox.cpp.
| void MythMenu::SetParent | ( | MythMenu * | parent | ) | [inline] |
Definition at line 87 of file mythdialogbox.h.
Referenced by AddItem().
| void MythMenu::Init | ( | void | ) | [private] |
Definition at line 54 of file mythdialogbox.cpp.
Referenced by MythMenu().
friend class MythDialogBox [friend] |
Definition at line 75 of file mythdialogbox.h.
MythMenu* MythMenu::m_parentMenu [private] |
Definition at line 92 of file mythdialogbox.h.
Referenced by MythDialogBox::keyPressEvent().
QString MythMenu::m_title [private] |
Definition at line 93 of file mythdialogbox.h.
Referenced by Init(), and MythDialogBox::updateMenu().
QString MythMenu::m_text [private] |
Definition at line 94 of file mythdialogbox.h.
Referenced by Init(), and MythDialogBox::updateMenu().
QString MythMenu::m_resultid [private] |
Definition at line 95 of file mythdialogbox.h.
Referenced by Init(), and MythDialogBox::SendEvent().
QObject* MythMenu::m_retObject [private] |
Definition at line 96 of file mythdialogbox.h.
Referenced by MythDialogBox::Select(), and MythDialogBox::SendEvent().
QList<MythMenuItem*> MythMenu::m_menuItems [private] |
Definition at line 97 of file mythdialogbox.h.
Referenced by AddItem(), MythDialogBox::updateMenu(), and ~MythMenu().
int MythMenu::m_selectedItem [private] |
Definition at line 98 of file mythdialogbox.h.
Referenced by AddItem(), MythDialogBox::Select(), and MythDialogBox::updateMenu().
1.6.3