UITextType Class Reference

#include <uitypes.h>

Inheritance diagram for UITextType:

UIType UIMultiTextType

List of all members.


Detailed Description

Definition at line 772 of file uitypes.h.


Public Member Functions

 UITextType (const QString &, fontProp *, const QString &, int, QRect displayrect, QRect altdisplayrect)
 ~UITextType ()
QString Name ()
void UseAlternateArea (bool useAlt)
void SetText (const QString &text)
QString GetText ()
QString GetDefaultText ()
void SetJustification (int jst)
int GetJustification ()
void SetCutDown (bool cut)
QRect DisplayArea ()
void SetDisplayArea (const QRect &rect)
virtual void calculateScreenArea ()
virtual void Draw (QPainter *, int, int)
fontPropGetFont (void)
void SetFont (fontProp *font)

Protected Attributes

int m_justification
QRect m_displaysize
QRect m_origdisplaysize
QRect m_altdisplaysize
QString m_message
QString m_default_msg
fontPropm_font
bool m_cutdown

Constructor & Destructor Documentation

UITextType::UITextType ( const QString &  name,
fontProp font,
const QString &  text,
int  dorder,
QRect  displayrect,
QRect  altdisplayrect 
)

Definition at line 2482 of file uitypes.cpp.

UITextType::~UITextType (  ) 

Definition at line 2504 of file uitypes.cpp.


Member Function Documentation

QString UITextType::Name (  )  [inline]

Reimplemented from UIType.

Definition at line 779 of file uitypes.h.

void UITextType::UseAlternateArea ( bool  useAlt  ) 

Definition at line 2508 of file uitypes.cpp.

void UITextType::SetText ( const QString &  text  ) 

Definition at line 2516 of file uitypes.cpp.

Referenced by ZMLivePlayer::changePlayerMonitor(), ThumbFinder::changeSeekAmount(), PhoneUIBox::changeVolumeControl(), checkedSetText(), GameTree::clearRomInfo(), DVDRipBox::connectionClosed(), DVDRipBox::connectionError(), PlaybackBoxMusic::customEvent(), MiniPlayer::customEvent(), RipStatus::customEvent(), PhoneUIStatusBar::DisplayCallState(), ZMPlayer::displayFrameGl(), ZMPlayer::displayFrameXv(), PhoneUIStatusBar::DisplayInCallStats(), PhoneUIStatusBar::DisplayNotification(), LocationDialog::doSearch(), VideoGallery::drawIcon(), MythburnWizard::filenameEditLostFocus(), ExportNativeWizard::filenameEditLostFocus(), ImportMusicDialog::fillWidgets(), ImportNativeWizard::findChannelMatch(), ZMConsole::getDaemonStatus(), ZMPlayer::getEventInfo(), DVDRipBox::goRipScreen(), ZMEvents::gridItemChanged(), EditMetadataDialog::gridItemChanged(), GuideGrid::GuideGrid(), DVDRipBox::handleStatus(), MoviesUI::handleTreeListEntry(), LocationDialog::itemSelected(), StatusBox::keyPressEvent(), MiniPlayer::keyPressEvent(), MythNewsConfig::loadTheme(), MythFlixQueue::loadTheme(), MythFlixConfig::loadTheme(), ImportNativeWizard::loadXML(), MiniPlayer::MiniPlayer(), GuideGrid::paintDate(), GuideGrid::paintInfo(), GuideGrid::paintJumpToChannel(), XMLParse::parseTextArea(), PhoneUIStatusBar::PhoneUIStatusBar(), MythburnWizard::recalcItemSize(), ImportNativeWizard::searchCallsign(), ImportNativeWizard::searchChanID(), ImportNativeWizard::searchChanNo(), ImportNativeWizard::searchName(), PlaybackBoxMusic::seek(), MiniPlayer::seek(), MythburnWizard::selectedChanged(), ImportNativeWizard::selectedChanged(), MythburnWizard::setDestination(), ExportNativeWizard::setDestination(), StatusBox::setHelpText(), ZMLivePlayer::setMonitorLayout(), VideoSelector::setParentalLevel(), MythburnWizard::setProfile(), PlaybackBoxMusic::setRepeatMode(), PlaybackBoxMusic::setShuffleMode(), MythburnWizard::setTheme(), WebcamSettingsBox::SettingDisplayTimerExpiry(), MiniPlayer::showAutoMode(), DVDRipBox::showCurrentJob(), TitleDialog::showCurrentTitle(), MiniPlayer::showRepeatMode(), MiniPlayer::showShuffleMode(), PlaybackBoxMusic::showSpeed(), MiniPlayer::showSpeed(), PhoneUIBox::showVolume(), MiniPlayer::showVolume(), SourceSetup::sourceListItemSelected(), PlaybackBoxMusic::stop(), GuideGrid::timeCheckTimeout(), VideoSelector::titleChanged(), RecordingSelector::titleChanged(), MythburnWizard::titleChanged(), ExportNativeWizard::titleChanged(), WeatherScreen::toggle_pause(), GameTree::toggleFavorite(), PlaybackBoxMusic::toggleFullBlankVisualizer(), VideoFilterDialog::update_numvideo(), MythburnWizard::updateArchiveList(), ExportNativeWizard::updateArchiveList(), ProgLister::updateBackground(), PreviousList::updateBackground(), ViewScheduled::updateConflict(), StatusBox::updateContent(), ThumbFinder::updateCurrentPos(), ScreenSetup::updateHelpText(), ProgramRecPriority::updateInfo(), ProgFinder::updateInfo(), ChannelRecPriority::updateInfo(), MythNews::updateInfoView(), MythFlixQueue::updateInfoView(), MythFlix::updateInfoView(), PhoneUIStatusBar::updateMidCallAudioStats(), PhoneUIStatusBar::updateMidCallCaller(), PhoneUIStatusBar::updateMidCallTime(), PhoneUIStatusBar::updateMidCallVideoStats(), ZMLivePlayer::updateMonitorStatus(), GameTree::updateRomInfo(), WelcomeDialog::updateScreen(), ViewScheduled::updateShowLevel(), ViewScheduleDiff::updateShowLevel(), PlaybackBox::updateShowTitles(), MythburnWizard::updateSizeBar(), ExportNativeWizard::updateSizeBar(), ImportCoverArtDialog::updateStatus(), IconView::UpdateText(), ZMConsole::updateTime(), WelcomeDialog::updateTime(), PlaybackBoxMusic::updateTrackInfo(), MiniPlayer::updateTrackInfo(), ZMEvents::updateUIList(), PlaybackBox::updateUsage(), VideoSelector::updateVideoList(), ProgLister::updateView(), PreviousList::updateView(), ViewScheduleDiff::ViewScheduleDiff(), PlaybackBoxMusic::wipeTrackInfo(), ScreenSetup::wireUI(), PlaybackBoxMusic::wireUpTheme(), PhoneUIBox::wireUpTheme(), and MiniPlayer::wireupTheme().

QString UITextType::GetText (  )  [inline]

QString UITextType::GetDefaultText (  )  [inline]

Definition at line 785 of file uitypes.h.

void UITextType::SetJustification ( int  jst  )  [inline]

Definition at line 787 of file uitypes.h.

Referenced by XMLParse::parseTextArea().

int UITextType::GetJustification (  )  [inline]

Definition at line 788 of file uitypes.h.

void UITextType::SetCutDown ( bool  cut  )  [inline]

Definition at line 789 of file uitypes.h.

Referenced by XMLParse::parseTextArea().

QRect UITextType::DisplayArea (  )  [inline]

void UITextType::SetDisplayArea ( const QRect &  rect  )  [inline]

Definition at line 792 of file uitypes.h.

Referenced by VideoGallery::drawIcon().

void UITextType::calculateScreenArea ( void   )  [virtual]

Reimplemented from UIType.

Definition at line 2584 of file uitypes.cpp.

Referenced by VideoGallery::drawIcon(), XMLParse::parseMultiTextArea(), and XMLParse::parseTextArea().

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

Reimplemented from UIType.

Reimplemented in UIMultiTextType.

Definition at line 2528 of file uitypes.cpp.

Referenced by VideoGallery::drawIcon().

fontProp* UITextType::GetFont ( void   )  [inline]

Definition at line 797 of file uitypes.h.

Referenced by truncateFilename().

void UITextType::SetFont ( fontProp font  ) 

Definition at line 2522 of file uitypes.cpp.

Referenced by ZMConsole::getDaemonStatus(), and ZMLivePlayer::updateMonitorStatus().


Member Data Documentation

int UITextType::m_justification [protected]

QRect UITextType::m_displaysize [protected]

QRect UITextType::m_origdisplaysize [protected]

Definition at line 805 of file uitypes.h.

Referenced by UITextType(), and UseAlternateArea().

QRect UITextType::m_altdisplaysize [protected]

Definition at line 806 of file uitypes.h.

Referenced by UITextType(), and UseAlternateArea().

QString UITextType::m_message [protected]

QString UITextType::m_default_msg [protected]

Definition at line 808 of file uitypes.h.

Referenced by UITextType().


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