UIListType Class Reference

#include <uitypes.h>

Inheritance diagram for UIListType:

UIType

List of all members.


Detailed Description

Definition at line 514 of file uitypes.h.


Public Types

enum  ItemArrows { ARROW_NONE, ARROW_LEFT, ARROW_RIGHT, ARROW_BOTH }

Public Slots

bool takeFocus ()
void looseFocus ()

Public Member Functions

 UIListType (const QString &, QRect, int)
 ~UIListType ()
void SetCount (int cnt)
void SetItemText (int, int, QString)
void SetItemText (int, QString)
void SetItemArrow (int, int)
void SetActive (bool act)
void SetItemCurrent (int cur)
void SetColumnWidth (int col, int width)
void SetColumnContext (int col, int context)
void SetColumnPad (int pad)
void SetImageLeftArrow (QPixmap img, QPoint loc)
void SetImageRightArrow (QPixmap img, QPoint loc)
void SetImageUpArrow (QPixmap img, QPoint loc)
void SetImageDownArrow (QPixmap img, QPoint loc)
void SetImageSelection (QPixmap img, QPoint loc)
void SetUpArrow (bool arrow)
void SetDownArrow (bool arrow)
void SetFill (QRect area, QColor color, int type)
void SetFonts (QMap< QString, QString > fonts, QMap< QString, fontProp > fontfcn)
void EnableForcedFont (int num, QString func)
int GetCurrentItem ()
int GetItems ()
QString GetItemText (int, int col=1)
void ResetList ()
void ResetArrows ()
void Draw (QPainter *, int drawlayer, int)
bool ShowSelAlways () const
void ShowSelAlways (bool bnew)
void calculateScreenArea ()

Private Attributes

int m_selheight
int m_justification
int m_columns
int m_current
bool m_active
int m_pad
int m_count
bool m_darrow
bool m_uarrow
bool m_showSelAlways
QRect m_fill_area
QColor m_fill_color
int m_fill_type
QPixmap m_selection
QPixmap m_downarrow
QPixmap m_uparrow
QPixmap m_leftarrow
QPixmap m_rightarrow
QPoint m_selection_loc
QPoint m_downarrow_loc
QPoint m_uparrow_loc
QPoint m_rightarrow_loc
QPoint m_leftarrow_loc
QRect m_area
QMap< QString, QString > m_fonts
QMap< QString, fontPropm_fontfcns
QMap< int, QString > forceFonts
QMap< int, QString > listData
QMap< int, int > listArrows
QMap< int, int > columnWidth
QMap< int, int > columnContext

Member Enumeration Documentation

Enumerator:
ARROW_NONE 
ARROW_LEFT 
ARROW_RIGHT 
ARROW_BOTH 

Definition at line 522 of file uitypes.h.


Constructor & Destructor Documentation

UIListType::UIListType ( const QString &  name,
QRect  area,
int  dorder 
)

Definition at line 1008 of file uitypes.cpp.

UIListType::~UIListType (  ) 

Definition at line 1027 of file uitypes.cpp.


Member Function Documentation

void UIListType::SetCount ( int  cnt  )  [inline]

Definition at line 524 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetItemText ( int  num,
int  column,
QString  data 
)

void UIListType::SetItemText ( int  num,
QString  data 
)

Definition at line 1281 of file uitypes.cpp.

void UIListType::SetItemArrow ( int  num,
int  which 
)

Definition at line 1287 of file uitypes.cpp.

Referenced by ManagedList::update().

void UIListType::SetActive ( bool  act  )  [inline]

void UIListType::SetItemCurrent ( int  cur  )  [inline]

void UIListType::SetColumnWidth ( int  col,
int  width 
) [inline]

Definition at line 539 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetColumnContext ( int  col,
int  context 
) [inline]

Definition at line 540 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetColumnPad ( int  pad  )  [inline]

Definition at line 541 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetImageLeftArrow ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 542 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetImageRightArrow ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 544 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetImageUpArrow ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 546 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetImageDownArrow ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 548 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetImageSelection ( QPixmap  img,
QPoint  loc 
) [inline]

Definition at line 550 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetUpArrow ( bool  arrow  )  [inline]

void UIListType::SetDownArrow ( bool  arrow  )  [inline]

void UIListType::SetFill ( QRect  area,
QColor  color,
int  type 
) [inline]

Definition at line 556 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::SetFonts ( QMap< QString, QString >  fonts,
QMap< QString, fontProp fontfcn 
) [inline]

Definition at line 560 of file uitypes.h.

Referenced by XMLParse::parseListArea().

void UIListType::EnableForcedFont ( int  num,
QString  func 
) [inline]

int UIListType::GetCurrentItem (  )  [inline]

Definition at line 564 of file uitypes.h.

Referenced by StatusBox::clicked(), StatusBox::keyPressEvent(), and StatusBox::setHelpText().

int UIListType::GetItems (  )  [inline]

QString UIListType::GetItemText ( int  num,
int  col = 1 
)

void UIListType::ResetList (  )  [inline]

void UIListType::ResetArrows (  )  [inline]

Definition at line 569 of file uitypes.h.

void UIListType::Draw ( QPainter *  dr,
int  drawlayer,
int  context 
) [virtual]

Reimplemented from UIType.

Definition at line 1031 of file uitypes.cpp.

bool UIListType::ShowSelAlways (  )  const [inline]

Definition at line 571 of file uitypes.h.

Referenced by PlaybackBox::PlaybackBox().

void UIListType::ShowSelAlways ( bool  bnew  )  [inline]

Definition at line 572 of file uitypes.h.

void UIListType::calculateScreenArea ( void   )  [virtual]

Reimplemented from UIType.

Definition at line 1293 of file uitypes.cpp.

Referenced by XMLParse::parseListArea().

bool UIListType::takeFocus (  )  [virtual, slot]

Reimplemented from UIType.

Definition at line 1318 of file uitypes.cpp.

void UIListType::looseFocus (  )  [virtual, slot]

Reimplemented from UIType.

Definition at line 1324 of file uitypes.cpp.


Member Data Documentation

int UIListType::m_selheight [private]

Definition at line 581 of file uitypes.h.

Referenced by Draw().

Definition at line 582 of file uitypes.h.

Referenced by Draw(), and UIListType().

int UIListType::m_columns [private]

Definition at line 583 of file uitypes.h.

Referenced by Draw(), SetItemArrow(), SetItemText(), and UIListType().

int UIListType::m_current [private]

Definition at line 584 of file uitypes.h.

Referenced by Draw(), and UIListType().

Definition at line 585 of file uitypes.h.

Referenced by Draw(), and UIListType().

int UIListType::m_pad [private]

Definition at line 586 of file uitypes.h.

Referenced by Draw().

int UIListType::m_count [private]

Definition at line 587 of file uitypes.h.

Referenced by Draw(), and UIListType().

Definition at line 588 of file uitypes.h.

Referenced by Draw(), and UIListType().

Definition at line 589 of file uitypes.h.

Referenced by Draw(), and UIListType().

Definition at line 590 of file uitypes.h.

Referenced by Draw(), and UIListType().

QRect UIListType::m_fill_area [private]

Definition at line 591 of file uitypes.h.

Referenced by Draw().

QColor UIListType::m_fill_color [private]

Definition at line 592 of file uitypes.h.

Referenced by Draw().

int UIListType::m_fill_type [private]

Definition at line 593 of file uitypes.h.

Referenced by Draw(), and UIListType().

QPixmap UIListType::m_selection [private]

Definition at line 594 of file uitypes.h.

Referenced by calculateScreenArea(), and Draw().

QPixmap UIListType::m_downarrow [private]

Definition at line 595 of file uitypes.h.

Referenced by calculateScreenArea(), and Draw().

QPixmap UIListType::m_uparrow [private]

Definition at line 596 of file uitypes.h.

Referenced by calculateScreenArea(), and Draw().

QPixmap UIListType::m_leftarrow [private]

Definition at line 597 of file uitypes.h.

Referenced by Draw().

QPixmap UIListType::m_rightarrow [private]

Definition at line 598 of file uitypes.h.

Referenced by Draw().

QPoint UIListType::m_selection_loc [private]

Definition at line 599 of file uitypes.h.

Referenced by calculateScreenArea(), and Draw().

QPoint UIListType::m_downarrow_loc [private]

Definition at line 600 of file uitypes.h.

Referenced by calculateScreenArea(), and Draw().

QPoint UIListType::m_uparrow_loc [private]

Definition at line 601 of file uitypes.h.

Referenced by calculateScreenArea(), and Draw().

QPoint UIListType::m_rightarrow_loc [private]

Definition at line 602 of file uitypes.h.

Referenced by Draw().

QPoint UIListType::m_leftarrow_loc [private]

Definition at line 603 of file uitypes.h.

Referenced by Draw().

QRect UIListType::m_area [private]

Definition at line 604 of file uitypes.h.

Referenced by calculateScreenArea(), Draw(), and UIListType().

QMap<QString, QString> UIListType::m_fonts [private]

Definition at line 605 of file uitypes.h.

Referenced by Draw().

QMap<QString, fontProp> UIListType::m_fontfcns [private]

Definition at line 606 of file uitypes.h.

Referenced by Draw().

QMap<int, QString> UIListType::forceFonts [private]

Definition at line 607 of file uitypes.h.

Referenced by Draw().

QMap<int, QString> UIListType::listData [private]

Definition at line 608 of file uitypes.h.

Referenced by Draw(), GetItemText(), and SetItemText().

QMap<int, int> UIListType::listArrows [private]

Definition at line 609 of file uitypes.h.

Referenced by Draw(), and SetItemArrow().

QMap<int, int> UIListType::columnWidth [private]

Definition at line 610 of file uitypes.h.

Referenced by Draw().

QMap<int, int> UIListType::columnContext [private]

Definition at line 611 of file uitypes.h.

Referenced by Draw().


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