#include <uitypes.h>

Definition at line 1039 of file uitypes.h.
Public Slots | |
| bool | popUp () |
| bool | pushDown () |
| bool | moveUp (bool do_refresh=true) |
| bool | moveUpByAmount (int number_up=1, bool do_refresh=true) |
| bool | moveDown (bool do_refresh=true) |
| bool | moveDownByAmount (int number_down=1, bool do_refresh=true) |
| bool | pageUp () |
| bool | pageDown () |
| bool | nextActive (bool wrap_around, bool traverse_up_down) |
| bool | prevActive (bool wrap_around, bool traverse_up_down) |
| void | select () |
| void | activate () |
| void | enter () |
| void | deactivate () |
| bool | incSearchStart () |
| bool | incSearchNext () |
Signals | |
| void | nodeSelected (int, IntVector *) |
| void | nodeEntered (int, IntVector *) |
Public Member Functions | |
| UIManagedTreeListType (const QString &name) | |
| ~UIManagedTreeListType () | |
| void | setUpArrowOffset (QPoint &pt) |
| void | setDownArrowOffset (QPoint &pt) |
| void | setLeftArrowOffset (QPoint &pt) |
| void | setRightArrowOffset (QPoint &pt) |
| void | setSelectPoint (QPoint &pt) |
| void | setSelectPadding (int pad) |
| void | setSelectScale (bool scale) |
| void | setArea (QRect an_area) |
| void | setBins (int l_bins) |
| void | setBinAreas (CornerMap some_bin_corners) |
| void | Draw (QPainter *, int drawlayer, int context) |
| void | assignTreeData (GenericTree *a_tree) |
| void | moveToNode (QValueList< int > route_of_branches) |
| void | moveToNodesFirstChild (QValueList< int > route_of_branchs) |
| QValueList< int > * | getRouteToActive () |
| QStringList | getRouteToCurrent () |
| bool | tryToSetActive (QValueList< int > route) |
| bool | tryToSetCurrent (QStringList route) |
| void | setHighlightImage (QPixmap an_image) |
| void | setArrowImages (QPixmap up, QPixmap down, QPixmap left, QPixmap right) |
| void | addIcon (int i, QPixmap *img) |
| void | setFonts (QMap< QString, QString > fonts, QMap< QString, fontProp > fontfcn) |
| void | drawText (QPainter *p, QString the_text, QString font_name, int x, int y, int bin_number, int icon_number) |
| void | setJustification (int jst) |
| int | getJustification () |
| void | makeHighlights () |
| void | syncCurrentWithActive () |
| void | forceLastBin () |
| void | calculateScreenArea () |
| void | setTreeOrdering (int an_int) |
| void | setVisualOrdering (int an_int) |
| void | setIconSelector (int an_int) |
| void | showWholeTree (bool yes_or_no) |
| void | scrambleParents (bool yes_or_no) |
| void | colorSelectables (bool yes_or_no) |
| void | sortTreeByString () |
| void | sortTreeBySelectable () |
| GenericTree * | getCurrentNode () |
| void | setCurrentNode (GenericTree *a_node) |
| int | getActiveBin () |
| void | setActiveBin (int a_bin) |
Private Types | |
| typedef QMap< int, QRect > | CornerMap |
| typedef QValueVector< int > | IntVector |
Private Member Functions | |
| int | calculateEntriesInBin (int bin_number) |
| bool | complexInternalNextPrevActive (bool forward_or_reverse, bool wrap_around) |
Private Attributes | |
| QRect | area |
| int | bins |
| int | active_bin |
| CornerMap | bin_corners |
| CornerMap | screen_corners |
| GenericTree * | my_tree_data |
| GenericTree * | current_node |
| GenericTree * | active_parent |
| GenericTree * | active_node |
| int | tree_order |
| int | visual_order |
| int | iconAttr |
| int | selectPadding |
| bool | selectScale |
| QMap< QString, QString > | m_fonts |
| QMap< QString, fontProp > | m_fontfcns |
| int | m_justification |
| QPixmap | highlight_image |
| QPixmap | up_arrow_image |
| QPixmap | down_arrow_image |
| QPixmap | left_arrow_image |
| QPixmap | right_arrow_image |
| QPtrList< QPixmap > | resized_highlight_images |
| QMap< int, QPixmap * > | highlight_map |
| QValueList< int > | route_to_active |
| bool | show_whole_tree |
| bool | scrambled_parents |
| bool | color_selectables |
| QMap< int, QPixmap * > | iconMap |
| QPoint | selectPoint |
| QPoint | upArrowOffset |
| QPoint | downArrowOffset |
| QPoint | leftArrowOffset |
| QPoint | rightArrowOffset |
| QString | incSearch |
| bool | bIncSearchContains |
typedef QMap<int, QRect> UIManagedTreeListType::CornerMap [private] |
typedef QValueVector<int> UIManagedTreeListType::IntVector [private] |
| UIManagedTreeListType::UIManagedTreeListType | ( | const QString & | name | ) |
Definition at line 3357 of file uitypes.cpp.
| UIManagedTreeListType::~UIManagedTreeListType | ( | ) |
Definition at line 3392 of file uitypes.cpp.
| void UIManagedTreeListType::setUpArrowOffset | ( | QPoint & | pt | ) | [inline] |
| void UIManagedTreeListType::setDownArrowOffset | ( | QPoint & | pt | ) | [inline] |
| void UIManagedTreeListType::setLeftArrowOffset | ( | QPoint & | pt | ) | [inline] |
| void UIManagedTreeListType::setRightArrowOffset | ( | QPoint & | pt | ) | [inline] |
| void UIManagedTreeListType::setSelectPoint | ( | QPoint & | pt | ) | [inline] |
| void UIManagedTreeListType::setSelectPadding | ( | int | pad | ) | [inline] |
| void UIManagedTreeListType::setSelectScale | ( | bool | scale | ) | [inline] |
| void UIManagedTreeListType::setArea | ( | QRect | an_area | ) | [inline] |
| void UIManagedTreeListType::setBins | ( | int | l_bins | ) | [inline] |
| void UIManagedTreeListType::setBinAreas | ( | CornerMap | some_bin_corners | ) | [inline] |
| void UIManagedTreeListType::Draw | ( | QPainter * | p, | |
| int | drawlayer, | |||
| int | context | |||
| ) | [virtual] |
| void UIManagedTreeListType::assignTreeData | ( | GenericTree * | a_tree | ) |
Definition at line 3998 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::constructPlaylistTree(), MoviesUI::drawDisplayTree(), GameTree::GameTree(), MythImageFileDialog::MythImageFileDialog(), and PhoneUIBox::PhoneUIBox().
| void UIManagedTreeListType::moveToNode | ( | QValueList< int > | route_of_branches | ) |
Definition at line 3871 of file uitypes.cpp.
| void UIManagedTreeListType::moveToNodesFirstChild | ( | QValueList< int > | route_of_branchs | ) |
Definition at line 3883 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::checkForPlaylists(), PlaybackBoxMusic::editPlaylist(), PhoneUIBox::PhoneUIBox(), PlaybackBoxMusic::playFirstTrack(), PlaybackBoxMusic::postUpdate(), PlaybackBoxMusic::restorePosition(), and PlaybackBoxMusic::showEditMetadataDialog().
| QValueList< int > * UIManagedTreeListType::getRouteToActive | ( | ) |
Definition at line 3911 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::doUpdatePlaylist(), PlaybackBoxMusic::editPlaylist(), PlaybackBoxMusic::savePosition(), and PlaybackBoxMusic::showEditMetadataDialog().
| QStringList UIManagedTreeListType::getRouteToCurrent | ( | ) |
Definition at line 3928 of file uitypes.cpp.
| bool UIManagedTreeListType::tryToSetActive | ( | QValueList< int > | route | ) |
Definition at line 3944 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::doUpdatePlaylist(), PlaybackBoxMusic::editPlaylist(), PlaybackBoxMusic::restorePosition(), and PlaybackBoxMusic::showEditMetadataDialog().
| bool UIManagedTreeListType::tryToSetCurrent | ( | QStringList | route | ) |
Definition at line 3957 of file uitypes.cpp.
| void UIManagedTreeListType::setHighlightImage | ( | QPixmap | an_image | ) | [inline] |
| void UIManagedTreeListType::setArrowImages | ( | QPixmap | up, | |
| QPixmap | down, | |||
| QPixmap | left, | |||
| QPixmap | right | |||
| ) | [inline] |
| void UIManagedTreeListType::addIcon | ( | int | i, | |
| QPixmap * | img | |||
| ) | [inline] |
| void UIManagedTreeListType::setFonts | ( | QMap< QString, QString > | fonts, | |
| QMap< QString, fontProp > | fontfcn | |||
| ) | [inline] |
| void UIManagedTreeListType::drawText | ( | QPainter * | p, | |
| QString | the_text, | |||
| QString | font_name, | |||
| int | x, | |||
| int | y, | |||
| int | bin_number, | |||
| int | icon_number | |||
| ) |
| void UIManagedTreeListType::setJustification | ( | int | jst | ) | [inline] |
| int UIManagedTreeListType::getJustification | ( | void | ) | [inline] |
| void UIManagedTreeListType::makeHighlights | ( | ) |
| void UIManagedTreeListType::syncCurrentWithActive | ( | ) |
Definition at line 4782 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::editPlaylist(), PlaybackBoxMusic::handleTreeListSignals(), PlaybackBoxMusic::keyPressEvent(), and PhoneUIBox::keyPressEvent().
| void UIManagedTreeListType::forceLastBin | ( | ) | [inline] |
Definition at line 1093 of file uitypes.h.
Referenced by PlaybackBoxMusic::keyPressEvent(), and PhoneUIBox::keyPressEvent().
| void UIManagedTreeListType::calculateScreenArea | ( | void | ) | [virtual] |
Reimplemented from UIType.
Definition at line 4788 of file uitypes.cpp.
Referenced by MythImageFileDialog::MythImageFileDialog(), and XMLParse::parseManagedTreeList().
| void UIManagedTreeListType::setTreeOrdering | ( | int | an_int | ) | [inline] |
Definition at line 1095 of file uitypes.h.
Referenced by PhoneUIBox::PhoneUIBox(), and PlaybackBoxMusic::setShuffleMode().
| void UIManagedTreeListType::setVisualOrdering | ( | int | an_int | ) | [inline] |
Definition at line 1096 of file uitypes.h.
Referenced by PhoneUIBox::PhoneUIBox(), and PlaybackBoxMusic::setShuffleMode().
| void UIManagedTreeListType::setIconSelector | ( | int | an_int | ) | [inline] |
| void UIManagedTreeListType::showWholeTree | ( | bool | yes_or_no | ) | [inline] |
Definition at line 1098 of file uitypes.h.
Referenced by PlaybackBoxMusic::checkForPlaylists(), MythImageFileDialog::MythImageFileDialog(), PhoneUIBox::PhoneUIBox(), MoviesUI::setupTheme(), VideoTreeImp::wireUpTheme(), and GameTree::wireUpTheme().
| void UIManagedTreeListType::scrambleParents | ( | bool | yes_or_no | ) | [inline] |
| void UIManagedTreeListType::colorSelectables | ( | bool | yes_or_no | ) | [inline] |
Definition at line 1100 of file uitypes.h.
Referenced by PhoneUIBox::PhoneUIBox(), MoviesUI::setupTheme(), VideoTreeImp::wireUpTheme(), and GameTree::wireUpTheme().
| void UIManagedTreeListType::sortTreeByString | ( | ) | [inline] |
| void UIManagedTreeListType::sortTreeBySelectable | ( | ) | [inline] |
| GenericTree* UIManagedTreeListType::getCurrentNode | ( | ) | [inline] |
Definition at line 1103 of file uitypes.h.
Referenced by PhoneUIBox::doMenuPopup(), PlaybackBoxMusic::doUpdatePlaylist(), MoviesUI::drawDisplayTree(), MoviesUI::handleTreeListEntry(), GameTree::handleTreeListEntry(), PlaybackBoxMusic::handleTreeListSignals(), PhoneUIBox::handleTreeListSignals(), PhoneUIBox::menuEntryDelete(), PhoneUIBox::menuEntryEdit(), PhoneUIBox::menuEntryMakeSpeedDial(), PhoneUIBox::menuHistoryClear(), PhoneUIBox::menuHistorySave(), PhoneUIBox::menuSpeedDialRemove(), PlaybackBoxMusic::play(), PlaybackBoxMusic::restorePosition(), PlaybackBoxMusic::showEditMetadataDialog(), GameTree::showInfo(), GameTree::toggleFavorite(), PhoneUIBox::vmailEntryDelete(), and PhoneUIBox::vmailEntryDeleteAll().
| void UIManagedTreeListType::setCurrentNode | ( | GenericTree * | a_node | ) |
Definition at line 4019 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::constructPlaylistTree(), PlaybackBoxMusic::doUpdatePlaylist(), PlaybackBoxMusic::handleTreeListSignals(), and MythImageFileDialog::MythImageFileDialog().
| int UIManagedTreeListType::getActiveBin | ( | ) |
Definition at line 4032 of file uitypes.cpp.
| void UIManagedTreeListType::setActiveBin | ( | int | a_bin | ) |
Definition at line 4037 of file uitypes.cpp.
| bool UIManagedTreeListType::popUp | ( | ) | [slot] |
Definition at line 4099 of file uitypes.cpp.
Referenced by MoviesUI::drawDisplayTree(), PlaybackBoxMusic::keyPressEvent(), PhoneUIBox::keyPressEvent(), MythImageFileDialog::keyPressEvent(), MoviesUI::keyPressEvent(), GameTree::keyPressEvent(), PhoneUIBox::menuEntryDelete(), PhoneUIBox::menuHistoryClear(), PhoneUIBox::menuSpeedDialRemove(), PhoneUIBox::vmailEntryDelete(), and PhoneUIBox::vmailEntryDeleteAll().
| bool UIManagedTreeListType::pushDown | ( | ) | [slot] |
Definition at line 4149 of file uitypes.cpp.
Referenced by GameTree::GameTree(), PlaybackBoxMusic::keyPressEvent(), PhoneUIBox::keyPressEvent(), MythImageFileDialog::keyPressEvent(), MoviesUI::keyPressEvent(), and GameTree::keyPressEvent().
Definition at line 4187 of file uitypes.cpp.
Referenced by PhoneUIBox::keyPressEvent(), MythImageFileDialog::keyPressEvent(), MoviesUI::keyPressEvent(), GameTree::keyPressEvent(), and pageUp().
Definition at line 4261 of file uitypes.cpp.
Referenced by PhoneUIBox::keyPressEvent(), MythImageFileDialog::keyPressEvent(), MoviesUI::keyPressEvent(), GameTree::keyPressEvent(), and pageDown().
| bool UIManagedTreeListType::pageUp | ( | ) | [slot] |
Definition at line 4505 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::keyPressEvent(), MythImageFileDialog::keyPressEvent(), MoviesUI::keyPressEvent(), and GameTree::keyPressEvent().
| bool UIManagedTreeListType::pageDown | ( | ) | [slot] |
Definition at line 4534 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::keyPressEvent(), MythImageFileDialog::keyPressEvent(), MoviesUI::keyPressEvent(), and GameTree::keyPressEvent().
| void UIManagedTreeListType::select | ( | ) | [slot] |
Definition at line 4567 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::doUpdatePlaylist(), PlaybackBoxMusic::keyPressEvent(), PhoneUIBox::keyPressEvent(), MythImageFileDialog::keyPressEvent(), MoviesUI::keyPressEvent(), GameTree::keyPressEvent(), and PlaybackBoxMusic::restorePosition().
| void UIManagedTreeListType::activate | ( | ) | [virtual, slot] |
Reimplemented from UIType.
Definition at line 4600 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::next(), and PlaybackBoxMusic::previous().
| void UIManagedTreeListType::enter | ( | ) | [slot] |
Definition at line 4609 of file uitypes.cpp.
Referenced by MoviesUI::drawDisplayTree(), GameTree::GameTree(), and MythImageFileDialog::MythImageFileDialog().
| void UIManagedTreeListType::deactivate | ( | ) | [inline, slot] |
| bool UIManagedTreeListType::incSearchStart | ( | void | ) | [slot] |
Definition at line 4337 of file uitypes.cpp.
Referenced by PlaybackBoxMusic::keyPressEvent(), MoviesUI::keyPressEvent(), and GameTree::keyPressEvent().
| bool UIManagedTreeListType::incSearchNext | ( | void | ) | [slot] |
Definition at line 4373 of file uitypes.cpp.
Referenced by incSearchStart(), PlaybackBoxMusic::keyPressEvent(), MoviesUI::keyPressEvent(), and GameTree::keyPressEvent().
| void UIManagedTreeListType::nodeSelected | ( | int | , | |
| IntVector * | ||||
| ) | [signal] |
Referenced by activate(), moveToNode(), moveToNodesFirstChild(), and select().
| void UIManagedTreeListType::nodeEntered | ( | int | , | |
| IntVector * | ||||
| ) | [signal] |
Referenced by enter(), incSearchNext(), moveDown(), moveDownByAmount(), moveUp(), moveUpByAmount(), popUp(), and pushDown().
| int UIManagedTreeListType::calculateEntriesInBin | ( | int | bin_number | ) | [private] |
QRect UIManagedTreeListType::area [private] |
Definition at line 1136 of file uitypes.h.
Referenced by calculateEntriesInBin(), Draw(), drawText(), and makeHighlights().
int UIManagedTreeListType::bins [private] |
Definition at line 1137 of file uitypes.h.
Referenced by assignTreeData(), calculateEntriesInBin(), Draw(), drawText(), incSearchNext(), makeHighlights(), moveDown(), moveDownByAmount(), moveUp(), moveUpByAmount(), pageDown(), pageUp(), popUp(), pushDown(), setActiveBin(), and UIManagedTreeListType().
int UIManagedTreeListType::active_bin [private] |
Definition at line 1138 of file uitypes.h.
Referenced by activate(), assignTreeData(), Draw(), getActiveBin(), incSearchNext(), moveDown(), moveDownByAmount(), moveUp(), moveUpByAmount(), nextActive(), pageDown(), pageUp(), popUp(), prevActive(), pushDown(), select(), setActiveBin(), and UIManagedTreeListType().
CornerMap UIManagedTreeListType::bin_corners [private] |
Definition at line 1140 of file uitypes.h.
Referenced by calculateEntriesInBin(), calculateScreenArea(), Draw(), drawText(), makeHighlights(), and UIManagedTreeListType().
Definition at line 1141 of file uitypes.h.
Referenced by activate(), calculateScreenArea(), incSearchNext(), moveDown(), moveDownByAmount(), moveUp(), moveUpByAmount(), nextActive(), pageDown(), pageUp(), prevActive(), select(), and UIManagedTreeListType().
GenericTree* UIManagedTreeListType::my_tree_data [private] |
Definition at line 1142 of file uitypes.h.
Referenced by assignTreeData(), moveToNode(), moveToNodesFirstChild(), tryToSetActive(), tryToSetCurrent(), and UIManagedTreeListType().
GenericTree* UIManagedTreeListType::current_node [private] |
Definition at line 1143 of file uitypes.h.
Referenced by assignTreeData(), complexInternalNextPrevActive(), Draw(), enter(), getRouteToCurrent(), incSearchNext(), moveDown(), moveDownByAmount(), moveToNode(), moveToNodesFirstChild(), moveUp(), moveUpByAmount(), nextActive(), pageDown(), pageUp(), popUp(), prevActive(), pushDown(), select(), setCurrentNode(), syncCurrentWithActive(), tryToSetActive(), tryToSetCurrent(), and UIManagedTreeListType().
GenericTree* UIManagedTreeListType::active_parent [private] |
Definition at line 1144 of file uitypes.h.
Referenced by complexInternalNextPrevActive(), moveToNode(), moveToNodesFirstChild(), nextActive(), prevActive(), select(), tryToSetActive(), and UIManagedTreeListType().
GenericTree* UIManagedTreeListType::active_node [private] |
Definition at line 1145 of file uitypes.h.
Referenced by activate(), complexInternalNextPrevActive(), Draw(), getRouteToActive(), moveToNode(), moveToNodesFirstChild(), nextActive(), prevActive(), select(), syncCurrentWithActive(), tryToSetActive(), and UIManagedTreeListType().
int UIManagedTreeListType::tree_order [private] |
Definition at line 1146 of file uitypes.h.
Referenced by moveToNodesFirstChild(), nextActive(), prevActive(), select(), and UIManagedTreeListType().
int UIManagedTreeListType::visual_order [private] |
Definition at line 1147 of file uitypes.h.
Referenced by Draw(), incSearchNext(), moveDown(), moveDownByAmount(), moveUp(), moveUpByAmount(), pushDown(), and UIManagedTreeListType().
int UIManagedTreeListType::iconAttr [private] |
Definition at line 1148 of file uitypes.h.
Referenced by Draw(), drawText(), and UIManagedTreeListType().
int UIManagedTreeListType::selectPadding [private] |
Definition at line 1149 of file uitypes.h.
Referenced by makeHighlights(), and UIManagedTreeListType().
bool UIManagedTreeListType::selectScale [private] |
Definition at line 1150 of file uitypes.h.
Referenced by makeHighlights(), and UIManagedTreeListType().
QMap<QString, QString> UIManagedTreeListType::m_fonts [private] |
Definition at line 1152 of file uitypes.h.
Referenced by calculateEntriesInBin(), Draw(), drawText(), and makeHighlights().
QMap<QString, fontProp> UIManagedTreeListType::m_fontfcns [private] |
Definition at line 1153 of file uitypes.h.
Referenced by calculateEntriesInBin(), Draw(), drawText(), and makeHighlights().
int UIManagedTreeListType::m_justification [private] |
QPixmap UIManagedTreeListType::highlight_image [private] |
QPixmap UIManagedTreeListType::up_arrow_image [private] |
QPixmap UIManagedTreeListType::down_arrow_image [private] |
QPixmap UIManagedTreeListType::left_arrow_image [private] |
QPixmap UIManagedTreeListType::right_arrow_image [private] |
QPtrList<QPixmap> UIManagedTreeListType::resized_highlight_images [private] |
Definition at line 1160 of file uitypes.h.
Referenced by makeHighlights(), and UIManagedTreeListType().
QMap<int, QPixmap*> UIManagedTreeListType::highlight_map [private] |
QValueList<int> UIManagedTreeListType::route_to_active [private] |
Definition at line 1162 of file uitypes.h.
Referenced by getRouteToActive(), and UIManagedTreeListType().
bool UIManagedTreeListType::show_whole_tree [private] |
Definition at line 1163 of file uitypes.h.
Referenced by calculateEntriesInBin(), Draw(), drawText(), incSearchNext(), moveDown(), moveDownByAmount(), moveUp(), moveUpByAmount(), nextActive(), pageDown(), pageUp(), popUp(), prevActive(), pushDown(), select(), and UIManagedTreeListType().
bool UIManagedTreeListType::scrambled_parents [private] |
bool UIManagedTreeListType::color_selectables [private] |
QMap<int, QPixmap*> UIManagedTreeListType::iconMap [private] |
QPoint UIManagedTreeListType::selectPoint [private] |
QPoint UIManagedTreeListType::upArrowOffset [private] |
QPoint UIManagedTreeListType::downArrowOffset [private] |
QPoint UIManagedTreeListType::leftArrowOffset [private] |
QPoint UIManagedTreeListType::rightArrowOffset [private] |
QString UIManagedTreeListType::incSearch [private] |
Definition at line 1172 of file uitypes.h.
Referenced by incSearchNext(), incSearchStart(), and UIManagedTreeListType().
1.5.5