MythRemoteLineEdit Class Reference

#include <mythwidgets.h>

List of all members.


Detailed Description

A LineEdit that does special things when you press number keys (enter letters with multiple presses, just like a phone keypad).

Definition at line 183 of file mythwidgets.h.


Public Slots

virtual void deleteLater (void)
virtual void setText (const QString &text)

Signals

void shiftState (bool)
void cycleState (QString current_choice, QString set)
void changeHelpText (QString)
void gotFocus ()
void lostFocus ()
void tryingToLooseFocus (bool up_or_down)
void textChanged (QString)

Public Member Functions

 MythRemoteLineEdit (QWidget *parent, const char *name=0)
 MythRemoteLineEdit (const QString &contents, QWidget *parent, const char *name=0)
 MythRemoteLineEdit (QFont *a_font, QWidget *parent, const char *name=0)
 MythRemoteLineEdit (int lines, QWidget *parent, const char *name=0)
void setHelpText (const QString &)
void setCycleTime (float desired_interval)
void setCharacterColors (QColor unselected, QColor selected, QColor special)
void insert (QString text)
void backspace ()
void del ()
void setPopupPosition (PopupPosition pos)
PopupPosition getPopupPosition (void)
virtual QString text ()

Protected Member Functions

void Teardown (void)
virtual ~MythRemoteLineEdit ()
virtual void focusInEvent (QFocusEvent *e)
virtual void focusOutEvent (QFocusEvent *e)
virtual void keyPressEvent (QKeyEvent *e)
virtual void popupVirtualKeyboard (void)

Private Slots

void startCycle (QString current_choice, QString set)
void updateCycle (QString current_choice, QString set)
void endCycle ()

Private Member Functions

void Init (void)
void cycleKeys (QString cycleList)
void toggleShift (void)
void assignHexColors ()

Private Attributes

QFont * my_font
bool shift
QTimer * cycle_timer
bool active_cycle
QString current_choice
QString current_set
int cycle_time
QString helptext
int pre_cycle_para
int pre_cycle_pos
QString pre_cycle_text_upto
QString pre_cycle_text_from
QColor col_unselected
QColor col_selected
QColor col_special
QString hex_unselected
QString hex_selected
QString hex_special
int m_lines
VirtualKeyboardpopup
bool useVirtualKeyboard
PopupPosition popupPosition

Constructor & Destructor Documentation

MythRemoteLineEdit::MythRemoteLineEdit ( QWidget *  parent,
const char *  name = 0 
)

Definition at line 569 of file mythwidgets.cpp.

MythRemoteLineEdit::MythRemoteLineEdit ( const QString &  contents,
QWidget *  parent,
const char *  name = 0 
)

Definition at line 577 of file mythwidgets.cpp.

MythRemoteLineEdit::MythRemoteLineEdit ( QFont *  a_font,
QWidget *  parent,
const char *  name = 0 
)

Definition at line 587 of file mythwidgets.cpp.

MythRemoteLineEdit::MythRemoteLineEdit ( int  lines,
QWidget *  parent,
const char *  name = 0 
)

Definition at line 596 of file mythwidgets.cpp.

MythRemoteLineEdit::~MythRemoteLineEdit (  )  [protected, virtual]

Definition at line 1099 of file mythwidgets.cpp.


Member Function Documentation

void MythRemoteLineEdit::setHelpText ( const QString &  help  ) 

Definition at line 1068 of file mythwidgets.cpp.

void MythRemoteLineEdit::setCycleTime ( float  desired_interval  ) 

Definition at line 993 of file mythwidgets.cpp.

void MythRemoteLineEdit::setCharacterColors ( QColor  unselected,
QColor  selected,
QColor  special 
)

void MythRemoteLineEdit::insert ( QString  text  ) 

void MythRemoteLineEdit::backspace (  ) 

Definition at line 1145 of file mythwidgets.cpp.

Referenced by UIKeyboardType::backspaceKey().

void MythRemoteLineEdit::del (  ) 

Definition at line 1139 of file mythwidgets.cpp.

Referenced by UIKeyboardType::delKey().

void MythRemoteLineEdit::setPopupPosition ( PopupPosition  pos  )  [inline]

Definition at line 199 of file mythwidgets.h.

Referenced by MythSearchDialog::MythSearchDialog().

PopupPosition MythRemoteLineEdit::getPopupPosition ( void   )  [inline]

Definition at line 200 of file mythwidgets.h.

Referenced by VirtualKeyboard::SwitchLayout().

QString MythRemoteLineEdit::text ( void   )  [virtual]

Definition at line 852 of file mythwidgets.cpp.

Referenced by TabView::actionAddBookmark(), CustomPriority::addClicked(), CustomEdit::addClicked(), ProgLister::addSearchRecord(), assignHexColors(), backspace(), SmartPlaylistEditor::categoryEditChanged(), CustomPriority::checkSyntax(), CustomEdit::checkSyntax(), ProgLister::chooseEditChanged(), ProgLister::chooseView(), CustomEdit::clauseChanged(), DatabaseBox::copyNewPlaylist(), FileAssocDialog::createExtension(), CustomEdit::CustomEdit(), CustomPriority::CustomPriority(), del(), SmartPlaylistEditor::deleteCategory(), CustomPriority::deleteClicked(), PhoneUIBox::dialUrlVideo(), PhoneUIBox::dialUrlVoice(), PhoneUIBox::directoryAddSelected(), endCycle(), PhoneUIBox::entryAddSelected(), SmartPlaylistEditor::getCategoryAndName(), SmartPLCriteriaRow::getSQL(), UIRemoteEditType::getText(), PhoneUIBox::imSendReply(), insert(), CustomPriority::installClicked(), keyPressEvent(), SmartPlaylistEditor::newCategory(), ManualSchedule::recordClicked(), CustomEdit::recordClicked(), SmartPlaylistEditor::renameCategory(), DatabaseBox::renamePlaylist(), SmartPlaylistEditor::saveClicked(), SmartPLCriteriaRow::saveToDatabase(), SmartPLCriteriaRow::searchAlbum(), SmartPLCriteriaRow::searchArtist(), SmartPLCriteriaRow::searchCompilationArtist(), SmartPLCriteriaRow::searchGenre(), MythSearchDialog::searchTextChanged(), SmartPLCriteriaRow::searchTitle(), MythSearchDialog::setSearchText(), ProgLister::setViewFromEdit(), ProgLister::setViewFromPowerEdit(), MythNews::showEditDialog(), TabView::showEnterURLDialog(), MythPopupBox::showGetTextPopup(), CustomEdit::storeClicked(), UIRemoteEditType::takeFocus(), CustomEdit::testClicked(), CustomPriority::testSchedule(), CustomPriority::textChanged(), CustomEdit::textChanged(), and SmartPlaylistEditor::titleChanged().

void MythRemoteLineEdit::shiftState ( bool   )  [signal]

void MythRemoteLineEdit::cycleState ( QString  current_choice,
QString  set 
) [signal]

void MythRemoteLineEdit::changeHelpText ( QString   )  [signal]

Referenced by focusInEvent(), and setHelpText().

void MythRemoteLineEdit::gotFocus (  )  [signal]

Referenced by focusInEvent().

void MythRemoteLineEdit::lostFocus (  )  [signal]

Referenced by focusOutEvent().

void MythRemoteLineEdit::tryingToLooseFocus ( bool  up_or_down  )  [signal]

Referenced by keyPressEvent().

void MythRemoteLineEdit::textChanged ( QString   )  [signal]

void MythRemoteLineEdit::deleteLater ( void   )  [virtual, slot]

void MythRemoteLineEdit::setText ( const QString &  text  )  [virtual, slot]

void MythRemoteLineEdit::Teardown ( void   )  [protected]

Definition at line 1110 of file mythwidgets.cpp.

Referenced by deleteLater(), and ~MythRemoteLineEdit().

void MythRemoteLineEdit::focusInEvent ( QFocusEvent *  e  )  [protected, virtual]

Definition at line 1076 of file mythwidgets.cpp.

void MythRemoteLineEdit::focusOutEvent ( QFocusEvent *  e  )  [protected, virtual]

Definition at line 1088 of file mythwidgets.cpp.

void MythRemoteLineEdit::keyPressEvent ( QKeyEvent *  e  )  [protected, virtual]

Definition at line 857 of file mythwidgets.cpp.

void MythRemoteLineEdit::popupVirtualKeyboard ( void   )  [protected, virtual]

Definition at line 1122 of file mythwidgets.cpp.

Referenced by keyPressEvent().

void MythRemoteLineEdit::startCycle ( QString  current_choice,
QString  set 
) [private, slot]

Definition at line 654 of file mythwidgets.cpp.

Referenced by cycleKeys().

void MythRemoteLineEdit::updateCycle ( QString  current_choice,
QString  set 
) [private, slot]

Definition at line 694 of file mythwidgets.cpp.

Referenced by cycleKeys(), startCycle(), and toggleShift().

void MythRemoteLineEdit::endCycle (  )  [private, slot]

Definition at line 786 of file mythwidgets.cpp.

Referenced by cycleKeys(), Init(), and keyPressEvent().

void MythRemoteLineEdit::Init ( void   )  [private]

Definition at line 605 of file mythwidgets.cpp.

Referenced by MythRemoteLineEdit().

void MythRemoteLineEdit::cycleKeys ( QString  cycleList  )  [private]

Definition at line 1005 of file mythwidgets.cpp.

Referenced by keyPressEvent().

void MythRemoteLineEdit::toggleShift ( void   )  [private]

Definition at line 1044 of file mythwidgets.cpp.

Referenced by keyPressEvent().

void MythRemoteLineEdit::assignHexColors (  )  [private]

Definition at line 772 of file mythwidgets.cpp.

Referenced by Init(), and setCharacterColors().


Member Data Documentation

QFont* MythRemoteLineEdit::my_font [private]

Definition at line 234 of file mythwidgets.h.

Referenced by Init(), and MythRemoteLineEdit().

Definition at line 240 of file mythwidgets.h.

Referenced by endCycle(), Init(), toggleShift(), and updateCycle().

Definition at line 241 of file mythwidgets.h.

Referenced by cycleKeys(), Init(), startCycle(), and Teardown().

Definition at line 242 of file mythwidgets.h.

Referenced by cycleKeys(), endCycle(), Init(), keyPressEvent(), startCycle(), and toggleShift().

Definition at line 243 of file mythwidgets.h.

Referenced by cycleKeys(), endCycle(), Init(), and toggleShift().

Definition at line 244 of file mythwidgets.h.

Referenced by cycleKeys(), endCycle(), Init(), and toggleShift().

Definition at line 245 of file mythwidgets.h.

Referenced by cycleKeys(), Init(), setCycleTime(), and startCycle().

QString MythRemoteLineEdit::helptext [private]

Definition at line 246 of file mythwidgets.h.

Referenced by focusInEvent(), and setHelpText().

Definition at line 248 of file mythwidgets.h.

Referenced by endCycle(), Init(), startCycle(), and updateCycle().

Definition at line 249 of file mythwidgets.h.

Referenced by endCycle(), Init(), startCycle(), and updateCycle().

Definition at line 250 of file mythwidgets.h.

Referenced by endCycle(), Init(), startCycle(), and updateCycle().

Definition at line 251 of file mythwidgets.h.

Referenced by endCycle(), Init(), startCycle(), and updateCycle().

Definition at line 253 of file mythwidgets.h.

Referenced by assignHexColors(), Init(), and setCharacterColors().

Definition at line 254 of file mythwidgets.h.

Referenced by assignHexColors(), Init(), and setCharacterColors().

Definition at line 255 of file mythwidgets.h.

Referenced by assignHexColors(), Init(), and setCharacterColors().

Definition at line 257 of file mythwidgets.h.

Referenced by assignHexColors(), and updateCycle().

Definition at line 258 of file mythwidgets.h.

Referenced by assignHexColors(), and updateCycle().

Definition at line 259 of file mythwidgets.h.

Referenced by assignHexColors(), and updateCycle().

Definition at line 261 of file mythwidgets.h.

Referenced by Init(), and MythRemoteLineEdit().

Definition at line 263 of file mythwidgets.h.

Referenced by focusOutEvent(), Init(), keyPressEvent(), popupVirtualKeyboard(), and Teardown().

Definition at line 264 of file mythwidgets.h.

Referenced by Init(), and keyPressEvent().

Definition at line 265 of file mythwidgets.h.

Referenced by Init().


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

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