#include <uilistbtntype.h>
Definition at line 300 of file uilistbtntype.h.
Public Types | |
| enum | CheckState { CantCheck = -1, NotChecked = 0, HalfChecked, FullChecked } |
Public Member Functions | |
| UIListBtnTypeItem (UIListBtnType *lbtype, const QString &text, QPixmap *pixmap=0, bool checkable=false, CheckState state=CantCheck, bool showArrow=false) | |
| ~UIListBtnTypeItem () | |
| UIListBtnType * | parent () const |
| void | setText (const QString &text) |
| QString | text () const |
| void | setPixmap (QPixmap *pixmap) |
| const QPixmap * | pixmap () const |
| bool | checkable () const |
| void | setCheckable (bool flag) |
| CheckState | state () const |
| void | setChecked (CheckState state) |
| void | setDrawArrow (bool flag) |
| bool | getDrawArrow (void) |
| void | setData (void *data) |
| void * | getData () |
| void | setOverrideInactive (bool flag) |
| bool | getOverrideInactive (void) |
| void | setJustification (int justification) |
| int | getJustification (void) const |
| bool | moveUpDown (bool flag) |
| void | paint (QPainter *p, fontProp *font, int x, int y, bool active_on) |
Protected Member Functions | |
| void | CalcDimensions (void) |
Protected Attributes | |
| UIListBtnType * | m_parent |
| QString | m_text |
| QPixmap * | m_pixmap |
| bool | m_checkable |
| CheckState | m_state |
| void * | m_data |
| QRect | m_checkRect |
| QRect | m_pixmapRect |
| QRect | m_textRect |
| QRect | m_arrowRect |
| bool | m_showArrow |
| bool | m_overrideInactive |
| int | m_justify |
Friends | |
| class | UIListBtnType |
Definition at line 305 of file uilistbtntype.h.
| UIListBtnTypeItem::UIListBtnTypeItem | ( | UIListBtnType * | lbtype, | |
| const QString & | text, | |||
| QPixmap * | pixmap = 0, |
|||
| bool | checkable = false, |
|||
| CheckState | state = CantCheck, |
|||
| bool | showArrow = false | |||
| ) |
Definition at line 1929 of file uilistbtntype.cpp.
| UIListBtnTypeItem::~UIListBtnTypeItem | ( | ) |
Definition at line 2003 of file uilistbtntype.cpp.
| UIListBtnType * UIListBtnTypeItem::parent | ( | ) | const |
Definition at line 2041 of file uilistbtntype.cpp.
| void UIListBtnTypeItem::setText | ( | const QString & | text | ) |
Definition at line 2014 of file uilistbtntype.cpp.
Referenced by UIListGenericTree::setText(), and MythburnWizard::showEditMetadataDialog().
| QString UIListBtnTypeItem::text | ( | void | ) | const |
Definition at line 2009 of file uilistbtntype.cpp.
Referenced by ScreenSetup::doListSelect(), UIListBtnType::Draw(), paint(), ScreenSetup::saveData(), and ScreenSetup::updateHelpText().
| void UIListBtnTypeItem::setPixmap | ( | QPixmap * | pixmap | ) |
Definition at line 2025 of file uilistbtntype.cpp.
Referenced by MythburnWizard::keyPressEvent(), UIListGenericTree::setPixmap(), MythburnWizard::toggleReorderState(), ImportNativeWizard::updateFileList(), FileSelector::updateFileList(), and DirectoryFinder::updateFileList().
| const QPixmap * UIListBtnTypeItem::pixmap | ( | ) | const |
Definition at line 2020 of file uilistbtntype.cpp.
| bool UIListBtnTypeItem::checkable | ( | ) | const |
| void UIListBtnTypeItem::setCheckable | ( | bool | flag | ) |
Definition at line 2053 of file uilistbtntype.cpp.
Referenced by UIListGenericTree::setCheck(), MythburnWizard::updateArchiveList(), ExportNativeWizard::updateArchiveList(), ImportNativeWizard::updateFileList(), FileSelector::updateFileList(), DirectoryFinder::updateFileList(), RecordingSelector::updateRecordingList(), MythburnWizard::updateSelectedArchiveList(), and VideoSelector::updateVideoList().
| UIListBtnTypeItem::CheckState UIListBtnTypeItem::state | ( | void | ) | const |
Definition at line 2036 of file uilistbtntype.cpp.
Referenced by UIListBtnType::Draw(), ImportNativeWizard::keyPressEvent(), FileSelector::keyPressEvent(), MythNewsConfig::toggleItem(), MythFlixConfig::toggleItem(), VideoSelector::toggleSelectedState(), and RecordingSelector::toggleSelectedState().
| void UIListBtnTypeItem::setChecked | ( | UIListBtnTypeItem::CheckState | state | ) |
Definition at line 2046 of file uilistbtntype.cpp.
Referenced by ImportNativeWizard::keyPressEvent(), FileSelector::keyPressEvent(), UIListGenericTree::setCheck(), MythNewsConfig::toggleItem(), MythFlixConfig::toggleItem(), VideoSelector::toggleSelectedState(), RecordingSelector::toggleSelectedState(), FileSelector::updateFileList(), RecordingSelector::updateRecordingList(), MythburnWizard::updateSelectedArchiveList(), and VideoSelector::updateVideoList().
| void UIListBtnTypeItem::setDrawArrow | ( | bool | flag | ) |
Definition at line 2059 of file uilistbtntype.cpp.
Referenced by ScreenSetup::doListSelect(), and UIListGenericTree::setDrawArrow().
| bool UIListBtnTypeItem::getDrawArrow | ( | void | ) | [inline] |
| void UIListBtnTypeItem::setData | ( | void * | data | ) |
Definition at line 2065 of file uilistbtntype.cpp.
Referenced by ScreenSetup::doListSelect(), LocationDialog::doSearch(), UIListTreeType::FillLevelFromTree(), IconView::HandleSubMenuFile(), IconView::HandleSubMenuMark(), IconView::HandleSubMenuMetadata(), SourceSetup::loadData(), ScreenSetup::loadData(), IconView::LoadMenuTheme(), MythNews::loadSites(), MythNewsConfig::loadTheme(), MythFlixConfig::loadTheme(), MythFlix::MythFlix(), MythNews::processAndShowNews(), MythFlixQueue::processAndShowNews(), MythFlix::processAndShowNews(), MythNewsConfig::slotCategoryChanged(), MythFlixConfig::slotCategoryChanged(), MythNews::slotSiteSelected(), MythburnWizard::updateArchiveList(), ExportNativeWizard::updateArchiveList(), ImportNativeWizard::updateFileList(), FileSelector::updateFileList(), DirectoryFinder::updateFileList(), RecordingSelector::updateRecordingList(), MythburnWizard::updateSelectedArchiveList(), and VideoSelector::updateVideoList().
| void * UIListBtnTypeItem::getData | ( | void | ) |
Definition at line 2070 of file uilistbtntype.cpp.
Referenced by ScreenSetup::activeListItemSelected(), UIListTreeType::ClearLevel(), IconView::ClearMenu(), ScreenSetup::cursorRight(), MythNews::deleteNewsSite(), ScreenSetup::doListSelect(), LocationDialog::getLocation(), LocationDialog::getSource(), IconView::HandleMenuButtonPress(), MythFlix::InsertMovieIntoQueue(), LocationDialog::itemSelected(), MythburnWizard::keyPressEvent(), ImportNativeWizard::keyPressEvent(), FileSelector::keyPressEvent(), DirectoryFinder::keyPressEvent(), ImportNativeWizard::nextPressed(), FileSelector::OKPressed(), DirectoryFinder::OKPressed(), MythNews::processAndShowNews(), MythFlix::processAndShowNews(), UIListTreeType::RefreshCurrentLevel(), MythburnWizard::reloadSelectedList(), MythburnWizard::removeItem(), ExportNativeWizard::removeItem(), SourceSetup::retrieveSpinboxUpdate(), SourceSetup::saveData(), ScreenSetup::saveData(), MythburnWizard::selectedChanged(), ImportNativeWizard::selectedChanged(), UIListTreeType::SetCurrentPosition(), MythburnWizard::setProfile(), UIListTreeType::SetTree(), MythNews::showEditDialog(), MythburnWizard::showEditMetadataDialog(), MythNewsConfig::slotCategoryChanged(), MythFlixConfig::slotCategoryChanged(), MythFlixQueue::slotMoveToQueue(), MythFlixQueue::slotMoveToTop(), MythFlixQueue::slotRemoveFromQueue(), MythFlixQueue::slotShowNetFlixPage(), MythFlix::slotShowNetFlixPage(), MythNews::slotSiteSelected(), MythFlix::slotSiteSelected(), MythNews::slotViewArticle(), SourceSetup::sourceListItemSelected(), VideoSelector::titleChanged(), RecordingSelector::titleChanged(), MythburnWizard::titleChanged(), ExportNativeWizard::titleChanged(), MythNewsConfig::toggleItem(), MythFlixConfig::toggleItem(), VideoSelector::toggleSelectedState(), RecordingSelector::toggleSelectedState(), MythburnWizard::toggleUseCutlist(), ScreenSetup::updateHelpText(), MythNews::updateInfoView(), MythFlixQueue::updateInfoView(), MythFlix::updateInfoView(), SourceSetup::updateSpinboxUpdate(), and SourceSetup::~SourceSetup().
| void UIListBtnTypeItem::setOverrideInactive | ( | bool | flag | ) |
Definition at line 2075 of file uilistbtntype.cpp.
Referenced by UIListTreeType::FillLevelFromTree(), and UIListGenericTree::setActive().
| bool UIListBtnTypeItem::getOverrideInactive | ( | void | ) |
Definition at line 2080 of file uilistbtntype.cpp.
| void UIListBtnTypeItem::setJustification | ( | int | justification | ) | [inline] |
Definition at line 340 of file uilistbtntype.h.
| int UIListBtnTypeItem::getJustification | ( | void | ) | const [inline] |
Definition at line 341 of file uilistbtntype.h.
Definition at line 2085 of file uilistbtntype.cpp.
Referenced by MythburnWizard::keyPressEvent(), and UIListGenericTree::movePositionUpDown().
Definition at line 2090 of file uilistbtntype.cpp.
| void UIListBtnTypeItem::CalcDimensions | ( | void | ) | [protected] |
Definition at line 1952 of file uilistbtntype.cpp.
Referenced by setCheckable(), setDrawArrow(), setPixmap(), setText(), and UIListBtnTypeItem().
friend class UIListBtnType [friend] |
Definition at line 367 of file uilistbtntype.h.
UIListBtnType* UIListBtnTypeItem::m_parent [protected] |
Definition at line 350 of file uilistbtntype.h.
Referenced by CalcDimensions(), moveUpDown(), paint(), parent(), UIListBtnTypeItem(), and ~UIListBtnTypeItem().
QString UIListBtnTypeItem::m_text [protected] |
QPixmap* UIListBtnTypeItem::m_pixmap [protected] |
Definition at line 352 of file uilistbtntype.h.
Referenced by CalcDimensions(), paint(), pixmap(), and setPixmap().
bool UIListBtnTypeItem::m_checkable [protected] |
Definition at line 353 of file uilistbtntype.h.
Referenced by CalcDimensions(), checkable(), paint(), setCheckable(), setChecked(), and UIListBtnTypeItem().
CheckState UIListBtnTypeItem::m_state [protected] |
void* UIListBtnTypeItem::m_data [protected] |
QRect UIListBtnTypeItem::m_checkRect [protected] |
QRect UIListBtnTypeItem::m_pixmapRect [protected] |
QRect UIListBtnTypeItem::m_textRect [protected] |
QRect UIListBtnTypeItem::m_arrowRect [protected] |
bool UIListBtnTypeItem::m_showArrow [protected] |
Definition at line 362 of file uilistbtntype.h.
Referenced by CalcDimensions(), paint(), and setDrawArrow().
bool UIListBtnTypeItem::m_overrideInactive [protected] |
Definition at line 364 of file uilistbtntype.h.
Referenced by getOverrideInactive(), paint(), and setOverrideInactive().
int UIListBtnTypeItem::m_justify [protected] |
1.5.5