MythTV  master
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Friends | List of all members
MythUIButtonListItem Class Reference

#include <mythuibuttonlist.h>

Inheritance diagram for MythUIButtonListItem:
Inheritance graph
[legend]
Collaboration diagram for MythUIButtonListItem:
Collaboration graph
[legend]

Public Types

enum  CheckState { CantCheck = -1, NotChecked = 0, HalfChecked, FullChecked }
 

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 >
 MythUIButtonListItem (std::enable_if_t< FunctionPointerTest< SLOT >::MemberFunction, MythUIButtonList * >lbtype, const QString &text, SLOT slot, int listPosition=-1)
 
template<typename SLOT >
 MythUIButtonListItem (std::enable_if_t< FunctionPointerTest< SLOT >::MemberConstFunction, MythUIButtonList * >lbtype, const QString &text, SLOT slot, int listPosition=-1)
 
virtual ~MythUIButtonListItem ()
 
MythUIButtonListparent () 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...
 
MythImageGetImage (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

MythUIButtonListm_parent {nullptr}
 
QString m_text
 
QString m_fontState
 
MythImagem_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 {0,0,0}
 
ProgressInfo m_progress2 {0,0,0}
 
QMap< QString, TextPropertiesm_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
 

Detailed Description

Definition at line 41 of file mythuibuttonlist.h.

Member Enumeration Documentation

◆ CheckState

Enumerator
CantCheck 
NotChecked 
HalfChecked 
FullChecked 

Definition at line 44 of file mythuibuttonlist.h.

Constructor & Destructor Documentation

◆ MythUIButtonListItem() [1/4]

MythUIButtonListItem::MythUIButtonListItem ( MythUIButtonList lbtype,
QString  text,
QString  image = "",
bool  checkable = false,
CheckState  state = CantCheck,
bool  showArrow = false,
int  listPosition = -1 
)

Definition at line 3207 of file mythuibuttonlist.cpp.

◆ MythUIButtonListItem() [2/4]

MythUIButtonListItem::MythUIButtonListItem ( MythUIButtonList lbtype,
const QString &  text,
QVariant  data,
int  listPosition = -1 
)

Definition at line 3224 of file mythuibuttonlist.cpp.

◆ MythUIButtonListItem() [3/4]

template<typename SLOT >
MythUIButtonListItem::MythUIButtonListItem ( std::enable_if_t< FunctionPointerTest< SLOT >::MemberFunction, MythUIButtonList * >  lbtype,
const QString &  text,
SLOT  slot,
int  listPosition = -1 
)
inline

Definition at line 58 of file mythuibuttonlist.h.

◆ MythUIButtonListItem() [4/4]

template<typename SLOT >
MythUIButtonListItem::MythUIButtonListItem ( std::enable_if_t< FunctionPointerTest< SLOT >::MemberConstFunction, MythUIButtonList * >  lbtype,
const QString &  text,
SLOT  slot,
int  listPosition = -1 
)
inline

Definition at line 62 of file mythuibuttonlist.h.

◆ ~MythUIButtonListItem()

MythUIButtonListItem::~MythUIButtonListItem ( )
virtual

Definition at line 3247 of file mythuibuttonlist.cpp.

Member Function Documentation

◆ parent()

MythUIButtonList * MythUIButtonListItem::parent ( ) const

◆ SetText()

void MythUIButtonListItem::SetText ( const QString &  text,
const QString &  name = "",
const QString &  state = "" 
)

◆ SetTextFromMap() [1/2]

void MythUIButtonListItem::SetTextFromMap ( const InfoMap infoMap,
const QString &  state = "" 
)

◆ SetTextFromMap() [2/2]

void MythUIButtonListItem::SetTextFromMap ( const QMap< QString, TextProperties > &  stringMap)

Definition at line 3299 of file mythuibuttonlist.cpp.

◆ SetTextCb()

void MythUIButtonListItem::SetTextCb ( muibCbFn  fn,
void *  data 
)

Definition at line 3305 of file mythuibuttonlist.cpp.

◆ GetText()

QString MythUIButtonListItem::GetText ( const QString &  name = "") const

Definition at line 3311 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(), AudioSetupWizard::Init(), RawSettingsEditor::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(), 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().

◆ GetTextProp()

TextProperties MythUIButtonListItem::GetTextProp ( const QString &  name = "") const

Definition at line 3326 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ FindText()

bool MythUIButtonListItem::FindText ( const QString &  searchStr,
const QString &  fieldList = "**ALL**",
bool  startsWith = false 
) const

Definition at line 3341 of file mythuibuttonlist.cpp.

Referenced by MythUIButtonList::DoFind().

◆ SetFontState()

void MythUIButtonListItem::SetFontState ( const QString &  state,
const QString &  name = "" 
)

◆ SetImage() [1/2]

void MythUIButtonListItem::SetImage ( MythImage image,
const QString &  name = "" 
)

◆ GetImage()

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.

Note
The reference count is set for one use, call DecrRef() to delete.

Definition at line 3464 of file mythuibuttonlist.cpp.

◆ HasImage()

bool MythUIButtonListItem::HasImage ( const QString &  name = "")
inline

Returns true when the image exists.

Definition at line 95 of file mythuibuttonlist.h.

Referenced by ZMEvents::eventVisible().

◆ SetImage() [2/2]

void MythUIButtonListItem::SetImage ( const QString &  filename,
const QString &  name = "",
bool  force_reload = false 
)

Definition at line 3484 of file mythuibuttonlist.cpp.

◆ SetImageFromMap()

void MythUIButtonListItem::SetImageFromMap ( const InfoMap imageMap)

Definition at line 3452 of file mythuibuttonlist.cpp.

Referenced by GalleryThumbView::UpdateImageItem().

◆ SetImageCb()

void MythUIButtonListItem::SetImageCb ( muibCbFn  fn,
void *  data 
)

Definition at line 3458 of file mythuibuttonlist.cpp.

◆ GetImageFilename()

QString MythUIButtonListItem::GetImageFilename ( const QString &  name = "") const

◆ SetProgress1()

void MythUIButtonListItem::SetProgress1 ( int  start,
int  total,
int  used 
)

Definition at line 3534 of file mythuibuttonlist.cpp.

Referenced by PlaybackBox::ItemVisible().

◆ SetProgress2()

void MythUIButtonListItem::SetProgress2 ( int  start,
int  total,
int  used 
)

◆ DisplayState()

void MythUIButtonListItem::DisplayState ( const QString &  state,
const QString &  name 
)

◆ SetStatesFromMap()

void MythUIButtonListItem::SetStatesFromMap ( const InfoMap stateMap)

Definition at line 3578 of file mythuibuttonlist.cpp.

◆ SetStateCb()

void MythUIButtonListItem::SetStateCb ( muibCbFn  fn,
void *  data 
)

Definition at line 3584 of file mythuibuttonlist.cpp.

◆ GetState()

QString MythUIButtonListItem::GetState ( const QString &  name)

Definition at line 3590 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ isVisible()

bool MythUIButtonListItem::isVisible ( ) const
inline

Definition at line 121 of file mythuibuttonlist.h.

Referenced by VideoDialog::UpdateText().

◆ setVisible()

void MythUIButtonListItem::setVisible ( bool  flag)
inline

Definition at line 122 of file mythuibuttonlist.h.

Referenced by StandardSetting::updateButton().

◆ checkable()

bool MythUIButtonListItem::checkable ( ) const

Definition at line 3605 of file mythuibuttonlist.cpp.

Referenced by MythUIButtonList::updateLCD().

◆ setCheckable()

void MythUIButtonListItem::setCheckable ( bool  flag)

◆ isEnabled()

bool MythUIButtonListItem::isEnabled ( ) const

Definition at line 3641 of file mythuibuttonlist.cpp.

Referenced by MythUIButtonList::keyPressEvent().

◆ setEnabled()

void MythUIButtonListItem::setEnabled ( bool  flag)

◆ state()

MythUIButtonListItem::CheckState MythUIButtonListItem::state ( ) const

◆ setChecked()

void MythUIButtonListItem::setChecked ( MythUIButtonListItem::CheckState  state)

◆ setDrawArrow()

void MythUIButtonListItem::setDrawArrow ( bool  flag)

◆ SetData()

void MythUIButtonListItem::SetData ( QVariant  data)

◆ GetData()

QVariant MythUIButtonListItem::GetData ( )

Definition at line 3656 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(), ChannelEditor::customEvent(), SearchView::customEvent(), LyricsView::customEvent(), StreamView::customEvent(), GalleryThumbView::customEvent(), MusicCommon::customEvent(), ScreenSetup::customEvent(), MythThemedMenu::customEvent(), EditAlbumartDialog::customEvent(), StandardSettingDialog::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(), ChannelEditor::edit(), ProgramRecPriority::edit(), SmartPlaylistEditor::editCriteria(), MythBurn::editDetails(), StreamView::editStream(), MythBurn::editThumbnails(), ZMEvents::eventVisible(), FileAssocDialogPrivate::GetCurrentFA(), ViewScheduled::GetCurrentProgram(), ProgramRecPriority::GetCurrentProgram(), PlaybackBox::GetCurrentProgram(), MythUIButtonList::GetDataValue(), EditAlbumartDialog::gridItemChanged(), MythUIButtonTree::handleClick(), PlaybackBox::HandleRecordingRemoveEvent(), MythUIButtonTree::handleSelect(), ProgLister::HandleSelected(), ProgLister::HandleVisible(), ThemeChooser::itemChanged(), FileSelector::itemClicked(), GalleryThumbView::ItemClicked(), LocationDialog::itemClicked(), PlaybackBox::ItemLoaded(), ArchiveFileSelector::itemSelected(), LocationDialog::itemSelected(), PlaybackBox::ItemVisible(), SearchView::keyPressEvent(), MusicCommon::keyPressEvent(), BookmarkManager::keyPressEvent(), PlaylistEditorView::keyPressEvent(), PlaybackBox::keyPressEvent(), StandardSettingDialog::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(), ProfileDialog::profileChanged(), MythBurn::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(), CustomPriority::ruleChanged(), CustomEdit::ruleChanged(), ScheduleEditor::RuleChanged(), AudioSetupWizard::save(), LanguageSelection::Save(), FilterOptMixin::Save(), save_position(), ThemeChooser::saveAndReload(), MythBurn::saveConfiguration(), ScreenSetup::saveData(), SourceSetup::saveData(), PlaybackBox::saveRecMetadata(), ProgramRecPriority::scheduleChanged(), MythDialogBox::Select(), RawSettingsEditor::selectionChanged(), MetadataResultsDialog::sendResult(), ImageSearchResultsDialog::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(), MythNews::ShowEditDialog(), BookmarkManager::ShowEditDialog(), ZMConsole::showEditFunctionPopup(), Ripper::showEditMetadataDialog(), PlaybackSettingsDialog::ShowMenu(), SearchView::ShowMenu(), MythBurn::ShowMenu(), EditAlbumartDialog::showMenu(), ScheduleEditor::showMenu(), StandardSettingDialog::ShowMenu(), SmartPLResultViewer::showTrackInfo(), BookmarkManager::slotBookmarkClicked(), MythNewsConfig::slotCategoryChanged(), BookmarkManager::slotClearMarked(), BookmarkManager::slotDoDeleteCurrent(), RSSEditor::SlotEditSite(), RSSEditor::SlotItemChanged(), PlayerSettings::slotSave(), BookmarkManager::slotSetHomepage(), BookmarkManager::slotShowMarked(), MythNews::slotSiteSelected(), ChannelRecPriority::SortList(), ProgramRecPriority::SortList(), SourceSetup::sourceListItemSelected(), Ripper::startRipper(), SearchStream::streamClicked(), StreamView::streamItemVisible(), SearchStream::streamVisible(), ExportNative::titleChanged(), RecordingSelector::titleChanged(), VideoSelector::titleChanged(), PlaybackBox::toggleAutoExpire(), ThemeChooser::toggleFullscreenPreview(), MythNewsConfig::toggleItem(), NetEditorBase::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(), ViewScheduleDiff::updateInfo(), ChannelRecPriority::updateInfo(), ViewScheduled::updateInfo(), ProgramRecPriority::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().

◆ MoveUpDown()

bool MythUIButtonListItem::MoveUpDown ( bool  flag)

◆ SetToRealButton()

void MythUIButtonListItem::SetToRealButton ( MythUIStateType button,
bool  selected 
)
virtual

◆ DoButtonText()

void MythUIButtonListItem::DoButtonText ( MythUIText buttontext)
private

Definition at line 3668 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonImage()

void MythUIButtonListItem::DoButtonImage ( MythUIImage buttonimage)
private

Definition at line 3677 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonArrow()

void MythUIButtonListItem::DoButtonArrow ( MythUIImage buttonarrow) const
private

Definition at line 3691 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonCheck()

void MythUIButtonListItem::DoButtonCheck ( MythUIStateType buttoncheck)
private

Definition at line 3698 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonProgress1()

void MythUIButtonListItem::DoButtonProgress1 ( MythUIProgressBar buttonprogress) const
private

Definition at line 3716 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonProgress2()

void MythUIButtonListItem::DoButtonProgress2 ( MythUIProgressBar buttonprogress) const
private

Definition at line 3724 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonLookupText()

void MythUIButtonListItem::DoButtonLookupText ( MythUIText text,
const TextProperties textprop 
)
private

Definition at line 3732 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonLookupFilename()

void MythUIButtonListItem::DoButtonLookupFilename ( MythUIImage image,
const QString &  filename 
)
staticprivate

Definition at line 3779 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonLookupImage()

void MythUIButtonListItem::DoButtonLookupImage ( MythUIImage uiimage,
MythImage image 
)
staticprivate

Definition at line 3793 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

◆ DoButtonLookupState()

void MythUIButtonListItem::DoButtonLookupState ( MythUIStateType statetype,
const QString &  name 
)
staticprivate

Definition at line 3804 of file mythuibuttonlist.cpp.

Referenced by SetToRealButton().

Friends And Related Function Documentation

◆ MythUIButtonList

friend class MythUIButtonList
friend

Definition at line 178 of file mythuibuttonlist.h.

◆ MythGenericTree

friend class MythGenericTree
friend

Definition at line 179 of file mythuibuttonlist.h.

Member Data Documentation

◆ m_parent

MythUIButtonList* MythUIButtonListItem::m_parent {nullptr}
protected

◆ m_text

QString MythUIButtonListItem::m_text
protected

◆ m_fontState

QString MythUIButtonListItem::m_fontState
protected

Definition at line 157 of file mythuibuttonlist.h.

Referenced by DoButtonLookupText(), DoButtonText(), and SetFontState().

◆ m_image

MythImage* MythUIButtonListItem::m_image {nullptr}
protected

◆ m_imageFilename

QString MythUIButtonListItem::m_imageFilename
protected

Definition at line 159 of file mythuibuttonlist.h.

Referenced by DoButtonImage(), GetImageFilename(), and SetImage().

◆ m_checkable

bool MythUIButtonListItem::m_checkable {false}
protected

◆ m_state

CheckState MythUIButtonListItem::m_state {CantCheck}
protected

Definition at line 161 of file mythuibuttonlist.h.

Referenced by DoButtonCheck(), MythUIButtonListItem(), setChecked(), and state().

◆ m_data

QVariant MythUIButtonListItem::m_data {0}
protected

Definition at line 162 of file mythuibuttonlist.h.

Referenced by GetData(), MythUIButtonListItem(), and SetData().

◆ m_showArrow

bool MythUIButtonListItem::m_showArrow {false}
protected

Definition at line 163 of file mythuibuttonlist.h.

Referenced by DoButtonArrow(), MythUIButtonListItem(), and setDrawArrow().

◆ m_isVisible

bool MythUIButtonListItem::m_isVisible {false}
protected

◆ m_enabled

bool MythUIButtonListItem::m_enabled {true}
protected

Definition at line 165 of file mythuibuttonlist.h.

Referenced by isEnabled(), MythUIButtonListItem(), setEnabled(), and SetToRealButton().

◆ m_debugme

bool MythUIButtonListItem::m_debugme {false}
protected

Definition at line 166 of file mythuibuttonlist.h.

◆ m_progress1

ProgressInfo MythUIButtonListItem::m_progress1 {0,0,0}
protected

Definition at line 167 of file mythuibuttonlist.h.

Referenced by DoButtonProgress1(), and SetProgress1().

◆ m_progress2

ProgressInfo MythUIButtonListItem::m_progress2 {0,0,0}
protected

Definition at line 168 of file mythuibuttonlist.h.

Referenced by DoButtonProgress2(), and SetProgress2().

◆ m_strings

QMap<QString, TextProperties> MythUIButtonListItem::m_strings
protected

◆ m_images

QMap<QString, MythImage*> MythUIButtonListItem::m_images
protected

Definition at line 171 of file mythuibuttonlist.h.

Referenced by GetImage(), SetImage(), SetToRealButton(), and ~MythUIButtonListItem().

◆ m_imageFilenames

InfoMap MythUIButtonListItem::m_imageFilenames
protected

Definition at line 172 of file mythuibuttonlist.h.

Referenced by GetImageFilename(), SetImage(), and SetImageFromMap().

◆ m_states

InfoMap MythUIButtonListItem::m_states
protected

Definition at line 173 of file mythuibuttonlist.h.

Referenced by DisplayState(), GetState(), and SetStatesFromMap().

◆ m_textCb

muibCbInfo MythUIButtonListItem::m_textCb
protected

Definition at line 174 of file mythuibuttonlist.h.

Referenced by GetState(), GetText(), GetTextProp(), and SetTextCb().

◆ m_imageCb

muibCbInfo MythUIButtonListItem::m_imageCb
protected

Definition at line 175 of file mythuibuttonlist.h.

Referenced by GetImageFilename(), and SetImageCb().

◆ m_stateCb

muibCbInfo MythUIButtonListItem::m_stateCb
protected

Definition at line 176 of file mythuibuttonlist.h.

Referenced by GetState(), and SetStateCb().


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