|
MythTV master
|
List widget, displays list items in a variety of themeable arrangements and can trigger signals when items are highlighted or clicked. More...
#include <libmythui/mythuibuttonlist.h>
Public Types | |
| enum | MovementUnit : std::uint8_t { MoveItem , MoveColumn , MoveRow , MovePage , MoveMax , MoveMid , MoveByAmount } |
| enum | LayoutType : std::uint8_t { LayoutVertical , LayoutHorizontal , LayoutGrid } |
Public Slots | |
| void | Select () |
| void | Deselect () |
| void | ToggleEnabled () |
Public Slots inherited from MythUIType | |
| void | LoseFocus (void) |
| bool | TakeFocus (void) |
| void | Activate (void) |
| void | Hide (void) |
| void | Show (void) |
| void | Refresh (void) |
| void | UpdateDependState (bool isDefault) |
| void | UpdateDependState (MythUIType *dependee, bool isDefault) |
Signals | |
| void | itemSelected (MythUIButtonListItem *item) |
| void | itemClicked (MythUIButtonListItem *item) |
| void | itemVisible (MythUIButtonListItem *item) |
| void | itemLoaded (MythUIButtonListItem *item) |
Signals inherited from MythUIType | |
| void | RequestUpdate (void) |
| void | RequestRegionUpdate (const QRect &) |
| void | TakingFocus (void) |
| void | LosingFocus (void) |
| void | VisibilityChanged (bool Visible) |
| void | Showing (void) |
| void | Hiding (void) |
| void | Enabling (void) |
| void | Disabling (void) |
| void | FinishedMoving (void) |
| void | FinishedFading (void) |
| void | DependChanged (bool isDefault) |
Public Member Functions | |
| MythUIButtonList (MythUIType *parent, const QString &name, QString shadow="") | |
| MythUIButtonList (MythUIType *parent, const QString &name, QRect area, bool showArrow=true, bool showScrollBar=false) | |
| ~MythUIButtonList () override | |
| bool | keyPressEvent (QKeyEvent *event) override |
| Key event handler. More... | |
| bool | gestureEvent (MythGestureEvent *event) override |
| Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop. More... | |
| void | customEvent (QEvent *event) override |
| void | Reset () override |
| Reset the widget to it's original state, should not reset changes made by the theme. More... | |
| void | Update () |
| virtual void | SetValue (int value) |
| virtual void | SetValue (const QString &value) |
| void | SetValueByData (const QVariant &data) |
| virtual int | GetIntValue () const |
| virtual QString | GetValue () const |
| QVariant | GetDataValue () const |
| MythRect | GetButtonArea (void) const |
| void | SetItemCurrent (MythUIButtonListItem *item) |
| void | SetItemCurrent (int current, int topPos=-1) |
| MythUIButtonListItem * | GetItemCurrent () const |
| MythUIButtonListItem * | GetItemFirst () const |
| MythUIButtonListItem * | GetItemNext (MythUIButtonListItem *item) const |
| MythUIButtonListItem * | GetItemAt (int pos) const |
| MythUIButtonListItem * | GetItemByData (const QVariant &data) |
| uint | ItemWidth (void) |
| uint | ItemHeight (void) |
| LayoutType | GetLayout () const |
| bool | MoveItemUpDown (MythUIButtonListItem *item, bool up) |
| void | SetAllChecked (MythUIButtonListItem::CheckState state) |
| int | GetCurrentPos () const |
| int | GetItemPos (MythUIButtonListItem *item) const |
| int | GetTopItemPos (void) const |
| int | GetCount () const |
| int | GetVisibleCount () |
| bool | IsEmpty () const |
| virtual bool | MoveDown (MovementUnit unit=MoveItem, uint amount=0) |
| virtual bool | MoveUp (MovementUnit unit=MoveItem, uint amount=0) |
| bool | MoveToNamedPosition (const QString &position_name) |
| void | RemoveItem (MythUIButtonListItem *item) |
| bool | IsShadowing (void) |
| void | SetLCDTitles (const QString &title, const QString &columnList="") |
| void | updateLCD (void) |
| void | SetSearchFields (const QString &fields) |
| void | ShowSearchDialog (void) |
| bool | Find (const QString &searchStr, bool startsWith=false) |
| bool | FindNext (void) |
| bool | FindPrev (void) |
| void | LoadInBackground (int start=0, int pageSize=20) |
| int | StopLoad (void) |
Public Member Functions inherited from MythUIType | |
| MythUIType (QObject *parent, const QString &name) | |
| virtual void | Reset (void) |
| Reset the widget to it's original state, should not reset changes made by the theme. More... | |
| void | AddChild (MythUIType *child) |
| Add a child UIType. More... | |
| MythUIType * | GetChild (const QString &name) const |
| Get a named child of this UIType. More... | |
| MythUIType * | GetChildAt (QPoint p, bool recursive=true, bool focusable=true) const |
| Return the first MythUIType at the given coordinates. More... | |
| QList< MythUIType * > * | GetAllChildren (void) |
| Return a list of all child widgets. More... | |
| QList< MythUIType * > | GetAllDescendants (void) |
| void | DeleteChild (const QString &name) |
| Delete a named child of this UIType. More... | |
| void | DeleteChild (MythUIType *child) |
| Delete the given UIType if it is a child of this UIType. More... | |
| void | DeleteAllChildren (void) |
| Delete all child widgets. More... | |
| bool | NeedsRedraw (void) const |
| void | ResetNeedsRedraw (void) |
| void | SetRedraw (void) |
| void | SetChildNeedsRedraw (MythUIType *child) |
| bool | CanTakeFocus (void) const |
| Return if this widget can accept input focus. More... | |
| void | SetCanTakeFocus (bool set=true) |
| Set whether this widget can take focus. More... | |
| void | SetFocusOrder (int order) |
| void | SetFocusedName (const QString &widgetname) |
| QString | GetFocusedName (void) const |
| bool | IsEnabled (void) const |
| void | SetEnabled (bool enable) |
| bool | MoveToTop (void) |
| bool | MoveChildToTop (MythUIType *child) |
| void | ActivateAnimations (MythUIAnimation::Trigger trigger) |
| QList< MythUIAnimation * > * | GetAnimations (void) |
| virtual void | Pulse (void) |
| Pulse is called 70 times a second to trigger a single frame of an animation. More... | |
| void | Draw (MythPainter *p, int xoffset, int yoffset, int alphaMod=255, QRect clipRect=QRect()) |
| void | SetPosition (int x, int y) |
| Convenience method, calls SetPosition(const MythPoint&) Override that instead to change functionality. More... | |
| void | SetPosition (QPoint point) |
| virtual void | SetPosition (const MythPoint &point) |
| virtual MythPoint | GetPosition (void) const |
| virtual void | SetSize (QSize size) |
| virtual void | SetMinSize (const MythPoint &size) |
| Set the minimum size of this widget, for widgets which can be rescaled. More... | |
| virtual QSize | GetMinSize (void) const |
| virtual void | SetArea (const MythRect &rect) |
| virtual void | AdjustMinArea (int delta_x, int delta_y, int delta_w, int delta_h) |
| Adjust the size of a sibling. More... | |
| virtual void | VanishSibling (void) |
| virtual void | SetMinAreaParent (MythRect actual_area, MythRect allowed_area, MythUIType *child) |
| Adjust the size of sibling objects within the button. More... | |
| virtual void | SetMinArea (const MythRect &rect) |
| Set the minimum area based on the given size. More... | |
| virtual MythRect | GetArea (void) const |
| If the object has a minimum area defined, return it, other wise return the default area. More... | |
| virtual MythRect | GetFullArea (void) const |
| virtual void | RecalculateArea (bool recurse=true) |
| void | ExpandArea (QRect rect) |
| virtual QRegion | GetDirtyArea (void) const |
| bool | IsVisible (bool recurse=false) const |
| virtual void | SetVisible (bool visible) |
| void | MoveTo (QPoint destXY, QPoint speedXY) |
| void | AdjustAlpha (int mode, int alphachange, int minalpha=0, int maxalpha=255) |
| void | SetAlpha (int newalpha) |
| int | GetAlpha (void) const |
| virtual bool | keyPressEvent (QKeyEvent *event) |
| Key event handler. More... | |
| virtual bool | inputMethodEvent (QInputMethodEvent *event) |
| Input Method event handler. More... | |
| virtual bool | gestureEvent (MythGestureEvent *event) |
| Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop. More... | |
| virtual void | mediaEvent (MythMediaEvent *event) |
| Media/Device status event handler, received from MythMediaMonitor. More... | |
| MythFontProperties * | GetFont (const QString &text) const |
| bool | AddFont (const QString &text, MythFontProperties *fontProp) |
| void | SetHelpText (const QString &text) |
| QString | GetHelpText (void) const |
| void | SetXMLLocation (const QString &filename, int where) |
| QString | GetXMLLocation (void) const |
| void | SetXMLName (const QString &name) |
| QString | GetXMLName (void) const |
| bool | IsDeferredLoading (bool recurse=false) const |
| void | SetDeferLoad (bool defer) |
| virtual void | LoadNow (void) |
| Cause images in this and child widgets to be loaded. More... | |
| bool | ContainsPoint (QPoint point) const |
| Check if the given point falls within this widgets area. More... | |
| virtual MythPainter * | GetPainter (void) |
| void | SetPainter (MythPainter *painter) |
| void | SetCentre (UIEffects::Centre centre) |
| void | SetZoom (float zoom) |
| void | SetHorizontalZoom (float zoom) |
| void | SetVerticalZoom (float zoom) |
| void | SetAngle (float angle) |
| void | SetDependIsDefault (bool isDefault) |
| void | SetReverseDependence (MythUIType *dependee, bool reverse) |
| void | SetDependsMap (QMap< QString, QString > dependsMap) |
| QMap< QString, QString > | GetDependsMap () const |
Protected Types | |
| enum | ScrollStyle : std::uint8_t { ScrollFree , ScrollCenter , ScrollGroupCenter } |
| enum | ArrangeType : std::uint8_t { ArrangeFixed , ArrangeFill , ArrangeSpread , ArrangeStack } |
| enum | WrapStyle : std::int8_t { WrapCaptive = -1 , WrapNone = 0 , WrapSelect = 1 , WrapItems = 2 , WrapFlowing = 3 } |
Protected Member Functions | |
| void | DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect) override |
| void | Const () |
| virtual void | Init () |
| void | InsertItem (MythUIButtonListItem *item, int listPosition=-1) |
| int | minButtonWidth (const MythRect &area) |
| int | minButtonHeight (const MythRect &area) |
| void | InitButton (int itemIdx, MythUIStateType *&realButton, MythUIButtonListItem *&buttonItem) |
| MythUIGroup * | PrepareButton (int buttonIdx, int itemIdx, int &selectedIdx, int &button_shift) |
| bool | DistributeRow (int &first_button, int &last_button, int &first_item, int &last_item, int &selected_column, int &skip_cols, bool grow_left, bool grow_right, int **col_widths, int &row_height, int total_height, int split_height, int &col_cnt, bool &wrapped) |
| bool | DistributeCols (int &first_button, int &last_button, int &first_item, int &last_item, int &selected_column, int &selected_row, int &skip_cols, int **col_widths, QList< int > &row_heights, int &top_height, int &bottom_height, bool &wrapped) |
| bool | DistributeButtons (void) |
| void | CalculateButtonPositions (void) |
| void | CalculateArrowStates (void) |
| void | SetScrollBarPosition (void) |
| void | ItemVisible (MythUIButtonListItem *item) |
| void | SetActive (bool active) |
| int | PageUp (void) |
| int | PageDown (void) |
| bool | DoFind (bool doMove, bool searchForward) |
| void | FindEnabledUp (MovementUnit unit) |
| void | FindEnabledDown (MovementUnit unit) |
| If the current item is not enabled, find the next enabled one. More... | |
| virtual void | CalculateVisibleItems (void) |
| virtual QPoint | GetButtonPosition (int column, int row) const |
| void | SetButtonArea (const MythRect &rect) |
| bool | ParseElement (const QString &filename, QDomElement &element, bool showWarnings) override |
| Parse the xml definition of this widget setting the state of the object accordingly. More... | |
| void | CopyFrom (MythUIType *base) override |
| Copy this widgets state from another. More... | |
| void | CreateCopy (MythUIType *parent) override |
| Copy the state of this widget to the one given, it must be of the same type. More... | |
| void | Finalize (void) override |
| Perform any post-xml parsing initialisation tasks. More... | |
| void | SanitizePosition (void) |
Protected Member Functions inherited from MythUIType | |
| ~MythUIType () override | |
| void | customEvent (QEvent *event) override |
| virtual void | DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect) |
| void | AddFocusableChildrenToList (FocusInfoType &focusList) |
| void | HandleAlphaPulse () |
| Handle one frame of an alpha (transparency) change animation. More... | |
| void | HandleMovementPulse () |
| Handle one frame of a movement animation. More... | |
| int | CalcAlpha (int alphamod) const |
| void | ConnectDependants (bool recurse=false) |
| virtual bool | ParseElement (const QString &filename, QDomElement &element, bool showWarnings) |
| Parse the xml definition of this widget setting the state of the object accordingly. More... | |
| virtual void | CopyFrom (MythUIType *base) |
| Copy this widgets state from another. More... | |
| virtual void | CreateCopy (MythUIType *parent) |
| Copy the state of this widget to the one given, it must be of the same type. More... | |
| virtual void | Finalize (void) |
| Perform any post-xml parsing initialisation tasks. More... | |
Friends | |
| class | MythUIButtonListItem |
| class | MythUIButtonTree |
Additional Inherited Members | |
Static Public Member Functions inherited from XMLParseBase | |
| static QString | getFirstText (QDomElement &element) |
| static bool | parseBool (const QString &text) |
| static bool | parseBool (QDomElement &element) |
| static MythPoint | parsePoint (const QString &text, bool normalize=true) |
| static MythPoint | parsePoint (QDomElement &element, bool normalize=true) |
| static QSize | parseSize (const QString &text, bool normalize=true) |
| static QSize | parseSize (QDomElement &element, bool normalize=true) |
| static MythRect | parseRect (const QString &text, bool normalize=true) |
| static MythRect | parseRect (QDomElement &element, bool normalize=true) |
| static int | parseAlignment (const QString &text) |
| static int | parseAlignment (QDomElement &element) |
| static QBrush | parseGradient (const QDomElement &element) |
| static QString | parseText (QDomElement &element) |
| static MythUIType * | GetGlobalObjectStore (void) |
| static void | ClearGlobalObjectStore (void) |
| static void | ParseChildren (const QString &filename, QDomElement &element, MythUIType *parent, bool showWarnings) |
| static MythUIType * | ParseUIType (const QString &filename, QDomElement &element, const QString &type, MythUIType *parent, MythScreenType *screen, bool showWarnings, QMap< QString, QString > &parentDependsMap) |
| static bool | WindowExists (const QString &xmlfile, const QString &windowname) |
| static bool | LoadWindowFromXML (const QString &xmlfile, const QString &windowname, MythUIType *parent) |
| static bool | LoadBaseTheme (void) |
| static bool | LoadBaseTheme (const QString &baseTheme) |
| static bool | CopyWindowFromBase (const QString &windowname, MythScreenType *win) |
Static Protected Member Functions inherited from MythUIType | |
| static int | NormX (int width) |
| static int | NormY (int height) |
List widget, displays list items in a variety of themeable arrangements and can trigger signals when items are highlighted or clicked.
Definition at line 194 of file mythuibuttonlist.h.
|
protected |
| Enumerator | |
|---|---|
| ArrangeFixed | |
| ArrangeFill | |
| ArrangeSpread | |
| ArrangeStack | |
Definition at line 286 of file mythuibuttonlist.h.
| enum MythUIButtonList::LayoutType : std::uint8_t |
| Enumerator | |
|---|---|
| LayoutVertical | |
| LayoutHorizontal | |
| LayoutGrid | |
Definition at line 212 of file mythuibuttonlist.h.
| enum MythUIButtonList::MovementUnit : std::uint8_t |
| Enumerator | |
|---|---|
| MoveItem | |
| MoveColumn | |
| MoveRow | |
| MovePage | |
| MoveMax | |
| MoveMid | |
| MoveByAmount | |
Definition at line 209 of file mythuibuttonlist.h.
|
protected |
| Enumerator | |
|---|---|
| ScrollFree | |
| ScrollCenter | |
| ScrollGroupCenter | |
Definition at line 284 of file mythuibuttonlist.h.
|
protected |
| Enumerator | |
|---|---|
| WrapCaptive | |
| WrapNone | |
| WrapSelect | |
| WrapItems | |
| WrapFlowing | |
Definition at line 288 of file mythuibuttonlist.h.
| MythUIButtonList::MythUIButtonList | ( | MythUIType * | parent, |
| const QString & | name, | ||
| QString | shadow = "" |
||
| ) |
Definition at line 31 of file mythuibuttonlist.cpp.
Referenced by CreateCopy().
| MythUIButtonList::MythUIButtonList | ( | MythUIType * | parent, |
| const QString & | name, | ||
| QRect | area, | ||
| bool | showArrow = true, |
||
| bool | showScrollBar = false |
||
| ) |
Definition at line 43 of file mythuibuttonlist.cpp.
|
override |
Definition at line 69 of file mythuibuttonlist.cpp.
|
protected |
Definition at line 1424 of file mythuibuttonlist.cpp.
Referenced by DrawSelf(), GetVisibleCount(), and MythUISpinBox::SetRange().
|
protected |
Definition at line 1283 of file mythuibuttonlist.cpp.
Referenced by CalculateArrowStates().
|
protectedvirtual |
Definition at line 2837 of file mythuibuttonlist.cpp.
Referenced by Init().
|
protected |
Definition at line 60 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonList().
|
overrideprotectedvirtual |
Copy this widgets state from another.
Reimplemented from MythUIType.
Reimplemented in MythUISpinBox.
Definition at line 3042 of file mythuibuttonlist.cpp.
Referenced by MythUISpinBox::CopyFrom().
|
overrideprotectedvirtual |
Copy the state of this widget to the one given, it must be of the same type.
Reimplemented from MythUIType.
Reimplemented in MythUISpinBox.
Definition at line 3033 of file mythuibuttonlist.cpp.
|
override |
Definition at line 2791 of file mythuibuttonlist.cpp.
|
slot |
Definition at line 88 of file mythuibuttonlist.cpp.
Referenced by Const(), MythUIButtonTree::handleSelect(), and MythUIButtonTree::SwitchList().
|
protected |
Definition at line 745 of file mythuibuttonlist.cpp.
Referenced by CalculateArrowStates().
|
protected |
Definition at line 627 of file mythuibuttonlist.cpp.
Referenced by DistributeButtons().
|
protected |
Definition at line 266 of file mythuibuttonlist.cpp.
Referenced by DistributeButtons(), and DistributeCols().
|
protected |
Definition at line 3220 of file mythuibuttonlist.cpp.
Referenced by Find(), FindNext(), and FindPrev().
|
overrideprotectedvirtual |
Reimplemented from MythUIType.
Definition at line 3020 of file mythuibuttonlist.cpp.
|
overrideprotectedvirtual |
Perform any post-xml parsing initialisation tasks.
This is called after the widget has been created and it's state established by ParseElement() or CopyFrom(). A derived class should use this to perform any initialisation tasks which should occur after this point.
Reimplemented from MythUIType.
Definition at line 3100 of file mythuibuttonlist.cpp.
| bool MythUIButtonList::Find | ( | const QString & | searchStr, |
| bool | startsWith = false |
||
| ) |
Definition at line 3203 of file mythuibuttonlist.cpp.
Referenced by SmartPlaylistEditor::loadFromDatabase(), and SearchButtonListDialog::searchChanged().
|
protected |
If the current item is not enabled, find the next enabled one.
Definition at line 2111 of file mythuibuttonlist.cpp.
Referenced by MoveDown().
|
protected |
Definition at line 2156 of file mythuibuttonlist.cpp.
Referenced by MoveUp().
| bool MythUIButtonList::FindNext | ( | void | ) |
Definition at line 3210 of file mythuibuttonlist.cpp.
Referenced by SearchButtonListDialog::nextClicked().
| bool MythUIButtonList::FindPrev | ( | void | ) |
Definition at line 3215 of file mythuibuttonlist.cpp.
Referenced by SearchButtonListDialog::prevClicked().
|
overridevirtual |
Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop.
Should not be used directly.
| event | Mouse event |
Reimplemented from MythUIType.
Definition at line 2681 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonTree::gestureEvent().
| MythRect MythUIButtonList::GetButtonArea | ( | void | ) | const |
Definition at line 1662 of file mythuibuttonlist.cpp.
|
protectedvirtual |
Definition at line 2827 of file mythuibuttonlist.cpp.
Referenced by Init().
| int MythUIButtonList::GetCount | ( | void | ) | const |
Definition at line 1688 of file mythuibuttonlist.cpp.
Referenced by StreamView::addStream(), ChannelEditor::channelIconImport(), LocationDialog::clearResults(), RSSEditor::Create(), ManualSchedule::Create(), MythBurn::createConfigFile(), LyricsView::customEvent(), MusicCommon::customEvent(), SearchView::customEvent(), StreamView::customEvent(), ScreenSetup::customEvent(), ImageSearchResultsDialog::customEvent(), MetadataResultsDialog::customEvent(), customEvent(), NetSearch::customEvent(), NetTree::customEvent(), ZMEvents::deleteAll(), ScreenSetup::deleteScreen(), DoFind(), ScreenSetup::doListSelect(), NetSearch::DoSearch(), SearchStream::doUpdateStreams(), SpinBoxEntryDialog::entryChanged(), ZMEvents::eventChanged(), ChannelEditor::fillList(), SmartPLOrderByDialog::getFieldList(), ProgLister::HandleSelected(), LogViewer::Init(), EditPowerSearchPopup::initLists(), NetSearch::keyPressEvent(), PlaybackBox::keyPressEvent(), CustomEdit::loadClauses(), SelectDestination::loadConfiguration(), RSSEditor::LoadData(), SmartPLOrderByDialog::orderByChanged(), MythThemedMenu::parseMenu(), BookmarkManager::ReloadBookmarks(), restore_position(), FilterOptMixin::Save(), MythBurn::saveConfiguration(), ScreenSetup::saveData(), SourceSetup::saveData(), ProgFinder::select(), LyricsView::setLyricTime(), NetSearch::ShowMenu(), ProgFinder::ShowMenu(), PlaybackSettingsDialog::ShowPlaybackProfileMenu(), EditAlbumartDialog::showTypeMenu(), BookmarkManager::slotClearMarked(), CustomEdit::storeRule(), SmartPLResultViewer::trackSelected(), ProgLister::UpdateButtonList(), LogViewer::updateClicked(), ProgFinder::updateInfo(), VideoDialog::UpdatePosition(), RawSettingsEditor::updatePrevNextTexts(), StreamView::updateStream(), StreamView::updateStreamList(), SearchView::updateTracksList(), VideoSelector::updateVideoList(), ScreenSetup::~ScreenSetup(), and SourceSetup::~SourceSetup().
|
inline |
Definition at line 246 of file mythuibuttonlist.h.
Referenced by PrevRecordedList::AllowRecord(), ZMEvents::cameraChanged(), CustomEdit::clauseChanged(), StatusBox::clicked(), ManualSchedule::Create(), ViewScheduleDiff::CurrentProgram(), ProgFinder::customEvent(), MusicCommon::customEvent(), StatusBox::customEvent(), ZMEvents::dateChanged(), ManualSchedule::dateChanged(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), PrevRecordedList::DeleteOldEpisode(), ZMEvents::deletePressed(), CustomEdit::deleteRule(), StreamView::deleteStream(), DoFind(), NetSearch::DoSearch(), PowerSearchPopup::editClicked(), ZMEvents::eventChanged(), ChannelEditor::fillList(), PrevRecordedList::GetCurrentProgram(), ProgFinder::GetCurrentProgram(), ProgLister::GetCurrentProgram(), ZMEvents::getEventList(), ThumbFinder::gridItemChanged(), ProgLister::HandleSelected(), MusicCommon::keyPressEvent(), ThumbFinder::keyPressEvent(), MythBrowser::keyPressEvent(), PrevRecordedList::LoadShowsByDate(), PrevRecordedList::LoadShowsByTitle(), ManualSchedule::minuteRollover(), PlaybackSettingsDialog::MoveProfileItemDown(), PlaybackSettingsDialog::MoveProfileItemUp(), EditPowerSearchPopup::okClicked(), SmartPLOrderByDialog::orderByChanged(), PhrasePopup::phraseClicked(), PowerSearchPopup::phraseClicked(), PhrasePopup::phraseSelected(), PowerSearchPopup::phraseSelected(), MusicCommon::playlistItemClicked(), ZMEvents::playPressed(), PrevRecordedList::PreventRecord(), MythNews::processAndShowNews(), ManualSchedule::recordClicked(), CustomPriority::ruleChanged(), ProfileDialog::save(), save_position(), SelectDestination::saveConfiguration(), MythDialogBox::Select(), LyricsView::setLyricTime(), ProgFinder::ShowGuide(), ProgLister::ShowMenu(), MythBrowser::slotTabSelected(), CustomEdit::storeClicked(), StreamView::streamItemClicked(), CustomEdit::textChanged(), DVDThemeSelector::themeChanged(), SmartPLResultViewer::trackSelected(), ProgLister::UpdateButtonList(), LogViewer::updateClicked(), ProgLister::UpdateDisplay(), PrevRecordedList::updateInfo(), ProgFinder::updateInfo(), updateLCD(), ZMConsole::updateMonitorList(), VideoDialog::UpdatePosition(), RawSettingsEditor::updatePrevNextTexts(), ThumbFinder::updateThumb(), MusicCommon::updateUIPlaylist(), JaProgFinder::whereClauseGetSearchData(), and StatusBox::~StatusBox().
| QVariant MythUIButtonList::GetDataValue | ( | ) | const |
Definition at line 1652 of file mythuibuttonlist.cpp.
Referenced by PlaybackSettingsDialog::DeleteProfileItem(), NetSearch::DoSearch(), MythUISpinBox::GetDuration(), MythUISpinBox::GetIntValue(), NetSearch::GetStreamItem(), MythUISpinBox::GetValue(), MythTimeInputDialog::okClicked(), StoreOptMixin::PromptForRecGroup(), SchedOptMixin::Save(), StoreOptMixin::Save(), PostProcMixin::Save(), NetSearch::SlotItemChanged(), ImportSettings::slotSave(), and GrabberSettings::slotSave().
|
virtual |
Reimplemented in MythUISpinBox.
Definition at line 1632 of file mythuibuttonlist.cpp.
| MythUIButtonListItem * MythUIButtonList::GetItemAt | ( | int | pos | ) | const |
Definition at line 1709 of file mythuibuttonlist.cpp.
Referenced by StreamView::addStream(), LocationDialog::clearResults(), MythBurn::createConfigFile(), LyricsView::customEvent(), MusicCommon::customEvent(), SearchView::customEvent(), StreamView::customEvent(), ImageSearchResultsDialog::customEvent(), MetadataResultsDialog::customEvent(), customEvent(), NetSearch::customEvent(), NetTree::customEvent(), PrevRecordedList::DeleteOldSeries(), DoFind(), NetSearch::DoSearch(), SpinBoxEntryDialog::entryChanged(), SmartPLOrderByDialog::getFieldList(), VideoDialog::GetItemByMetadata(), FilterOptMixin::Load(), SmartPLOrderByDialog::orderByChanged(), BookmarkManager::ReloadBookmarks(), restore_position(), FilterOptMixin::Save(), save_position(), MythBurn::saveConfiguration(), ScreenSetup::saveData(), SourceSetup::saveData(), NetSearch::SearchFinished(), BookmarkManager::slotClearMarked(), CustomEdit::storeRule(), updateLCD(), RawSettingsEditor::updatePrevNextTexts(), StreamView::updateStream(), ScreenSetup::~ScreenSetup(), and SourceSetup::~SourceSetup().
| MythUIButtonListItem * MythUIButtonList::GetItemByData | ( | const QVariant & | data | ) |
Definition at line 1717 of file mythuibuttonlist.cpp.
Referenced by MythUISpinBox::AddSelection(), StreamView::customEvent(), PlaybackBox::customEvent(), PlaybackBox::doClearPlaylist(), PlayerSettings::fillRegionList(), PlaybackBox::HandlePreviewEvent(), PlaybackBox::HandleRecordingRemoveEvent(), VideoSetupWizard::loadData(), PlaybackBox::PlaylistDelete(), PlaybackBox::RemoveProgram(), PlaybackBox::ShowAllRecordings(), PlaybackBox::ShowRecordedEpisodes(), PlaybackBox::togglePlayListItem(), Ripper::toggleTrackActive(), PlaybackBox::UpdateUIListItem(), and PlaybackBox::UpdateUILists().
| MythUIButtonListItem * MythUIButtonList::GetItemCurrent | ( | ) | const |
Definition at line 1623 of file mythuibuttonlist.cpp.
Referenced by BackendSelection::Accept(), CustomPriority::addClicked(), SmartPLOrderByDialog::ascendingPressed(), MythBurn::changeProfile(), ChannelRecPriority::changeRecPriority(), ProgramRecPriority::changeRecPriority(), ChannelEditor::channelIconImport(), StatusBox::clicked(), ImportCoverArtDialog::copyPressed(), EditAlbumartDialog::copySelectedImageToTag(), SmartPlaylistEditor::criteriaChanged(), EditAlbumartDialog::customEvent(), MusicCommon::customEvent(), SearchView::customEvent(), ScreenSetup::customEvent(), MythThemedMenu::customEvent(), StandardSettingDialog::customEvent(), PlaybackBox::customEvent(), ProgramRecPriority::customEvent(), StatusBox::customEvent(), ViewScheduled::customEvent(), ChannelEditor::customEvent(), NetSearch::customEvent(), ProgramRecPriority::deactivate(), ChannelEditor::del(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), SmartPlaylistEditor::deleteCriteria(), StandardSettingDialog::deleteEntry(), StandardSettingDialog::deleteEntryConfirmed(), MythNews::deleteNewsSite(), PrevRecordedList::DeleteOldEpisode(), SmartPLOrderByDialog::deletePressed(), ZMEvents::deletePressed(), ViewScheduled::deleteRule(), CustomEdit::deleteRule(), ScreenSetup::deleteScreen(), SmartPLOrderByDialog::descendingPressed(), SmartPlaylistEditor::doDeleteCriteria(), RSSEditor::DoDeleteSite(), EditAlbumartDialog::doRemoveImageFromTag(), StreamView::doRemoveStream(), NetSearch::DoSearch(), ChannelEditor::edit(), SmartPlaylistEditor::editCriteria(), MythBurn::editDetails(), MythBurn::editorClosed(), StreamView::editStream(), MythBurn::editThumbnails(), ChannelEditor::fillList(), gestureEvent(), MythControls::GetCurrentAction(), MythControls::GetCurrentContext(), FileAssocDialogPrivate::GetCurrentFA(), MythControls::GetCurrentKey(), PlaybackBox::GetCurrentProgram(), ProgramRecPriority::GetCurrentProgram(), ViewScheduled::GetCurrentProgram(), GetDataValue(), GetIntValue(), VideoDialog::GetItemCurrent(), MythUIButtonTree::GetItemCurrent(), NetTree::GetStreamItem(), GetValue(), PlaybackBox::HandlePreviewEvent(), PlaybackBox::HandleRecordingRemoveEvent(), AudioSetupWizard::Init(), ThemeChooser::Init(), CustomPriority::installClicked(), PlaybackBox::ItemLoaded(), PlaybackBox::ItemVisible(), MusicCommon::keyPressEvent(), MythBurn::keyPressEvent(), BookmarkManager::keyPressEvent(), Ripper::keyPressEvent(), SearchView::keyPressEvent(), StreamView::keyPressEvent(), MythDialogBox::keyPressEvent(), keyPressEvent(), MythUISpinBox::keyPressEvent(), StandardSettingDialog::keyPressEvent(), CustomEdit::keyPressEvent(), PlaybackBox::keyPressEvent(), ProgramRecPriority::keyPressEvent(), StandardSettingDialog::LevelDown(), ViewScheduled::LoadList(), ChannelEditor::menu(), MoveDown(), SmartPLOrderByDialog::moveDownPressed(), MoveItemUpDown(), PlaybackSettingsDialog::MoveProfileItemDown(), PlaybackSettingsDialog::MoveProfileItemUp(), MoveUp(), SmartPLOrderByDialog::moveUpPressed(), ProgramRecPriority::newTemplate(), FileSelector::OKPressed(), MythUIFileBrowser::OKPressed(), FileAssocDialog::OnDeletePressed(), PlaybackBox::PlayFromAnyMark(), PlaybackBox::PlayFromBeginning(), PlaybackBox::PlayFromBookmark(), PlaybackBox::PlayFromLastPlayPos(), VideoSetupWizard::playVideoTest(), MythNews::processAndShowNews(), MythBurn::profileChanged(), CustomEdit::recordClicked(), ProgramRecPriority::remove(), ExportNative::removeItem(), MythBurn::removeItem(), EditAlbumartDialog::removeSelectedImageFromTag(), StreamView::removeStream(), ThemeChooser::removeTheme(), restore_position(), MusicCommon::restorePosition(), SourceSetup::retrieveSpinboxUpdate(), LanguageSelection::Save(), AudioSetupWizard::save(), VideoSetupWizard::save(), save_position(), ThemeChooser::saveAndReload(), SourceSetup::saveData(), VideoDialog::SavePosition(), PlaybackBox::saveRecMetadata(), ProgramRecPriority::scheduleChanged(), Select(), SetItemCurrent(), LyricsView::setLyricTime(), SmartPLResultViewer::setSQL(), MythUIButtonTree::SetTreeState(), PlaybackBox::ShowActionPopup(), SmartPlaylistEditor::showCriteriaMenu(), BookmarkManager::ShowEditDialog(), MythNews::ShowEditDialog(), ZMConsole::showEditFunctionPopup(), Ripper::showEditMetadataDialog(), EditAlbumartDialog::showMenu(), ScheduleEditor::showMenu(), MythBurn::ShowMenu(), SearchView::ShowMenu(), StreamView::ShowMenu(), NetTree::ShowMenu(), StandardSettingDialog::ShowMenu(), ChannelRecPriority::ShowMenu(), PlaybackSettingsDialog::ShowMenu(), ThemeChooser::showPopupMenu(), PlaybackBox::showRecGroupPasswordChanger(), SmartPLResultViewer::showTrackInfo(), BookmarkManager::slotDeleteCurrent(), BookmarkManager::slotDoDeleteCurrent(), RSSEditor::SlotEditSite(), NetTree::SlotItemChanged(), RSSEditor::SlotItemChanged(), NetSearch::SlotItemChanged(), MythBrowser::slotLoadStarted(), PlayerSettings::slotSave(), MythUISearchDialog::slotSendResult(), BookmarkManager::slotSetHomepage(), BookmarkManager::slotShowCurrent(), BookmarkManager::slotShowMarked(), MythBrowser::slotTitleChanged(), ProgramRecPriority::SortList(), ChannelRecPriority::SortList(), SourceSetup::sourceListItemSelected(), Ripper::startRipper(), CustomEdit::storeClicked(), VideoSetupWizard::testHDVideo(), CustomPriority::testSchedule(), VideoSetupWizard::testSDVideo(), PlaybackBox::toggleAutoExpire(), ThemeChooser::toggleFullscreenPreview(), PlaybackBox::togglePlayListItem(), PlaybackBox::togglePlayListTitle(), PlaybackBox::togglePreserveEpisode(), AudioSetupWizard::toggleSpeakers(), MythBurn::toggleUseCutlist(), PlaybackBox::toggleWatched(), ChannelRecPriority::upcoming(), ExportNative::updateArchiveList(), AudioSetupWizard::UpdateCapabilities(), NetTree::UpdateCurrentItem(), ScreenSetup::updateHelpText(), MythNews::updateInfoView(), ProgramRecPriority::UpdateList(), RecordingSelector::updateRecordingList(), MythControls::UpdateRightList(), FileAssocDialog::UpdateScreen(), StandardSettingDialog::updateSettings(), SourceSetup::updateSpinboxUpdate(), ImportCoverArtDialog::updateStatus(), ThumbFinder::updateThumb(), SearchView::updateTracksList(), PlaybackBox::UpdateUIGroupList(), ZMEvents::updateUIList(), PlaybackBox::UpdateUIListItem(), BookmarkManager::UpdateURLList(), VideoSelector::updateVideoList(), and RawSettingsEditor::valueChanged().
| MythUIButtonListItem * MythUIButtonList::GetItemFirst | ( | ) | const |
Definition at line 1669 of file mythuibuttonlist.cpp.
Referenced by MythNews::Create(), RawSettingsEditor::Init(), MythNewsConfig::loadData(), ExportNative::updateArchiveList(), MythBurn::updateArchiveList(), RecordingSelector::updateRecordingList(), ZMEvents::updateUIList(), and VideoSelector::updateVideoList().
| MythUIButtonListItem * MythUIButtonList::GetItemNext | ( | MythUIButtonListItem * | item | ) | const |
Definition at line 1677 of file mythuibuttonlist.cpp.
Referenced by PlaybackBox::HandleRecordingRemoveEvent().
| int MythUIButtonList::GetItemPos | ( | MythUIButtonListItem * | item | ) | const |
Definition at line 1731 of file mythuibuttonlist.cpp.
Referenced by CalculateButtonPositions(), ImageSearchResultsDialog::Create(), MetadataResultsDialog::Create(), PlaybackBox::keyPressEvent(), NetSearch::PopulateResultList(), MythDialogBox::Select(), PlaybackBox::ShowActionPopup(), PlaybackSettingsDialog::ShowPlaybackProfileMenu(), Ripper::toggleTrackActive(), NetTree::UpdateItem(), and PlaybackBox::UpdateUIGroupList().
|
inline |
Definition at line 240 of file mythuibuttonlist.h.
Referenced by MythDialogBox::keyPressEvent().
|
inline |
Definition at line 248 of file mythuibuttonlist.h.
Referenced by StatusBox::customEvent(), StreamView::deleteStream(), ChannelEditor::fillList(), MythNews::processAndShowNews(), save_position(), and ProgLister::UpdateDisplay().
|
virtual |
Reimplemented in MythUISpinBox.
Definition at line 1642 of file mythuibuttonlist.cpp.
Referenced by SmartPLOrderByDialog::addPressed(), SmartPLOrderByDialog::ascendingPressed(), SmartPlaylistEditor::customEvent(), ChannelEditor::deleteChannels(), SmartPLOrderByDialog::descendingPressed(), SearchStream::doUpdateStreams(), PowerSearchPopup::editClicked(), CriteriaRowEditor::editDate(), CriteriaRowEditor::enableSaveButton(), CriteriaRowEditor::fieldChanged(), ProgFinder::formatSelectedData(), SmartPlaylistEditor::getCategoryAndName(), ZMEvents::getDateList(), ZMEvents::getEventList(), CriteriaRowEditor::getOperatorList(), SmartPlaylistEditor::getOrderByClause(), SmartPlaylistEditor::getWhereClause(), PhrasePopup::okClicked(), CriteriaRowEditor::operatorChanged(), SmartPLOrderByDialog::orderByChanged(), SmartPlaylistEditor::orderByClicked(), PowerSearchPopup::phraseClicked(), MythNews::processAndShowNews(), PowerSearchPopup::recordClicked(), SmartPlaylistEditor::renameCategory(), SmartPlaylistEditor::saveClicked(), CriteriaRowEditor::saveClicked(), DVDThemeSelector::saveConfiguration(), ProgFinder::selectShowData(), FunctionDialog::setMonitorFunction(), MythBrowser::slotAddBookmark(), BookmarkManager::slotDoDeleteMarked(), MythUISearchDialog::slotSendResult(), RecordingSelector::updateRecordingList(), VideoSelector::updateVideoList(), CriteriaRowEditor::valueButtonClicked(), ProgFinder::whereClauseGetSearchData(), HeProgFinder::whereClauseGetSearchData(), and RuProgFinder::whereClauseGetSearchData().
| int MythUIButtonList::GetVisibleCount | ( | ) |
Definition at line 1693 of file mythuibuttonlist.cpp.
Referenced by MythDialogBox::AddButtonV(), ChannelEditor::fillList(), and MythDialogBox::updateMenu().
|
protectedvirtual |
Definition at line 2415 of file mythuibuttonlist.cpp.
Referenced by CalculateArrowStates(), GetItemByData(), ItemHeight(), ItemWidth(), MoveToNamedPosition(), SetItemCurrent(), and SetValueByData().
|
protected |
Definition at line 1739 of file mythuibuttonlist.cpp.
Referenced by PageDown(), and PageUp().
|
protected |
Definition at line 1490 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonListItem::MythUIButtonListItem().
| bool MythUIButtonList::IsEmpty | ( | void | ) | const |
Definition at line 1704 of file mythuibuttonlist.cpp.
Referenced by ProgLister::HandleSelected(), FilterOptMixin::Load(), LanguageSelection::Load(), RemoveItem(), MythUIButtonTree::RemoveItem(), SmartPLResultViewer::trackSelected(), ProgLister::UpdateButtonList(), ProgramRecPriority::UpdateList(), MythUIButtonTree::UpdateList(), and VideoDialog::UpdatePosition().
|
inline |
Definition at line 259 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), DistributeButtons(), and MythUIButtonListItem::SetToRealButton().
|
signal |
Referenced by RecordingSelector::Create(), VideoSelector::Create(), SearchStream::Create(), ImageSearchResultsDialog::Create(), MetadataResultsDialog::Create(), CustomEdit::Create(), EditMetadataDialog::Create(), PhrasePopup::Create(), PowerSearchPopup::Create(), VideoDialog::Create(), FileSelector::Create(), ArchiveFileSelector::Create(), MythBurn::Create(), BookmarkManager::Create(), Ripper::Create(), LyricsView::Create(), SearchView::Create(), SmartPlaylistEditor::Create(), StreamView::Create(), NetEditorBase::Create(), NetSearch::Create(), NetTree::Create(), RSSEditor::Create(), MythNews::Create(), MythNewsConfig::Create(), ScreenSetup::Create(), LocationDialog::Create(), BackendSelection::Create(), MythDialogBox::Create(), MythUISearchDialog::Create(), MythUIFileBrowser::Create(), StandardSettingDialog::Create(), MythControls::Create(), PlaybackBox::Create(), GroupSelector::Create(), ProgLister::Create(), ProgramRecPriority::Create(), ScheduleEditor::Create(), SchedFilterEditor::Create(), StatusBox::Create(), ThemeChooser::Create(), ViewScheduled::Create(), ViewScheduleDiff::Create(), ChannelEditor::Create(), ImportIconsWizard::Create(), MusicCommon::CreateCommon(), gestureEvent(), PrevRecordedList::Init(), ProgFinder::Init(), keyPressEvent(), GalleryThumbView::SelectZoomWidget(), ZMEvents::setGridLayout(), MythThemedMenu::SetMenuTheme(), and MythUIButtonTree::UpdateList().
| uint MythUIButtonList::ItemHeight | ( | void | ) |
Definition at line 2525 of file mythuibuttonlist.cpp.
|
signal |
Referenced by PlaybackBox::Create(), ProgLister::Create(), and customEvent().
|
signal |
Referenced by ManualSchedule::connectSignals(), ProfileDialog::Create(), RecordingSelector::Create(), VideoSelector::Create(), SearchStream::Create(), CustomEdit::Create(), CustomPriority::Create(), EditMetadataDialog::Create(), PhrasePopup::Create(), PowerSearchPopup::Create(), VideoDialog::Create(), FileAssocDialog::Create(), VideoFilterDialog::Create(), ExportNative::Create(), ArchiveFileSelector::Create(), LogViewer::Create(), SelectDestination::Create(), DVDThemeSelector::Create(), ThumbFinder::Create(), BookmarkManager::Create(), MythBrowser::Create(), EditAlbumartDialog::Create(), ImportCoverArtDialog::Create(), SearchView::Create(), SmartPlaylistEditor::Create(), CriteriaRowEditor::Create(), SmartPLResultViewer::Create(), SmartPLOrderByDialog::Create(), SmartPLDateDialog::Create(), NetSearch::Create(), NetTree::Create(), RSSEditor::Create(), MythNews::Create(), MythNewsConfig::Create(), ScreenSetup::Create(), SourceSetup::Create(), LocationDialog::Create(), ZMEvents::Create(), MythUIFileBrowser::Create(), RawSettingsEditor::Create(), StandardSettingDialog::Create(), ChannelRecPriority::Create(), MythControls::Create(), PlaybackBox::Create(), ProgLister::Create(), ProgramRecPriority::Create(), ScheduleEditor::Create(), SchedOptEditor::Create(), StoreOptEditor::Create(), MetadataOptions::Create(), StatusBox::Create(), ThemeChooser::Create(), ViewScheduled::Create(), ViewScheduleDiff::Create(), ChannelEditor::Create(), ImportIconsWizard::Create(), PrevRecordedList::Init(), ProgFinder::Init(), AudioSetupWizard::Init(), InsertItem(), MoveDown(), MoveUp(), RemoveItem(), Select(), GalleryThumbView::SelectZoomWidget(), ZMEvents::setGridLayout(), SetItemCurrent(), MythThemedMenu::SetMenuTheme(), and MythUIButtonTree::UpdateList().
|
signal |
|
protected |
Definition at line 1484 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonListItem::SetToRealButton().
| uint MythUIButtonList::ItemWidth | ( | void | ) |
Definition at line 2517 of file mythuibuttonlist.cpp.
|
overridevirtual |
Key event handler.
| event | Keypress event |
Reimplemented from MythUIType.
Reimplemented in MythUISpinBox.
Definition at line 2536 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonTree::keyPressEvent(), MythUISpinBox::keyPressEvent(), and StandardSettingDialog::keyPressEvent().
| void MythUIButtonList::LoadInBackground | ( | int | start = 0, |
| int | pageSize = 20 |
||
| ) |
Definition at line 2813 of file mythuibuttonlist.cpp.
Referenced by customEvent(), PlaybackBox::Play(), ProgLister::UpdateButtonList(), and PlaybackBox::updateRecList().
|
protected |
Definition at line 188 of file mythuibuttonlist.cpp.
Referenced by DistributeButtons(), and DistributeRow().
|
protected |
Definition at line 158 of file mythuibuttonlist.cpp.
Referenced by DistributeButtons(), and DistributeRow().
|
virtual |
Reimplemented in MythUISpinBox.
Definition at line 2202 of file mythuibuttonlist.cpp.
Referenced by gestureEvent(), keyPressEvent(), MythUISpinBox::MoveDown(), MoveItemUpDown(), ProgInfoList::PageDown(), and PlaybackBox::togglePlayListItem().
| bool MythUIButtonList::MoveItemUpDown | ( | MythUIButtonListItem * | item, |
| bool | up | ||
| ) |
Definition at line 2358 of file mythuibuttonlist.cpp.
Referenced by ScreenSetup::customEvent(), and MythUIButtonListItem::MoveUpDown().
| bool MythUIButtonList::MoveToNamedPosition | ( | const QString & | position_name | ) |
Definition at line 2327 of file mythuibuttonlist.cpp.
Referenced by ProfileDialog::Create(), FunctionDialog::Create(), PhrasePopup::Create(), PowerSearchPopup::Create(), CriteriaRowEditor::fieldChanged(), ProgFinder::Init(), DVDThemeSelector::loadConfiguration(), SmartPlaylistEditor::orderByChanged(), MythNews::processAndShowNews(), BookmarkManager::ReloadBookmarks(), PlaybackBox::selectUIGroupsAlphabet(), CriteriaRowEditor::setDate(), BookmarkManager::slotDoDeleteCurrent(), BookmarkManager::slotDoDeleteMarked(), PlaybackBox::updateRecList(), and CriteriaRowEditor::updateValues().
|
virtual |
Reimplemented in MythUISpinBox.
Definition at line 1978 of file mythuibuttonlist.cpp.
Referenced by gestureEvent(), keyPressEvent(), MoveItemUpDown(), MythUISpinBox::MoveUp(), and ProgInfoList::PageUp().
|
protected |
Definition at line 1872 of file mythuibuttonlist.cpp.
Referenced by MoveDown().
|
protected |
Definition at line 1767 of file mythuibuttonlist.cpp.
Referenced by MoveUp().
|
overrideprotectedvirtual |
Parse the xml definition of this widget setting the state of the object accordingly.
Reimplemented from MythUIType.
Reimplemented in MythUISpinBox.
Definition at line 2892 of file mythuibuttonlist.cpp.
Referenced by MythUISpinBox::ParseElement().
|
protected |
Definition at line 215 of file mythuibuttonlist.cpp.
Referenced by DistributeRow().
| void MythUIButtonList::RemoveItem | ( | MythUIButtonListItem * | item | ) |
Definition at line 1521 of file mythuibuttonlist.cpp.
Referenced by MusicCommon::customEvent(), PlaybackBox::customEvent(), StatusBox::customEvent(), ChannelEditor::customEvent(), PhrasePopup::deleteClicked(), PowerSearchPopup::deleteClicked(), StandardSettingDialog::deleteEntryConfirmed(), PrevRecordedList::DeleteOldEpisode(), PrevRecordedList::DeleteOldSeries(), SmartPLOrderByDialog::deletePressed(), CustomEdit::deleteRule(), SmartPlaylistEditor::doDeleteCriteria(), PlaybackBox::HandleRecordingRemoveEvent(), VideoDialog::OnRemoveVideo(), PlaybackBox::PlaylistDelete(), MythUIButtonTree::RemoveItem(), ProgramRecPriority::RemoveItemFromList(), PlaybackBox::RemoveProgram(), PlaybackBox::saveRecMetadata(), and MythUIButtonListItem::~MythUIButtonListItem().
|
overridevirtual |
Reset the widget to it's original state, should not reset changes made by the theme.
Reimplemented from MythUIType.
Definition at line 120 of file mythuibuttonlist.cpp.
Referenced by GalleryThumbView::BuildImageList(), InfoList::Clear(), ProgInfoList::Clear(), LocationDialog::clearResults(), MythNews::clearSites(), PrevRecordedList::customEvent(), StatusBox::doAutoExpireList(), StatusBox::doDecoderStatus(), StatusBox::doDisplayStatus(), StatusBox::doJobQueueStatus(), StatusBox::doListingsStatus(), StatusBox::doLogEntries(), StatusBox::doMachineStatus(), StatusBox::doRenderStatus(), StatusBox::doScheduleStatus(), NetSearch::DoSearch(), StatusBox::doTunerStatus(), SearchStream::doUpdateStreams(), ImportIconsWizard::enableControls(), CriteriaRowEditor::fieldChanged(), NetSearch::FillGrabberButtonList(), ChannelEditor::fillList(), ViewScheduled::FillList(), RSSEditor::fillRSSButtonList(), GuideGrid::fillTimeInfos(), LyricsView::findLyrics(), NetSearch::GetLastResults(), NetSearch::GetMoreResults(), CriteriaRowEditor::getOperatorList(), SmartPLOrderByDialog::getOrderByFields(), SmartPlaylistEditor::getSmartPlaylistCategories(), ThemeChooser::Init(), FilterOptMixin::Load(), VideoDialog::loadData(), NetTree::LoadData(), SmartPlaylistEditor::loadFromDatabase(), ViewScheduled::LoadList(), MythNews::processAndShowNews(), ImportIconsWizard::search(), SmartPLOrderByDialog::setFieldList(), ZMEvents::setGridLayout(), PlaybackBox::setGroupFilter(), MythControls::SetListContents(), MythUISpinBox::SetRange(), SmartPLResultViewer::setSQL(), LogViewer::showFullLog(), PrevRecordedList::showListLoseFocus(), LyricsView::showLyrics(), LogViewer::showProgressLog(), MythNewsConfig::slotCategoryChanged(), MythNews::slotSiteSelected(), MythUISearchDialog::slotUpdateList(), ProgFinder::timesListLosingFocus(), ExportNative::updateArchiveList(), MythBurn::updateArchiveList(), SearchStream::updateBroadcasters(), AudioSetupWizard::UpdateCapabilities(), GuideGrid::updateChannelsUI(), SearchStream::updateCountries(), ProgLister::UpdateDisplay(), FileSelector::updateFileList(), MythUIFileBrowser::updateFileList(), SearchStream::updateGenres(), BookmarkManager::UpdateGroupList(), EditAlbumartDialog::updateImageGrid(), SearchStream::updateLanguages(), ProgramRecPriority::UpdateList(), PrevRecordedList::UpdateList(), MythUIButtonTree::UpdateList(), ChannelRecPriority::updateList(), MythDialogBox::updateMenu(), ZMConsole::updateMonitorList(), PlaybackBox::updateRecList(), RecordingSelector::updateRecordingList(), FileAssocDialog::UpdateScreen(), IdleScreen::UpdateScreen(), StandardSettingDialog::updateSettings(), ProgFinder::updateShowList(), StreamView::updateStreamList(), ProgFinder::updateTimesList(), Ripper::updateTrackList(), SearchView::updateTracksList(), PlaybackBox::UpdateUIGroupList(), ZMEvents::updateUIList(), PlaybackBox::UpdateUILists(), MusicCommon::updateUIPlayedList(), MusicCommon::updateUIPlaylist(), PlaybackBox::UpdateUIRecGroupList(), BookmarkManager::UpdateURLList(), and VideoSelector::updateVideoList().
|
protected |
Definition at line 1416 of file mythuibuttonlist.cpp.
Referenced by CalculateArrowStates(), MoveDown(), and MoveUp().
|
slot |
Definition at line 78 of file mythuibuttonlist.cpp.
Referenced by Const(), and MythUIButtonTree::SwitchList().
|
protected |
Definition at line 106 of file mythuibuttonlist.cpp.
Referenced by Deselect(), Select(), and MythUIButtonTree::SetTreeState().
| void MythUIButtonList::SetAllChecked | ( | MythUIButtonListItem::CheckState | state | ) |
Definition at line 2408 of file mythuibuttonlist.cpp.
|
protected |
Definition at line 2874 of file mythuibuttonlist.cpp.
Referenced by ParseElement().
| void MythUIButtonList::SetItemCurrent | ( | int | current, |
| int | topPos = -1 |
||
| ) |
Definition at line 1596 of file mythuibuttonlist.cpp.
| void MythUIButtonList::SetItemCurrent | ( | MythUIButtonListItem * | item | ) |
Definition at line 1590 of file mythuibuttonlist.cpp.
Referenced by MythDialogBox::AddButtonV(), StreamView::addStream(), MythTerminal::AddText(), PrevRecordedList::AllowRecord(), ChannelScannerGUIScanPane::AppendLine(), GalleryThumbView::BuildImageList(), MythTimeInputDialog::Create(), ManualSchedule::Create(), SmartPlaylistEditor::criteriaChanged(), LyricsView::customEvent(), MusicCommon::customEvent(), SearchView::customEvent(), StreamView::customEvent(), StatusBox::customEvent(), StreamView::deleteStream(), DoFind(), ChannelEditor::fillList(), GuideGrid::fillProgramRowInfos(), PlayerSettings::fillRegionList(), gestureEvent(), VideoSelector::getVideoList(), PlaybackBox::HandleRecordingRemoveEvent(), LogViewer::Init(), RawSettingsEditor::Init(), StatusBox::Init(), EditPowerSearchPopup::initLists(), MusicCommon::keyPressEvent(), ThumbFinder::keyPressEvent(), MythBrowser::keyPressEvent(), PlaybackBox::keyPressEvent(), LanguageSelection::Load(), SelectDestination::loadConfiguration(), VideoDialog::loadData(), CustomEdit::loadData(), CustomPriority::loadData(), VideoSetupWizard::loadData(), NetTree::LoadData(), ViewScheduled::LoadList(), ManualSchedule::minuteRollover(), PlaybackSettingsDialog::MoveProfileItemDown(), PlaybackSettingsDialog::MoveProfileItemUp(), MoveToNamedPosition(), SpinBoxEntryDialog::okClicked(), SmartPLOrderByDialog::orderByChanged(), ZMEvents::playerExited(), PrevRecordedList::PreventRecord(), MythNews::processAndShowNews(), BookmarkManager::ReloadBookmarks(), restore_position(), MusicCommon::restorePosition(), ProgLister::RestoreSelection(), VideoDialog::searchComplete(), ProgFinder::selectShowData(), SetItemCurrent(), LyricsView::setLyricTime(), StoreOptMixin::SetRecGroup(), SetValueByData(), PlaybackBox::ShowAllRecordings(), PlaybackBox::ShowRecordedEpisodes(), MythBrowser::slotAddTab(), MythUISearchDialog::slotUpdateList(), ExportNative::updateArchiveList(), MythBurn::updateArchiveList(), RecordingSelector::updateCategorySelector(), GuideGrid::updateChannelsUI(), LogViewer::updateClicked(), ProgLister::UpdateDisplay(), ProgramRecPriority::UpdateList(), MythUIButtonTree::UpdateList(), ChannelRecPriority::updateList(), MythDialogBox::updateMenu(), ZMConsole::updateMonitorList(), RecordingSelector::updateRecordingList(), FileAssocDialog::UpdateScreen(), StandardSettingDialog::updateSettings(), StreamView::updateStream(), StreamView::updateStreamList(), PlaybackBox::UpdateUIGroupList(), ZMEvents::updateUIList(), MusicCommon::updateUIPlaylist(), PlaybackBox::UpdateUIRecGroupList(), and VideoSelector::updateVideoList().
| void MythUIButtonList::SetLCDTitles | ( | const QString & | title, |
| const QString & | columnList = "" |
||
| ) |
Definition at line 3105 of file mythuibuttonlist.cpp.
Referenced by LanguageSelection::Create(), PrevRecordedList::Create(), ProgFinder::Create(), ProgLister::Create(), ProgramRecPriority::Create(), ViewScheduled::Create(), PlaybackBox::Init(), MythThemedMenu::parseMenu(), and PrevRecordedList::updateInfo().
|
protected |
Definition at line 4084 of file mythuibuttonlist.cpp.
Referenced by DrawSelf(), and GetVisibleCount().
|
inline |
Definition at line 263 of file mythuibuttonlist.h.
Referenced by ProgLister::Create(), ProgramRecPriority::Create(), ViewScheduled::Create(), MusicCommon::CreateCommon(), and PlaybackBox::Init().
|
inlinevirtual |
Reimplemented in MythUISpinBox.
Definition at line 223 of file mythuibuttonlist.h.
|
inlinevirtual |
Reimplemented in MythUISpinBox.
Definition at line 222 of file mythuibuttonlist.h.
Referenced by ChannelEditor::Create(), CriteriaRowEditor::fieldChanged(), SmartPLOrderByDialog::fieldListSelectionChanged(), CriteriaRowEditor::getOperatorList(), SmartPlaylistEditor::loadFromDatabase(), SmartPlaylistEditor::newCategory(), SmartPlaylistEditor::newSmartPlaylist(), SmartPlaylistEditor::orderByChanged(), SmartPlaylistEditor::renameCategory(), CriteriaRowEditor::setDate(), SearchStream::updateBroadcasters(), SearchStream::updateCountries(), CriteriaRowEditor::updateFields(), SearchStream::updateGenres(), SearchStream::updateLanguages(), CriteriaRowEditor::updateOperators(), ImportCoverArtDialog::updateTypeSelector(), and CriteriaRowEditor::updateValues().
| void MythUIButtonList::SetValueByData | ( | const QVariant & | data | ) |
Definition at line 1575 of file mythuibuttonlist.cpp.
Referenced by EditMetadataDialog::AddCategory(), Ripper::Create(), ImportSettings::Create(), GroupSelector::Create(), EditMetadataDialog::fillWidgets(), VideoFilterDialog::fillWidgets(), GrabberSettings::Init(), AudioSetupWizard::Init(), ThemeChooser::Init(), StreamView::keyPressEvent(), SchedOptMixin::Load(), StoreOptMixin::Load(), PostProcMixin::Load(), LanguageSelection::Load(), ScheduleEditor::Load(), ViewScheduled::LoadList(), ProgramRecPriority::newTemplate(), StoreOptMixin::Save(), MythUISpinBox::SetDuration(), MythUISpinBox::SetValue(), and AudioSetupWizard::UpdateCapabilities().
| void MythUIButtonList::ShowSearchDialog | ( | void | ) |
Definition at line 3171 of file mythuibuttonlist.cpp.
Referenced by keyPressEvent(), MusicCommon::searchButtonList(), and MythUIButtonTree::ShowSearchDialog().
| int MythUIButtonList::StopLoad | ( | void | ) |
Definition at line 2820 of file mythuibuttonlist.cpp.
Referenced by PlaybackBox::Play(), and Reset().
|
slot |
Definition at line 93 of file mythuibuttonlist.cpp.
Referenced by MythUIButtonList().
| void MythUIButtonList::Update | ( | void | ) |
Definition at line 145 of file mythuibuttonlist.cpp.
Referenced by Const(), MythUIButtonListItem::DisplayState(), InsertItem(), MoveDown(), MoveUp(), RemoveItem(), Reset(), SetActive(), MythUIButtonListItem::setChecked(), MythUIButtonListItem::SetFontState(), MythUIButtonListItem::SetImage(), SetItemCurrent(), MythUIButtonListItem::SetProgress1(), MythUIButtonListItem::SetProgress2(), MythUIButtonListItem::SetText(), MythUIButtonListItem::SetTextFromMap(), WebPage::slotLoadStarted(), WebPage::slotTitleChanged(), and ToggleEnabled().
| void MythUIButtonList::updateLCD | ( | void | ) |
Definition at line 3111 of file mythuibuttonlist.cpp.
Referenced by MythThemedMenu::aboutToShow(), and CalculateArrowStates().
|
friend |
Definition at line 410 of file mythuibuttonlist.h.
Referenced by MythUISpinBox::AddSelection(), and MythUISpinBox::SetRange().
|
friend |
Definition at line 411 of file mythuibuttonlist.h.
|
protected |
Definition at line 390 of file mythuibuttonlist.h.
Referenced by CopyFrom(), keyPressEvent(), and ParseElement().
|
protected |
Definition at line 378 of file mythuibuttonlist.h.
Referenced by CopyFrom(), SetActive(), and MythUIButtonListItem::SetToRealButton().
|
protected |
Definition at line 351 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CopyFrom(), DistributeButtons(), Init(), MoveDown(), MoveUp(), and ParseElement().
|
protected |
Definition at line 374 of file mythuibuttonlist.h.
Referenced by DistributeButtons(), PageDown(), and PageUp().
|
protected |
Definition at line 388 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), CopyFrom(), DistributeButtons(), DistributeRow(), Init(), InitButton(), and PrepareButton().
|
protected |
Definition at line 386 of file mythuibuttonlist.h.
Referenced by Init(), InitButton(), and PrepareButton().
|
protected |
Definition at line 389 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CalculateButtonPositions(), gestureEvent(), InitButton(), PrepareButton(), RemoveItem(), Reset(), and ~MythUIButtonList().
|
protected |
Definition at line 394 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CopyFrom(), RemoveItem(), Reset(), SetScrollBarPosition(), and ~MythUIButtonList().
|
protected |
Definition at line 370 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), CalculateVisibleItems(), DistributeButtons(), DistributeCols(), DistributeRow(), FindEnabledDown(), FindEnabledUp(), Init(), MoveDown(), MoveUp(), PageDown(), PageUp(), and SetItemCurrent().
|
protected |
Definition at line 356 of file mythuibuttonlist.h.
Referenced by CalculateVisibleItems(), CopyFrom(), DistributeButtons(), DistributeRow(), GetButtonArea(), GetButtonPosition(), Init(), PageDown(), PageUp(), and SetButtonArea().
|
protected |
Definition at line 354 of file mythuibuttonlist.h.
Referenced by CopyFrom(), DistributeButtons(), and ParseElement().
|
protected |
Definition at line 404 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), CopyFrom(), and ParseElement().
|
protected |
Definition at line 384 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CopyFrom(), and Init().
|
protected |
Definition at line 392 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CopyFrom(), GetItemByData(), Init(), ItemHeight(), ItemWidth(), MoveDown(), MoveToNamedPosition(), MoveUp(), SetActive(), SetItemCurrent(), SetValueByData(), and ToggleEnabled().
|
protected |
Definition at line 398 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CalculateButtonPositions(), CopyFrom(), DistributeButtons(), DistributeCols(), DistributeRow(), GetCount(), InsertItem(), IsEmpty(), MoveDown(), RemoveItem(), Reset(), SetScrollBarPosition(), and updateLCD().
|
protected |
Definition at line 364 of file mythuibuttonlist.h.
Referenced by CalculateVisibleItems(), CopyFrom(), GetButtonPosition(), Init(), and ItemHeight().
|
protected |
Definition at line 365 of file mythuibuttonlist.h.
Referenced by CalculateVisibleItems(), CopyFrom(), DistributeButtons(), DistributeRow(), GetButtonPosition(), PageDown(), PageUp(), and ParseElement().
|
protected |
Definition at line 401 of file mythuibuttonlist.h.
Referenced by MythUISpinBox::AddSelection(), CalculateButtonPositions(), FindEnabledDown(), FindEnabledUp(), GetItemAt(), GetItemByData(), GetItemCurrent(), GetItemFirst(), GetItemNext(), GetItemPos(), InitButton(), InsertItem(), MoveDown(), MoveItemUpDown(), MoveToNamedPosition(), MoveUp(), PageDown(), PrepareButton(), RemoveItem(), Reset(), SanitizePosition(), SetAllChecked(), SetItemCurrent(), SetValueByData(), and ~MythUIButtonList().
|
protected |
Definition at line 367 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CalculateButtonPositions(), CalculateVisibleItems(), CopyFrom(), DistributeButtons(), GetVisibleCount(), Init(), MoveDown(), MoveUp(), and SetScrollBarPosition().
|
protected |
Definition at line 366 of file mythuibuttonlist.h.
Referenced by CalculateVisibleItems(), CopyFrom(), DistributeButtons(), DistributeCols(), DistributeRow(), GetButtonPosition(), and ParseElement().
|
protected |
Definition at line 363 of file mythuibuttonlist.h.
Referenced by CalculateVisibleItems(), CopyFrom(), GetButtonPosition(), Init(), and ItemWidth().
|
protected |
Definition at line 399 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), and MoveDown().
|
protected |
Definition at line 350 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), CalculateVisibleItems(), CopyFrom(), DistributeButtons(), DistributeRow(), gestureEvent(), keyPressEvent(), MythUIButtonTree::keyPressEvent(), minButtonHeight(), minButtonWidth(), MoveUp(), PageDown(), PageUp(), ParseElement(), and SetItemCurrent().
|
protected |
Definition at line 408 of file mythuibuttonlist.h.
Referenced by SetLCDTitles(), and updateLCD().
|
protected |
Definition at line 407 of file mythuibuttonlist.h.
Referenced by SetLCDTitles(), and updateLCD().
|
protected |
Definition at line 371 of file mythuibuttonlist.h.
Referenced by DistributeButtons(), and PageUp().
|
protected |
Definition at line 368 of file mythuibuttonlist.h.
Referenced by CopyFrom(), DistributeButtons(), InitButton(), and PrepareButton().
|
protected |
Definition at line 393 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), DrawSelf(), GetVisibleCount(), and Update().
|
protected |
Definition at line 402 of file mythuibuttonlist.h.
Referenced by customEvent(), LoadInBackground(), and StopLoad().
|
protected |
Definition at line 372 of file mythuibuttonlist.h.
Referenced by DistributeButtons(), and PageDown().
|
protected |
Definition at line 369 of file mythuibuttonlist.h.
Referenced by CalculateVisibleItems(), and DistributeButtons().
|
protected |
Definition at line 382 of file mythuibuttonlist.h.
Referenced by CopyFrom(), Init(), and SetScrollBarPosition().
|
protected |
Definition at line 352 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), CopyFrom(), DistributeButtons(), DistributeCols(), DistributeRow(), gestureEvent(), keyPressEvent(), MoveDown(), MoveUp(), and ParseElement().
|
protected |
Definition at line 359 of file mythuibuttonlist.h.
Referenced by CopyFrom(), and DoFind().
|
protected |
Definition at line 358 of file mythuibuttonlist.h.
Referenced by CopyFrom(), ParseElement(), and ShowSearchDialog().
|
protected |
Definition at line 361 of file mythuibuttonlist.h.
|
protected |
Definition at line 360 of file mythuibuttonlist.h.
|
protected |
Definition at line 396 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), CopyFrom(), DistributeButtons(), FindEnabledDown(), FindEnabledUp(), GetItemCurrent(), InsertItem(), MoveDown(), MoveItemUpDown(), MoveToNamedPosition(), MoveUp(), PageDown(), PageUp(), PrepareButton(), RemoveItem(), Reset(), SanitizePosition(), SetItemCurrent(), SetScrollBarPosition(), and updateLCD().
|
protected |
Definition at line 355 of file mythuibuttonlist.h.
Referenced by CopyFrom(), DistributeButtons(), and ParseElement().
|
protected |
Definition at line 405 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), CopyFrom(), and ParseElement().
|
protected |
Definition at line 376 of file mythuibuttonlist.h.
|
protected |
Definition at line 379 of file mythuibuttonlist.h.
Referenced by CopyFrom(), and ParseElement().
|
protected |
Definition at line 380 of file mythuibuttonlist.h.
Referenced by CopyFrom(), Init(), ParseElement(), and SetScrollBarPosition().
|
protected |
Definition at line 397 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CalculateButtonPositions(), CopyFrom(), DistributeButtons(), InsertItem(), MoveItemUpDown(), MoveUp(), RemoveItem(), Reset(), and SetItemCurrent().
|
protected |
Definition at line 373 of file mythuibuttonlist.h.
Referenced by DistributeButtons(), PageDown(), and PageUp().
|
protected |
Definition at line 383 of file mythuibuttonlist.h.
Referenced by CalculateArrowStates(), CopyFrom(), and Init().
Definition at line 353 of file mythuibuttonlist.h.
Referenced by CalculateButtonPositions(), CopyFrom(), DistributeCols(), DistributeRow(), FindEnabledDown(), FindEnabledUp(), MoveDown(), MoveUp(), ParseElement(), and SanitizePosition().