UIType Class Reference

#include <uitypes.h>

Inheritance diagram for UIType:

UIAnimatedImageType UIBarType UIBlackHoleType UICheckBoxType UIGuideType UIImageGridType UIImageType UIKeyboardType UIKeyType UIListBtnType UIListTreeType UIListType UIManagedTreeListType UIPushButtonType UIRemoteEditType UIRichTextType UIStatusBarType UITextButtonType UITextType

List of all members.


Detailed Description

Definition at line 89 of file uitypes.h.


Public Slots

virtual bool takeFocus ()
virtual void looseFocus ()
virtual void activate ()
virtual void refresh ()
virtual void show ()
virtual void hide ()
virtual bool toggleShow ()

Signals

void requestUpdate ()
void requestUpdate (const QRect &)
void requestRegionUpdate (const QRect &)
void takingFocus ()
void loosingFocus ()

Public Member Functions

 UIType (const QString &name)
virtual ~UIType ()
void SetOrder (int order)
void SetParent (LayerSet *)
void SetScreen (double wmult, double hmult)
void SetContext (int con)
int GetContext ()
void SetDebug (bool db)
void allowFocus (bool yes_or_no)
void SetDrawFontShadow (bool state)
QString Name ()
bool canTakeFocus ()
int getOrder ()
virtual void Draw (QPainter *, int, int)
virtual void DrawRegion (QPainter *, QRect &, int, int)
virtual void calculateScreenArea ()
QRect getScreenArea ()
QString cutDown (const QString &data, QFont *font, bool multiline=false, int overload_width=-1, int overload_height=-1)
QString getName ()
bool isShown ()
bool isHidden ()
bool isFocused ()

Protected Attributes

double m_wmult
double m_hmult
int m_context
int m_order
bool m_debug
QString m_name
LayerSetm_parent
bool has_focus
bool takes_focus
QRect screen_area
bool drawFontShadow
bool hidden

Constructor & Destructor Documentation

UIType::UIType ( const QString &  name  ) 

Definition at line 179 of file uitypes.cpp.

UIType::~UIType (  )  [virtual]

Definition at line 203 of file uitypes.cpp.


Member Function Documentation

void UIType::SetOrder ( int  order  ) 

void UIType::SetParent ( LayerSet parent  ) 

void UIType::SetScreen ( double  wmult,
double  hmult 
) [inline]

void UIType::SetContext ( int  con  )  [inline]

int UIType::GetContext ( void   )  [inline]

void UIType::SetDebug ( bool  db  )  [inline]

Definition at line 102 of file uitypes.h.

Referenced by LayerSet::AddType().

void UIType::allowFocus ( bool  yes_or_no  )  [inline]

void UIType::SetDrawFontShadow ( bool  state  )  [inline]

Definition at line 104 of file uitypes.h.

Referenced by LayerSet::SetDrawFontShadow().

QString UIType::Name (  ) 

bool UIType::canTakeFocus (  )  [inline]

int UIType::getOrder (  )  [inline]

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

void UIType::DrawRegion ( QPainter *  dr,
QRect &  area,
int  drawlayer,
int  context 
) [virtual]

Reimplemented in UIListTreeType.

Definition at line 214 of file uitypes.cpp.

Referenced by LayerSet::DrawRegion().

void UIType::calculateScreenArea ( void   )  [virtual]

QRect UIType::getScreenArea (  )  [inline]

QString UIType::cutDown ( const QString &  data,
QFont *  font,
bool  multiline = false,
int  overload_width = -1,
int  overload_height = -1 
)

QString UIType::getName ( void   )  [inline]

bool UIType::isShown (  )  [inline]

bool UIType::isHidden (  )  [inline]

bool UIType::isFocused (  )  [inline]

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

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

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

void UIType::refresh (  )  [virtual, slot]

Reimplemented in UIImageType, UIAnimatedImageType, and UIRepeatedImageType.

Definition at line 257 of file uitypes.cpp.

Referenced by PhoneUIBox::addNewDirectoryEntry(), UIMultiTextType::animate(), DVDRipBox::checkDisc(), PlaybackBoxMusic::checkForPlaylists(), UIMultiTextType::clearTexts(), DVDRipBox::connectionClosed(), PlaybackBoxMusic::customEvent(), PlaybackBoxMusic::doUpdatePlaylist(), PlaybackBoxMusic::editPlaylist(), UIManagedTreeListType::forceLastBin(), ThumbFinder::getThumbImages(), ZMEvents::gridItemChanged(), UIImageGridType::handleKeyPress(), DVDRipBox::handleMedia(), hide(), UIManagedTreeListType::incSearchNext(), VideoSelector::keyPressEvent(), RecordingSelector::keyPressEvent(), PlaybackBoxMusic::keyPressEvent(), PhoneUIBox::keyPressEvent(), MythburnWizard::keyPressEvent(), ImportNativeWizard::keyPressEvent(), FileSelector::keyPressEvent(), ExportNativeWizard::keyPressEvent(), DirectoryFinder::keyPressEvent(), looseFocus(), PhoneUIBox::menuEntryDelete(), PhoneUIBox::menuEntryMakeSpeedDial(), PhoneUIBox::menuHistoryClear(), PhoneUIBox::menuSpeedDialRemove(), UIManagedTreeListType::moveDown(), UIManagedTreeListType::moveDownByAmount(), UIManagedTreeListType::moveUp(), UIManagedTreeListType::moveUpByAmount(), MythImageFileDialog::MythImageFileDialog(), UIManagedTreeListType::nextActive(), UIManagedTreeListType::pageDown(), UIManagedTreeListType::pageUp(), PhoneUIBox::PhoneUIBox(), UIManagedTreeListType::popUp(), PlaybackBoxMusic::postUpdate(), UIManagedTreeListType::prevActive(), PhoneUIBox::ProcessSipNotification(), PhoneUIBox::ProcessSipStateChange(), UIKeyType::push(), UISelectorType::push(), UICheckBoxType::push(), UITextButtonType::push(), UIPushButtonType::push(), UIManagedTreeListType::pushDown(), UIRichTextType::refreshImage(), UIImageGridType::removeItem(), UIManagedTreeListType::select(), UIImageGridType::setCurrentPos(), ExportNativeWizard::setDestination(), UITextType::SetFont(), ZMEvents::setGridLayout(), UIKeyType::SetOn(), UIKeyType::SetShiftState(), PlaybackBoxMusic::setShuffleMode(), UICheckBoxType::setState(), UITextButtonType::setText(), UITextType::SetText(), UISelectorType::setToItem(), UIStatusBarType::SetUsed(), show(), PlaybackBoxMusic::showEditMetadataDialog(), PlaybackBoxMusic::showSpeed(), PlaybackBoxMusic::showVolume(), PhoneUIBox::showVolume(), takeFocus(), PlaybackBoxMusic::toggleFullBlankVisualizer(), MythburnWizard::toggleReorderState(), VideoSelector::toggleSelectedState(), RecordingSelector::toggleSelectedState(), TitleDialog::toggleTitle(), UIKeyType::unPush(), UISelectorType::unPush(), UITextButtonType::unPush(), UIPushButtonType::unPush(), MythburnWizard::updateArchiveList(), ExportNativeWizard::updateArchiveList(), mythvideo_videomanager::ListHandler::UpdateContents(), mythvideo_videomanager::SearchListHandler::UpdateContents(), ImportNativeWizard::updateFileList(), FileSelector::updateFileList(), DirectoryFinder::updateFileList(), ZMEvents::updateImageGrid(), EditMetadataDialog::updateImageGrid(), UIImageGridType::updateItem(), ZMConsole::updateMonitorList(), RecordingSelector::updateRecordingList(), MythburnWizard::updateSizeBar(), ExportNativeWizard::updateSizeBar(), ThumbFinder::updateThumb(), Ripper::updateTrackList(), ZMEvents::updateUIList(), VideoSelector::updateVideoList(), PhoneUIBox::vmailEntryDelete(), and PhoneUIBox::vmailEntryDeleteAll().

void UIType::show ( void   )  [virtual, slot]

void UIType::hide ( void   )  [virtual, slot]

bool UIType::toggleShow (  )  [virtual, slot]

Definition at line 280 of file uitypes.cpp.

void UIType::requestUpdate (  )  [signal]

void UIType::requestUpdate ( const QRect &   )  [signal]

void UIType::requestRegionUpdate ( const QRect &   )  [signal]

void UIType::takingFocus (  )  [signal]

Referenced by takeFocus().

void UIType::loosingFocus (  )  [signal]

Referenced by looseFocus().


Member Data Documentation

double UIType::m_wmult [protected]

double UIType::m_hmult [protected]

int UIType::m_context [protected]

int UIType::m_order [protected]

bool UIType::m_debug [protected]

QString UIType::m_name [protected]

LayerSet* UIType::m_parent [protected]

bool UIType::has_focus [protected]

QRect UIType::screen_area [protected]

bool UIType::hidden [protected]


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