|
MythTV master
|
#include <libmythui/mythuibuttonlist.h>
Public Types | |
| enum | CheckState : std::int8_t { CantCheck = -1 , NotChecked = 0 , HalfChecked = 1 , FullChecked = 2 } |
Public Member Functions | |
| MythUIButtonListItem (MythUIButtonList *lbtype, QString text, QString image="", bool checkable=false, CheckState state=CantCheck, bool showArrow=false, int listPosition=-1) | |
| MythUIButtonListItem (MythUIButtonList *lbtype, const QString &text, QVariant data, int listPosition=-1) | |
| template<typename SLOT > requires is_nonconst_member_func_v<SLOT> | |
| MythUIButtonListItem (MythUIButtonList *lbtype, const QString &text, SLOT slot, int listPosition=-1) | |
| template<typename SLOT > requires is_const_member_func_v<SLOT> | |
| MythUIButtonListItem (MythUIButtonList *lbtype, const QString &text, SLOT slot, int listPosition=-1) | |
| virtual | ~MythUIButtonListItem () |
| MythUIButtonList * | parent () const |
| void | SetText (const QString &text, const QString &name="", const QString &state="") |
| void | SetTextFromMap (const InfoMap &infoMap, const QString &state="") |
| void | SetTextFromMap (const QMap< QString, TextProperties > &stringMap) |
| void | SetTextCb (muibCbFn fn, void *data) |
| QString | GetText (const QString &name="") const |
| TextProperties | GetTextProp (const QString &name="") const |
| bool | FindText (const QString &searchStr, const QString &fieldList="**ALL**", bool startsWith=false) const |
| void | SetFontState (const QString &state, const QString &name="") |
| void | SetImage (MythImage *image, const QString &name="") |
| Sets an image directly, should only be used in special circumstances since it bypasses the cache. More... | |
| MythImage * | GetImage (const QString &name="") |
| Gets a MythImage which has been assigned to this button item, as with SetImage() it should only be used in special circumstances since it bypasses the cache. More... | |
| bool | HasImage (const QString &name="") |
| Returns true when the image exists. More... | |
| void | SetImage (const QString &filename, const QString &name="", bool force_reload=false) |
| void | SetImageFromMap (const InfoMap &imageMap) |
| void | SetImageCb (muibCbFn fn, void *data) |
| QString | GetImageFilename (const QString &name="") const |
| void | SetProgress1 (int start, int total, int used) |
| void | SetProgress2 (int start, int total, int used) |
| void | DisplayState (const QString &state, const QString &name) |
| void | SetStatesFromMap (const InfoMap &stateMap) |
| void | SetStateCb (muibCbFn fn, void *data) |
| QString | GetState (const QString &name) |
| bool | isVisible () const |
| void | setVisible (bool flag) |
| bool | checkable () const |
| void | setCheckable (bool flag) |
| bool | isEnabled () const |
| void | setEnabled (bool flag) |
| CheckState | state () const |
| void | setChecked (CheckState state) |
| void | setDrawArrow (bool flag) |
| void | SetData (QVariant data) |
| QVariant | GetData () |
| bool | MoveUpDown (bool flag) |
| virtual void | SetToRealButton (MythUIStateType *button, bool selected) |
Protected Attributes | |
| MythUIButtonList * | m_parent {nullptr} |
| QString | m_text |
| QString | m_fontState |
| MythImage * | m_image {nullptr} |
| QString | m_imageFilename |
| bool | m_checkable {false} |
| CheckState | m_state {CantCheck} |
| QVariant | m_data {0} |
| bool | m_showArrow {false} |
| bool | m_isVisible {false} |
| bool | m_enabled {true} |
| bool | m_debugme {false} |
| ProgressInfo | m_progress1 |
| ProgressInfo | m_progress2 |
| QMap< QString, TextProperties > | m_strings |
| QMap< QString, MythImage * > | m_images |
| InfoMap | m_imageFilenames |
| InfoMap | m_states |
| muibCbInfo | m_textCb |
| muibCbInfo | m_imageCb |
| muibCbInfo | m_stateCb |
Private Member Functions | |
| void | DoButtonText (MythUIText *buttontext) |
| void | DoButtonImage (MythUIImage *buttonimage) |
| void | DoButtonArrow (MythUIImage *buttonarrow) const |
| void | DoButtonCheck (MythUIStateType *buttoncheck) |
| void | DoButtonProgress1 (MythUIProgressBar *buttonprogress) const |
| void | DoButtonProgress2 (MythUIProgressBar *buttonprogress) const |
| void | DoButtonLookupText (MythUIText *text, const TextProperties &textprop) |
Static Private Member Functions | |
| static void | DoButtonLookupFilename (MythUIImage *image, const QString &filename) |
| static void | DoButtonLookupImage (MythUIImage *uiimage, MythImage *image) |
| static void | DoButtonLookupState (MythUIStateType *statetype, const QString &name) |
Friends | |
| class | MythUIButtonList |
| class | MythGenericTree |
Definition at line 42 of file mythuibuttonlist.h.
| enum MythUIButtonListItem::CheckState : std::int8_t |
| Enumerator | |
|---|---|
| CantCheck | |
| NotChecked | |
| HalfChecked | |
| FullChecked | |
Definition at line 45 of file mythuibuttonlist.h.
| MythUIButtonListItem::MythUIButtonListItem | ( | MythUIButtonList * | lbtype, |
| QString | text, | ||
| QString | image = "", |
||
| bool | checkable = false, |
||
| CheckState | state = CantCheck, |
||
| bool | showArrow = false, |
||
| int | listPosition = -1 |
||
| ) |
Definition at line 3284 of file mythuibuttonlist.cpp.
| MythUIButtonListItem::MythUIButtonListItem | ( | MythUIButtonList * | lbtype, |
| const QString & | text, | ||
| QVariant | data, | ||
| int | listPosition = -1 |
||
| ) |
Definition at line 3301 of file mythuibuttonlist.cpp.
|
inline |
Definition at line 59 of file mythuibuttonlist.h.
|
inline |
Definition at line 64 of file mythuibuttonlist.h.
|
virtual |
Definition at line 3324 of file mythuibuttonlist.cpp.
| bool MythUIButtonListItem::checkable | ( | ) | const |
Definition at line 3686 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonList::updateLCD().
| void MythUIButtonListItem::DisplayState | ( | const QString & | state, |
| const QString & | name | ||
| ) |
Definition at line 3635 of file mythuibuttonlist.cpp.
Referenced by SmartPLOrderByDialog::ascendingPressed(), MusicCommon::customEvent(), SearchView::customEvent(), StreamView::customEvent(), ProgramRecPriority::deactivate(), SmartPLOrderByDialog::descendingPressed(), PlaybackBox::doClearPlaylist(), ProgLister::HandleVisible(), ThemeChooser::Init(), MythBurn::itemClicked(), PlaybackBox::ItemLoaded(), PlaybackBox::ItemVisible(), MusicCommon::keyPressEvent(), MythBurn::keyPressEvent(), MusicCommon::playlistItemClicked(), MusicCommon::playlistItemVisible(), MusicCommon::restorePosition(), PlaybackBox::SetItemIcons(), RecordingProfile::Name::setValue(), WebPage::slotLoadFinished(), WebPage::slotLoadStarted(), PlaybackBox::toggleAutoExpire(), PlaybackBox::togglePlayListItem(), PlaybackBox::togglePreserveEpisode(), MythBurn::toggleUseCutlist(), PlaybackBox::toggleWatched(), VideoDialog::ToggleWatched(), PlaylistEditorView::treeItemVisible(), MythUITextEditSetting::updateButton(), MythUIFileBrowserSetting::updateButton(), MythUIComboBoxSetting::updateButton(), MythUISpinBoxSetting::updateButton(), MythUICheckBoxSetting::updateButton(), GroupSetting::updateButton(), GalleryThumbView::UpdateImageItem(), NetTree::UpdateItem(), VideoDialog::UpdateItem(), PlaybackBox::UpdateUIListItem(), ViewScheduled::UpdateUIListItem(), PlaybackBox::UpdateUILists(), and VideoDialog::UpdateWatchedState().
|
private |
Definition at line 3774 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
private |
Definition at line 3781 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
private |
Definition at line 3758 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
staticprivate |
Definition at line 3864 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
staticprivate |
Definition at line 3880 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
staticprivate |
Definition at line 3891 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
private |
Definition at line 3815 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
private |
Definition at line 3799 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
private |
Definition at line 3807 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
private |
Definition at line 3749 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
| bool MythUIButtonListItem::FindText | ( | const QString & | searchStr, |
| const QString & | fieldList = "**ALL**", |
||
| bool | startsWith = false |
||
| ) | const |
Definition at line 3420 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonList::DoFind().
| QVariant MythUIButtonListItem::GetData | ( | void | ) |
Definition at line 3737 of file mythuibuttonlist.cpp.
Referenced by BackendSelection::Accept(), GroupSelector::AcceptItem(), CustomPriority::addClicked(), MythUISpinBox::AddSelection(), StreamView::addStream(), MythThemedMenu::buttonAction(), ViewScheduled::ChangeGroup(), MythBurn::changeProfile(), ChannelRecPriority::changeRecPriority(), ProgramRecPriority::changeRecPriority(), ChannelEditor::channelIconImport(), CustomEdit::clauseChanged(), CustomEdit::clauseClicked(), LocationDialog::clearResults(), StatusBox::clicked(), ImportCoverArtDialog::copyPressed(), EditAlbumartDialog::copySelectedImageToTag(), MythBurn::createConfigFile(), SmartPlaylistEditor::criteriaChanged(), EditAlbumartDialog::customEvent(), LyricsView::customEvent(), MusicCommon::customEvent(), SearchView::customEvent(), StreamView::customEvent(), ScreenSetup::customEvent(), MythThemedMenu::customEvent(), StandardSettingDialog::customEvent(), GalleryThumbView::customEvent(), ChannelEditor::customEvent(), ProgramRecPriority::deactivate(), StandardSettingDialog::deleteEntry(), StandardSettingDialog::deleteEntryConfirmed(), MythNews::deleteNewsSite(), ViewScheduled::deleteRule(), ScreenSetup::deleteScreen(), PlaybackBox::deleteSelected(), SmartPlaylistEditor::doDeleteCriteria(), RSSEditor::DoDeleteSite(), ScreenSetup::doListSelect(), EditAlbumartDialog::doRemoveImageFromTag(), StreamView::doRemoveStream(), SchedOptMixin::DupMethodChanged(), ProgramRecPriority::edit(), ChannelEditor::edit(), SmartPlaylistEditor::editCriteria(), MythBurn::editDetails(), StreamView::editStream(), MythBurn::editThumbnails(), ZMEvents::eventVisible(), FileAssocDialogPrivate::GetCurrentFA(), PlaybackBox::GetCurrentProgram(), ProgramRecPriority::GetCurrentProgram(), ViewScheduled::GetCurrentProgram(), MythUIButtonList::GetDataValue(), anonymous_namespace{nettree.cpp}::GetNodePtrFromButton(), anonymous_namespace{videodlg.cpp}::GetNodePtrFromButton(), EditAlbumartDialog::gridItemChanged(), MythUIButtonTree::handleClick(), PlaybackBox::HandleRecordingRemoveEvent(), MythUIButtonTree::handleSelect(), ProgLister::HandleSelected(), ProgLister::HandleVisible(), ThemeChooser::itemChanged(), FileSelector::itemClicked(), LocationDialog::itemClicked(), GalleryThumbView::ItemClicked(), PlaybackBox::ItemLoaded(), ArchiveFileSelector::itemSelected(), LocationDialog::itemSelected(), PlaybackBox::ItemVisible(), MusicCommon::keyPressEvent(), BookmarkManager::keyPressEvent(), PlaylistEditorView::keyPressEvent(), SearchView::keyPressEvent(), StandardSettingDialog::keyPressEvent(), PlaybackBox::keyPressEvent(), StandardSettingDialog::LevelDown(), ViewScheduled::LoadList(), StoreOptMixin::MaxEpisodesChanged(), ChannelEditor::menu(), ImportIconsWizard::menuSelection(), PlaybackSettingsDialog::MoveProfileItemDown(), PlaybackSettingsDialog::MoveProfileItemUp(), FileSelector::OKPressed(), MythUIFileBrowser::OKPressed(), FileAssocDialog::OnDeletePressed(), MythUIFileBrowser::PathClicked(), MythUIFileBrowser::PathSelected(), PlaybackBox::PlayFromAnyMark(), PlaybackBox::PlayFromBeginning(), PlaybackBox::PlayFromBookmark(), PlaybackBox::PlayFromLastPlayPos(), MusicCommon::playlistItemVisible(), MythNews::processAndShowNews(), MythBurn::profileChanged(), ProfileDialog::profileChanged(), EditMetadataDialog::ratingSpinChanged(), CustomEdit::recordClicked(), BookmarkManager::ReloadBookmarks(), ProgramRecPriority::remove(), MythUIButtonTree::RemoveItem(), ExportNative::removeItem(), MythBurn::removeItem(), ProgramRecPriority::RemoveItemFromList(), EditAlbumartDialog::removeSelectedImageFromTag(), StreamView::removeStream(), restore_position(), SourceSetup::retrieveSpinboxUpdate(), CustomEdit::ruleChanged(), CustomPriority::ruleChanged(), ScheduleEditor::RuleChanged(), LanguageSelection::Save(), FilterOptMixin::Save(), AudioSetupWizard::save(), save_position(), ThemeChooser::saveAndReload(), MythBurn::saveConfiguration(), ScreenSetup::saveData(), SourceSetup::saveData(), PlaybackBox::saveRecMetadata(), ProgramRecPriority::scheduleChanged(), MythDialogBox::Select(), RawSettingsEditor::selectionChanged(), ImageSearchResultsDialog::sendResult(), MetadataResultsDialog::sendResult(), VideoFilterDialog::SetBrowse(), MythThemedMenu::setButtonActive(), VideoFilterDialog::SetCast(), EditMetadataDialog::SetCategory(), VideoFilterDialog::SetCategory(), EditMetadataDialog::SetChild(), VideoFilterDialog::setCountry(), VideoFilterDialog::SetCoverFile(), SelectDestination::setDestination(), VideoFilterDialog::setGenre(), StatusBox::setHelpText(), VideoFilterDialog::SetInetRef(), EditMetadataDialog::SetLevel(), LyricsView::setLyricTime(), VideoFilterDialog::setOrderby(), VideoFilterDialog::setRunTime(), ChannelEditor::setSourceID(), StandardSettingDialog::settingClicked(), StandardSettingDialog::settingSelected(), GalleryThumbView::SetUiSelection(), VideoFilterDialog::SetUserRating(), VideoFilterDialog::SetWatched(), VideoFilterDialog::SetYear(), PlaybackBox::ShowActionPopup(), BookmarkManager::ShowEditDialog(), MythNews::ShowEditDialog(), ZMConsole::showEditFunctionPopup(), Ripper::showEditMetadataDialog(), EditAlbumartDialog::showMenu(), ScheduleEditor::showMenu(), MythBurn::ShowMenu(), SearchView::ShowMenu(), StandardSettingDialog::ShowMenu(), PlaybackSettingsDialog::ShowMenu(), SmartPLResultViewer::showTrackInfo(), BookmarkManager::slotBookmarkClicked(), MythNewsConfig::slotCategoryChanged(), BookmarkManager::slotClearMarked(), BookmarkManager::slotDoDeleteCurrent(), RSSEditor::SlotEditSite(), RSSEditor::SlotItemChanged(), PlayerSettings::slotSave(), BookmarkManager::slotSetHomepage(), BookmarkManager::slotShowMarked(), MythNews::slotSiteSelected(), ProgramRecPriority::SortList(), ChannelRecPriority::SortList(), SourceSetup::sourceListItemSelected(), Ripper::startRipper(), SearchStream::streamClicked(), StreamView::streamItemVisible(), SearchStream::streamVisible(), ExportNative::titleChanged(), RecordingSelector::titleChanged(), VideoSelector::titleChanged(), PlaybackBox::toggleAutoExpire(), ThemeChooser::toggleFullscreenPreview(), NetEditorBase::ToggleItem(), MythNewsConfig::toggleItem(), PlaybackBox::togglePlayListItem(), PlaybackBox::togglePlayListTitle(), PlaybackBox::togglePreserveEpisode(), RecordingSelector::toggleSelected(), VideoSelector::toggleSelected(), AudioSetupWizard::toggleSpeakers(), MythBurn::toggleUseCutlist(), PlaybackBox::toggleWatched(), SearchView::trackClicked(), SearchView::trackVisible(), SmartPLResultViewer::trackVisible(), PlaylistEditorView::treeItemClicked(), PlaylistEditorView::treeItemVisible(), ChannelRecPriority::upcoming(), AudioSetupWizard::UpdateCapabilities(), ScreenSetup::updateHelpText(), GalleryThumbView::UpdateImageItem(), ChannelRecPriority::updateInfo(), ProgramRecPriority::updateInfo(), ViewScheduled::updateInfo(), ViewScheduleDiff::updateInfo(), MythNews::updateInfoView(), ProgramRecPriority::UpdateList(), StatusBox::updateLogList(), PlaybackBox::updateRecGroup(), PlaybackBox::updateRecList(), FileAssocDialog::UpdateScreen(), SourceSetup::updateSpinboxUpdate(), ImportCoverArtDialog::updateStatus(), StreamView::updateStream(), SearchView::updateTracksList(), PlaybackBox::UpdateUIListItem(), RawSettingsEditor::valueChanged(), ScreenSetup::~ScreenSetup(), and SourceSetup::~SourceSetup().
| MythImage * MythUIButtonListItem::GetImage | ( | const QString & | name = "" | ) |
Gets a MythImage which has been assigned to this button item, as with SetImage() it should only be used in special circumstances since it bypasses the cache.
Definition at line 3545 of file mythuibuttonlist.cpp.
| QString MythUIButtonListItem::GetImageFilename | ( | const QString & | name = "" | ) | const |
Definition at line 3595 of file mythuibuttonlist.cpp.
Referenced by MusicCommon::customEvent(), ChannelEditor::itemChanged(), ImportIconsWizard::itemChanged(), PlaybackBox::ItemVisible(), MusicCommon::playlistItemVisible(), NetSearch::SetThumbnail(), SetToRealButton(), SearchView::trackVisible(), SmartPLResultViewer::trackVisible(), and PlaybackBox::UpdateUIListItem().
| QString MythUIButtonListItem::GetState | ( | const QString & | name | ) |
Definition at line 3671 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
| QString MythUIButtonListItem::GetText | ( | const QString & | name = "" | ) | const |
Definition at line 3390 of file mythuibuttonlist.cpp.
Referenced by MythTerminal::AddText(), ProgFinder::alphabetListItemSelected(), StatusBox::clicked(), NetSearch::customEvent(), NetTree::customEvent(), ChannelEditor::del(), CustomEdit::deleteRule(), DoButtonLookupText(), ScreenSetup::doListSelect(), NetSearch::DoSearch(), SpinBoxEntryDialog::entryChanged(), SmartPLOrderByDialog::fieldListSelectionChanged(), ChannelEditor::fillList(), MythControls::GetCurrentAction(), MythControls::GetCurrentContext(), MythControls::GetCurrentKey(), SmartPLOrderByDialog::getFieldList(), MythUIButtonList::GetIntValue(), MythUIButtonList::GetValue(), ProgLister::HandleVisible(), RawSettingsEditor::Init(), AudioSetupWizard::Init(), CustomPriority::installClicked(), ChannelEditor::itemChanged(), ImportIconsWizard::itemChanged(), PlaybackBox::ItemLoaded(), MythUISpinBox::keyPressEvent(), SmartPLOrderByDialog::orderByChanged(), PhrasePopup::phraseSelected(), MusicCommon::playlistItemVisible(), VideoSetupWizard::playVideoTest(), AudioSetupWizard::save(), VideoSetupWizard::save(), MythDialogBox::Select(), RawSettingsEditor::selectionChanged(), PlaybackBox::selectUIGroupsAlphabet(), ChannelEditor::setSortMode(), ChannelEditor::setSourceID(), NetSearch::SlotItemChanged(), MythBrowser::slotTabSelected(), CustomEdit::storeClicked(), CustomEdit::storeRule(), StreamView::streamItemVisible(), SearchStream::streamVisible(), VideoSetupWizard::testHDVideo(), CustomPriority::testSchedule(), VideoSetupWizard::testSDVideo(), AudioSetupWizard::toggleSpeakers(), PlaylistEditorView::treeItemVisible(), AudioSetupWizard::UpdateCapabilities(), NetTree::UpdateCurrentItem(), MythUIButtonList::updateLCD(), LogViewer::updateLogItem(), PlaybackBox::updateRecList(), MythControls::UpdateRightList(), VideoDialog::UpdateText(), and BookmarkManager::UpdateURLList().
| TextProperties MythUIButtonListItem::GetTextProp | ( | const QString & | name = "" | ) | const |
Definition at line 3405 of file mythuibuttonlist.cpp.
Referenced by SetToRealButton().
|
inline |
Returns true when the image exists.
Definition at line 98 of file mythuibuttonlist.h.
Referenced by ZMEvents::eventVisible().
| bool MythUIButtonListItem::isEnabled | ( | ) | const |
Definition at line 3722 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonList::keyPressEvent().
|
inline |
Definition at line 124 of file mythuibuttonlist.h.
| bool MythUIButtonListItem::MoveUpDown | ( | bool | flag | ) |
Definition at line 3742 of file mythuibuttonlist.cpp.
Referenced by MusicCommon::keyPressEvent(), MythBurn::keyPressEvent(), SmartPLOrderByDialog::moveDownPressed(), and SmartPLOrderByDialog::moveUpPressed().
| MythUIButtonList * MythUIButtonListItem::parent | ( | ) | const |
Definition at line 3696 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonTree::handleSelect(), PlaybackBox::ItemVisible(), MythUIButtonTree::RemoveItem(), VideoDialog::UpdatePosition(), and VideoDialog::UpdateText().
| void MythUIButtonListItem::setCheckable | ( | bool | flag | ) |
Definition at line 3712 of file mythuibuttonlist.cpp.
Referenced by FilterOptMixin::Load(), and MythUICheckBoxSetting::updateButton().
| void MythUIButtonListItem::setChecked | ( | MythUIButtonListItem::CheckState | state | ) |
Definition at line 3701 of file mythuibuttonlist.cpp.
Referenced by FileSelector::itemClicked(), BookmarkManager::keyPressEvent(), FilterOptMixin::Load(), BookmarkManager::slotClearMarked(), NetEditorBase::ToggleItem(), MythNewsConfig::toggleItem(), RecordingSelector::toggleSelected(), VideoSelector::toggleSelected(), FilterOptMixin::ToggleSelected(), Ripper::toggleTrackActive(), MythUICheckBoxSetting::updateButton(), and GalleryThumbView::UpdateImageItem().
| void MythUIButtonListItem::SetData | ( | QVariant | data | ) |
Definition at line 3732 of file mythuibuttonlist.cpp.
Referenced by ScreenSetup::customEvent(), ThemeChooser::Init(), and CustomEdit::storeRule().
| void MythUIButtonListItem::setDrawArrow | ( | bool | flag | ) |
Definition at line 3717 of file mythuibuttonlist.cpp.
Referenced by RecordingProfile::Name::setValue(), MythUIComboBoxSetting::updateButton(), MythUISpinBoxSetting::updateButton(), GroupSetting::updateButton(), and VideoModeSettings::updateButton().
| void MythUIButtonListItem::setEnabled | ( | bool | flag | ) |
Definition at line 3727 of file mythuibuttonlist.cpp.
Referenced by RecordingProfile::Name::setValue(), MythUIComboBoxSetting::updateButton(), MythUISpinBoxSetting::updateButton(), and GroupSetting::updateButton().
| void MythUIButtonListItem::SetFontState | ( | const QString & | state, |
| const QString & | name = "" |
||
| ) |
Definition at line 3484 of file mythuibuttonlist.cpp.
Referenced by MusicCommon::customEvent(), StreamView::customEvent(), PlaybackBox::ItemLoaded(), MusicCommon::restorePosition(), and PlaybackBox::UpdateUIListItem().
| void MythUIButtonListItem::SetImage | ( | const QString & | filename, |
| const QString & | name = "", |
||
| bool | force_reload = false |
||
| ) |
Definition at line 3565 of file mythuibuttonlist.cpp.
| void MythUIButtonListItem::SetImage | ( | MythImage * | image, |
| const QString & | name = "" |
||
| ) |
Sets an image directly, should only be used in special circumstances since it bypasses the cache.
Definition at line 3501 of file mythuibuttonlist.cpp.
Referenced by MusicCommon::customEvent(), StreamView::customEvent(), ImageSearchResultsDialog::customEvent(), MetadataResultsDialog::customEvent(), NetSearch::customEvent(), NetTree::customEvent(), ZMEvents::eventVisible(), PlaybackBox::HandlePreviewEvent(), ThemeChooser::Init(), MusicCommon::playlistItemVisible(), ImportIconsWizard::search(), WebPage::slotIconChanged(), WebPage::slotLoadStarted(), StreamView::streamItemVisible(), SearchStream::streamVisible(), SearchView::trackVisible(), SmartPLResultViewer::trackVisible(), PlaylistEditorView::treeItemVisible(), NetTree::UpdateItem(), VideoDialog::UpdateItem(), ThumbFinder::updateThumb(), and GalleryThumbView::UpdateThumbnail().
| void MythUIButtonListItem::SetImageCb | ( | muibCbFn | fn, |
| void * | data | ||
| ) |
Definition at line 3539 of file mythuibuttonlist.cpp.
| void MythUIButtonListItem::SetImageFromMap | ( | const InfoMap & | imageMap | ) |
Definition at line 3533 of file mythuibuttonlist.cpp.
Referenced by GalleryThumbView::UpdateImageItem().
| void MythUIButtonListItem::SetProgress1 | ( | int | start, |
| int | total, | ||
| int | used | ||
| ) |
Definition at line 3615 of file mythuibuttonlist.cpp.
Referenced by PlaybackBox::ItemVisible().
| void MythUIButtonListItem::SetProgress2 | ( | int | start, |
| int | total, | ||
| int | used | ||
| ) |
Definition at line 3625 of file mythuibuttonlist.cpp.
Referenced by PlaybackBox::ItemVisible(), and ViewScheduled::UpdateUIListItem().
| void MythUIButtonListItem::SetStateCb | ( | muibCbFn | fn, |
| void * | data | ||
| ) |
Definition at line 3665 of file mythuibuttonlist.cpp.
| void MythUIButtonListItem::SetStatesFromMap | ( | const InfoMap & | stateMap | ) |
Definition at line 3659 of file mythuibuttonlist.cpp.
| void MythUIButtonListItem::SetText | ( | const QString & | text, |
| const QString & | name = "", |
||
| const QString & | state = "" |
||
| ) |
Definition at line 3341 of file mythuibuttonlist.cpp.
Referenced by MythUISpinBox::AddSelection(), MythTerminal::AddText(), SmartPLOrderByDialog::ascendingPressed(), ChannelRecPriority::changeRecPriority(), ProgramRecPriority::changeRecPriority(), SmartPlaylistEditor::criteriaChanged(), EditAlbumartDialog::customEvent(), SmartPLOrderByDialog::descendingPressed(), NetSearch::DoSearch(), MythBurn::editorClosed(), ProgLister::HandleVisible(), PlaybackBox::ItemLoaded(), MusicCommon::playlistItemVisible(), MythBurn::profileChanged(), PlaybackBox::saveRecMetadata(), ImportIconsWizard::search(), RecordingProfile::Name::setValue(), WebPage::slotLoadFinished(), MythBrowser::slotLoadStarted(), WebPage::slotLoadStarted(), MythBrowser::slotTitleChanged(), WebPage::slotTitleChanged(), StreamView::streamItemVisible(), SearchStream::streamVisible(), MythBurn::toggleUseCutlist(), PlaylistEditorView::treeItemVisible(), PlayGroupConfig::updateButton(), MythUIComboBoxSetting::updateButton(), MythUISpinBoxSetting::updateButton(), MythUICheckBoxSetting::updateButton(), GroupSetting::updateButton(), PlayBackScaling::updateButton(), GuiDimension::updateButton(), GalleryThumbView::UpdateImageItem(), NetTree::UpdateItem(), VideoDialog::UpdateItem(), ThumbFinder::updateThumb(), and PlaybackBox::UpdateUIListItem().
| void MythUIButtonListItem::SetTextCb | ( | muibCbFn | fn, |
| void * | data | ||
| ) |
Definition at line 3384 of file mythuibuttonlist.cpp.
| void MythUIButtonListItem::SetTextFromMap | ( | const InfoMap & | infoMap, |
| const QString & | state = "" |
||
| ) |
Definition at line 3360 of file mythuibuttonlist.cpp.
Referenced by MusicCommon::customEvent(), SearchView::customEvent(), ProgLister::HandleVisible(), ThemeChooser::Init(), PlaybackBox::ItemLoaded(), MusicCommon::playlistItemVisible(), NetTree::UpdateItem(), VideoDialog::UpdateItem(), StreamView::updateStream(), PlaybackBox::UpdateUIListItem(), and ViewScheduled::UpdateUIListItem().
| void MythUIButtonListItem::SetTextFromMap | ( | const QMap< QString, TextProperties > & | stringMap | ) |
Definition at line 3378 of file mythuibuttonlist.cpp.
|
virtual |
Definition at line 3900 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonList::CalculateButtonPositions(), MythUIButtonList::PageDown(), MythUIButtonList::PageUp(), and MythUIButtonList::PrepareButton().
|
inline |
Definition at line 125 of file mythuibuttonlist.h.
Referenced by RecordingProfile::Name::setValue().
| MythUIButtonListItem::CheckState MythUIButtonListItem::state | ( | ) | const |
Definition at line 3691 of file mythuibuttonlist.cpp.
Referenced by DisplayState(), FileSelector::itemClicked(), BookmarkManager::keyPressEvent(), MythUIButtonListItem(), FilterOptMixin::Save(), setChecked(), SetFontState(), SetText(), SetTextFromMap(), SetToRealButton(), NetEditorBase::ToggleItem(), MythNewsConfig::toggleItem(), RecordingSelector::toggleSelected(), VideoSelector::toggleSelected(), FilterOptMixin::ToggleSelected(), and MythUIButtonList::updateLCD().
|
friend |
Definition at line 182 of file mythuibuttonlist.h.
|
friend |
Definition at line 181 of file mythuibuttonlist.h.
|
protected |
Definition at line 163 of file mythuibuttonlist.h.
Referenced by checkable(), DoButtonCheck(), MythUIButtonListItem(), setCheckable(), and setChecked().
|
protected |
Definition at line 165 of file mythuibuttonlist.h.
Referenced by GetData(), MythUIButtonListItem(), and SetData().
|
protected |
Definition at line 169 of file mythuibuttonlist.h.
|
protected |
Definition at line 168 of file mythuibuttonlist.h.
Referenced by isEnabled(), MythUIButtonListItem(), setEnabled(), and SetToRealButton().
|
protected |
Definition at line 160 of file mythuibuttonlist.h.
Referenced by DoButtonLookupText(), DoButtonText(), and SetFontState().
|
protected |
Definition at line 161 of file mythuibuttonlist.h.
Referenced by DoButtonImage(), GetImage(), MythUIButtonListItem(), SetImage(), and ~MythUIButtonListItem().
|
protected |
Definition at line 178 of file mythuibuttonlist.h.
Referenced by GetImageFilename(), and SetImageCb().
|
protected |
Definition at line 162 of file mythuibuttonlist.h.
Referenced by DoButtonImage(), GetImageFilename(), and SetImage().
|
protected |
Definition at line 175 of file mythuibuttonlist.h.
Referenced by GetImageFilename(), SetImage(), and SetImageFromMap().
|
protected |
Definition at line 174 of file mythuibuttonlist.h.
Referenced by GetImage(), SetImage(), SetToRealButton(), and ~MythUIButtonListItem().
|
protected |
Definition at line 167 of file mythuibuttonlist.h.
Referenced by DisplayState(), MythUIButtonListItem(), setChecked(), SetFontState(), SetImage(), SetProgress1(), SetProgress2(), SetText(), SetTextFromMap(), and SetToRealButton().
|
protected |
Definition at line 158 of file mythuibuttonlist.h.
Referenced by DisplayState(), MoveUpDown(), MythUIButtonListItem(), parent(), setChecked(), SetFontState(), SetImage(), SetProgress1(), SetProgress2(), SetText(), SetTextFromMap(), SetToRealButton(), and ~MythUIButtonListItem().
|
protected |
Definition at line 170 of file mythuibuttonlist.h.
Referenced by DoButtonProgress1(), and SetProgress1().
|
protected |
Definition at line 171 of file mythuibuttonlist.h.
Referenced by DoButtonProgress2(), and SetProgress2().
|
protected |
Definition at line 166 of file mythuibuttonlist.h.
Referenced by DoButtonArrow(), MythUIButtonListItem(), and setDrawArrow().
|
protected |
Definition at line 164 of file mythuibuttonlist.h.
Referenced by DoButtonCheck(), MythUIButtonListItem(), setChecked(), and state().
|
protected |
Definition at line 179 of file mythuibuttonlist.h.
Referenced by GetState(), and SetStateCb().
|
protected |
Definition at line 176 of file mythuibuttonlist.h.
Referenced by DisplayState(), GetState(), and SetStatesFromMap().
|
protected |
Definition at line 173 of file mythuibuttonlist.h.
Referenced by FindText(), GetText(), GetTextProp(), SetFontState(), SetText(), SetTextFromMap(), and MythUIButtonList::updateLCD().
|
protected |
Definition at line 159 of file mythuibuttonlist.h.
Referenced by DoButtonText(), FindText(), GetText(), GetTextProp(), MythUIButtonListItem(), and SetText().
|
protected |
Definition at line 177 of file mythuibuttonlist.h.
Referenced by GetState(), GetText(), GetTextProp(), and SetTextCb().