UIManagedTreeListType Class Reference

#include <uitypes.h>

Inheritance diagram for UIManagedTreeListType:

UIType

List of all members.


Detailed Description

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 ()
GenericTreegetCurrentNode ()
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
GenericTreemy_tree_data
GenericTreecurrent_node
GenericTreeactive_parent
GenericTreeactive_node
int tree_order
int visual_order
int iconAttr
int selectPadding
bool selectScale
QMap< QString, QString > m_fonts
QMap< QString, fontPropm_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

Member Typedef Documentation

typedef QMap<int, QRect> UIManagedTreeListType::CornerMap [private]

Definition at line 1052 of file uitypes.h.

typedef QValueVector<int> UIManagedTreeListType::IntVector [private]

Definition at line 1053 of file uitypes.h.


Constructor & Destructor Documentation

UIManagedTreeListType::UIManagedTreeListType ( const QString &  name  ) 

Definition at line 3357 of file uitypes.cpp.

UIManagedTreeListType::~UIManagedTreeListType (  ) 

Definition at line 3392 of file uitypes.cpp.


Member Function Documentation

void UIManagedTreeListType::setUpArrowOffset ( QPoint &  pt  )  [inline]

Definition at line 1059 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setDownArrowOffset ( QPoint &  pt  )  [inline]

Definition at line 1060 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setLeftArrowOffset ( QPoint &  pt  )  [inline]

Definition at line 1061 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setRightArrowOffset ( QPoint &  pt  )  [inline]

Definition at line 1062 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setSelectPoint ( QPoint &  pt  )  [inline]

Definition at line 1063 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setSelectPadding ( int  pad  )  [inline]

Definition at line 1064 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setSelectScale ( bool  scale  )  [inline]

Definition at line 1065 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setArea ( QRect  an_area  )  [inline]

Definition at line 1066 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setBins ( int  l_bins  )  [inline]

Definition at line 1067 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setBinAreas ( CornerMap  some_bin_corners  )  [inline]

Definition at line 1068 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::Draw ( QPainter *  p,
int  drawlayer,
int  context 
) [virtual]

Reimplemented from UIType.

Definition at line 3439 of file uitypes.cpp.

void UIManagedTreeListType::assignTreeData ( GenericTree a_tree  ) 

void UIManagedTreeListType::moveToNode ( QValueList< int >  route_of_branches  ) 

Definition at line 3871 of file uitypes.cpp.

void UIManagedTreeListType::moveToNodesFirstChild ( QValueList< int >  route_of_branchs  ) 

QValueList< int > * UIManagedTreeListType::getRouteToActive (  ) 

QStringList UIManagedTreeListType::getRouteToCurrent (  ) 

Definition at line 3928 of file uitypes.cpp.

bool UIManagedTreeListType::tryToSetActive ( QValueList< int >  route  ) 

bool UIManagedTreeListType::tryToSetCurrent ( QStringList  route  ) 

Definition at line 3957 of file uitypes.cpp.

void UIManagedTreeListType::setHighlightImage ( QPixmap  an_image  )  [inline]

Definition at line 1077 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setArrowImages ( QPixmap  up,
QPixmap  down,
QPixmap  left,
QPixmap  right 
) [inline]

Definition at line 1078 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::addIcon ( int  i,
QPixmap *  img 
) [inline]

Definition at line 1085 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::setFonts ( QMap< QString, QString >  fonts,
QMap< QString, fontProp fontfcn 
) [inline]

Definition at line 1086 of file uitypes.h.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::drawText ( QPainter *  p,
QString  the_text,
QString  font_name,
int  x,
int  y,
int  bin_number,
int  icon_number 
)

Definition at line 3396 of file uitypes.cpp.

Referenced by Draw().

void UIManagedTreeListType::setJustification ( int  jst  )  [inline]

Definition at line 1089 of file uitypes.h.

int UIManagedTreeListType::getJustification ( void   )  [inline]

Definition at line 1090 of file uitypes.h.

void UIManagedTreeListType::makeHighlights (  ) 

Definition at line 4049 of file uitypes.cpp.

Referenced by XMLParse::parseManagedTreeList().

void UIManagedTreeListType::syncCurrentWithActive (  ) 

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]

Definition at line 1097 of file uitypes.h.

Referenced by PhoneUIBox::PhoneUIBox().

void UIManagedTreeListType::showWholeTree ( bool  yes_or_no  )  [inline]

void UIManagedTreeListType::scrambleParents ( bool  yes_or_no  )  [inline]

Definition at line 1099 of file uitypes.h.

Referenced by PlaybackBoxMusic::setShuffleMode().

void UIManagedTreeListType::colorSelectables ( bool  yes_or_no  )  [inline]

void UIManagedTreeListType::sortTreeByString (  )  [inline]

Definition at line 1101 of file uitypes.h.

void UIManagedTreeListType::sortTreeBySelectable (  )  [inline]

Definition at line 1102 of file uitypes.h.

GenericTree* UIManagedTreeListType::getCurrentNode (  )  [inline]

void UIManagedTreeListType::setCurrentNode ( GenericTree a_node  ) 

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]

bool UIManagedTreeListType::pushDown (  )  [slot]

bool UIManagedTreeListType::moveUp ( bool  do_refresh = true  )  [slot]

bool UIManagedTreeListType::moveUpByAmount ( int  number_up = 1,
bool  do_refresh = true 
) [slot]

Definition at line 4224 of file uitypes.cpp.

Referenced by PlaybackBoxMusic::keyPressEvent().

bool UIManagedTreeListType::moveDown ( bool  do_refresh = true  )  [slot]

bool UIManagedTreeListType::moveDownByAmount ( int  number_down = 1,
bool  do_refresh = true 
) [slot]

Definition at line 4299 of file uitypes.cpp.

Referenced by PlaybackBoxMusic::keyPressEvent().

bool UIManagedTreeListType::pageUp (  )  [slot]

bool UIManagedTreeListType::pageDown (  )  [slot]

bool UIManagedTreeListType::nextActive ( bool  wrap_around,
bool  traverse_up_down 
) [slot]

Definition at line 4617 of file uitypes.cpp.

Referenced by PlaybackBoxMusic::next().

bool UIManagedTreeListType::prevActive ( bool  wrap_around,
bool  traverse_up_down 
) [slot]

Definition at line 4688 of file uitypes.cpp.

Referenced by PlaybackBoxMusic::previous().

void UIManagedTreeListType::select (  )  [slot]

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]

void UIManagedTreeListType::deactivate (  )  [inline, slot]

Definition at line 1123 of file uitypes.h.

bool UIManagedTreeListType::incSearchStart ( void   )  [slot]

bool UIManagedTreeListType::incSearchNext ( void   )  [slot]

void UIManagedTreeListType::nodeSelected ( int  ,
IntVector  
) [signal]

void UIManagedTreeListType::nodeEntered ( int  ,
IntVector  
) [signal]

int UIManagedTreeListType::calculateEntriesInBin ( int  bin_number  )  [private]

Definition at line 4455 of file uitypes.cpp.

Referenced by pageDown(), and pageUp().

bool UIManagedTreeListType::complexInternalNextPrevActive ( bool  forward_or_reverse,
bool  wrap_around 
) [private]

Definition at line 4758 of file uitypes.cpp.

Referenced by nextActive(), and prevActive().


Member Data Documentation

QRect UIManagedTreeListType::area [private]

Definition at line 1136 of file uitypes.h.

Referenced by calculateEntriesInBin(), Draw(), drawText(), and makeHighlights().

Definition at line 1148 of file uitypes.h.

Referenced by Draw(), drawText(), and UIManagedTreeListType().

Definition at line 1149 of file uitypes.h.

Referenced by makeHighlights(), and UIManagedTreeListType().

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().

Definition at line 1154 of file uitypes.h.

Referenced by UIManagedTreeListType().

Definition at line 1155 of file uitypes.h.

Referenced by makeHighlights().

Definition at line 1156 of file uitypes.h.

Referenced by Draw().

Definition at line 1157 of file uitypes.h.

Referenced by Draw().

Definition at line 1158 of file uitypes.h.

Referenced by Draw(), and drawText().

Definition at line 1159 of file uitypes.h.

Referenced by Draw(), and drawText().

Definition at line 1160 of file uitypes.h.

Referenced by makeHighlights(), and UIManagedTreeListType().

QMap<int, QPixmap*> UIManagedTreeListType::highlight_map [private]

Definition at line 1161 of file uitypes.h.

Referenced by Draw(), and makeHighlights().

QValueList<int> UIManagedTreeListType::route_to_active [private]

Definition at line 1162 of file uitypes.h.

Referenced by getRouteToActive(), and UIManagedTreeListType().

Definition at line 1164 of file uitypes.h.

Referenced by select(), and UIManagedTreeListType().

Definition at line 1165 of file uitypes.h.

Referenced by Draw(), and UIManagedTreeListType().

QMap<int, QPixmap*> UIManagedTreeListType::iconMap [private]

Definition at line 1166 of file uitypes.h.

Referenced by drawText().

Definition at line 1167 of file uitypes.h.

Referenced by Draw(), and UIManagedTreeListType().

Definition at line 1168 of file uitypes.h.

Referenced by Draw(), and UIManagedTreeListType().

Definition at line 1169 of file uitypes.h.

Referenced by Draw(), and UIManagedTreeListType().

Definition at line 1170 of file uitypes.h.

Referenced by Draw(), and UIManagedTreeListType().

Definition at line 1171 of file uitypes.h.

Referenced by Draw(), and UIManagedTreeListType().

Definition at line 1172 of file uitypes.h.

Referenced by incSearchNext(), incSearchStart(), and UIManagedTreeListType().

Definition at line 1173 of file uitypes.h.

Referenced by incSearchNext(), and incSearchStart().


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

Generated on Sat Dec 18 05:16:13 2010 for MythTV by  doxygen 1.5.5