UISelectorType Class Reference

#include <uitypes.h>

Inheritance diagram for UISelectorType:

UIPushButtonType UIType

List of all members.


Detailed Description

Definition at line 1317 of file uitypes.h.


Public Slots

void push (bool up_or_down)
void unPush ()
void activate ()
void cleanOut ()
void setToItem (int which_item)
void setToItem (const QString &which_item)

Signals

void pushed (int)

Public Member Functions

 UISelectorType (const QString &name, QPixmap on, QPixmap off, QPixmap pushed, QRect area)
 ~UISelectorType ()
void Draw (QPainter *, int drawlayer, int context)
void calculateScreenArea ()
void addItem (int an_int, const QString &a_string)
void setFont (fontProp *font)
QString getCurrentString ()
int getCurrentInt ()

Private Attributes

QRect m_area
fontPropm_font
QPtrList< IntStringPairmy_data
IntStringPaircurrent_data

Constructor & Destructor Documentation

UISelectorType::UISelectorType ( const QString &  name,
QPixmap  on,
QPixmap  off,
QPixmap  pushed,
QRect  area 
)

Definition at line 5153 of file uitypes.cpp.

UISelectorType::~UISelectorType (  ) 

Definition at line 5311 of file uitypes.cpp.


Member Function Documentation

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

Reimplemented from UIPushButtonType.

Definition at line 5166 of file uitypes.cpp.

void UISelectorType::calculateScreenArea ( void   )  [virtual]

Reimplemented from UIPushButtonType.

Definition at line 5214 of file uitypes.cpp.

Referenced by XMLParse::parseSelector().

void UISelectorType::addItem ( int  an_int,
const QString &  a_string 
)

void UISelectorType::setFont ( fontProp font  )  [inline]

Definition at line 1337 of file uitypes.h.

Referenced by XMLParse::parseSelector().

QString UISelectorType::getCurrentString (  ) 

int UISelectorType::getCurrentInt (  ) 

void UISelectorType::push ( bool  up_or_down  )  [slot]

void UISelectorType::unPush (  )  [virtual, slot]

Reimplemented from UIPushButtonType.

Definition at line 5305 of file uitypes.cpp.

void UISelectorType::activate (  )  [inline, virtual, slot]

Reimplemented from UIPushButtonType.

Definition at line 1345 of file uitypes.h.

void UISelectorType::cleanOut (  )  [inline, slot]

Definition at line 1346 of file uitypes.h.

Referenced by FileAssocDialog::showCurrentFA(), and TitleDialog::showCurrentTitle().

void UISelectorType::setToItem ( int  which_item  )  [slot]

void UISelectorType::setToItem ( const QString &  which_item  )  [slot]

Definition at line 5244 of file uitypes.cpp.

void UISelectorType::pushed ( int   )  [signal]


Member Data Documentation

QRect UISelectorType::m_area [private]

Definition at line 1356 of file uitypes.h.

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

Definition at line 1357 of file uitypes.h.

Referenced by Draw().

Definition at line 1358 of file uitypes.h.

Referenced by addItem(), push(), setToItem(), UISelectorType(), and ~UISelectorType().

Definition at line 1359 of file uitypes.h.

Referenced by addItem(), Draw(), getCurrentInt(), getCurrentString(), push(), setToItem(), and UISelectorType().


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