MythTV  master
Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MythLineEdit Class Reference

#include <mythwidgets.h>

Inheritance diagram for MythLineEdit:
Inheritance graph
[legend]
Collaboration diagram for MythLineEdit:
Collaboration graph
[legend]

Public Slots

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

Signals

void changeHelpText (QString)
 

Public Member Functions

 MythLineEdit (QWidget *parent=NULL, const char *name="MythLineEdit")
 
 MythLineEdit (const QString &text, QWidget *parent=NULL, const char *name="MythLineEdit")
 
void setHelpText (const QString &)
 
void setRW (bool readwrite=true)
 
void setRO ()
 
virtual QString text ()
 

Protected Member Functions

void Teardown (void)
 
virtual ~MythLineEdit ()
 
virtual void keyPressEvent (QKeyEvent *e)
 
virtual void focusInEvent (QFocusEvent *e)
 
virtual void focusOutEvent (QFocusEvent *e)
 
virtual void hideEvent (QHideEvent *e)
 
virtual void mouseDoubleClickEvent (QMouseEvent *e)
 

Private Attributes

QString helptext
 
bool rw
 

Detailed Description

Definition at line 122 of file mythwidgets.h.

Constructor & Destructor Documentation

◆ MythLineEdit() [1/2]

MythLineEdit::MythLineEdit ( QWidget *  parent = NULL,
const char *  name = "MythLineEdit" 
)

Definition at line 421 of file mythwidgets.cpp.

◆ MythLineEdit() [2/2]

MythLineEdit::MythLineEdit ( const QString &  text,
QWidget *  parent = NULL,
const char *  name = "MythLineEdit" 
)

Definition at line 427 of file mythwidgets.cpp.

◆ ~MythLineEdit()

MythLineEdit::~MythLineEdit ( )
protectedvirtual

Definition at line 434 of file mythwidgets.cpp.

Member Function Documentation

◆ setHelpText()

void MythLineEdit::setHelpText ( const QString &  help)

Definition at line 495 of file mythwidgets.cpp.

◆ setRW()

void MythLineEdit::setRW ( bool  readwrite = true)
inline

Definition at line 132 of file mythwidgets.h.

◆ setRO()

void MythLineEdit::setRO ( )
inline

Definition at line 133 of file mythwidgets.h.

◆ text()

QString MythLineEdit::text ( void  )
virtual

Definition at line 490 of file mythwidgets.cpp.

◆ deleteLater

void MythLineEdit::deleteLater ( void  )
virtualslot

Definition at line 439 of file mythwidgets.cpp.

◆ setText

void MythLineEdit::setText ( const QString &  text)
virtualslot

Definition at line 479 of file mythwidgets.cpp.

◆ changeHelpText

void MythLineEdit::changeHelpText ( QString  )
signal

Referenced by focusInEvent(), and setHelpText().

◆ Teardown()

void MythLineEdit::Teardown ( void  )
protected

Definition at line 445 of file mythwidgets.cpp.

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

◆ keyPressEvent()

void MythLineEdit::keyPressEvent ( QKeyEvent *  e)
protectedvirtual

Definition at line 449 of file mythwidgets.cpp.

◆ focusInEvent()

void MythLineEdit::focusInEvent ( QFocusEvent *  e)
protectedvirtual

Definition at line 503 of file mythwidgets.cpp.

◆ focusOutEvent()

void MythLineEdit::focusOutEvent ( QFocusEvent *  e)
protectedvirtual

Definition at line 516 of file mythwidgets.cpp.

◆ hideEvent()

void MythLineEdit::hideEvent ( QHideEvent *  e)
protectedvirtual

Definition at line 522 of file mythwidgets.cpp.

◆ mouseDoubleClickEvent()

void MythLineEdit::mouseDoubleClickEvent ( QMouseEvent *  e)
protectedvirtual

Definition at line 527 of file mythwidgets.cpp.

Member Data Documentation

◆ helptext

QString MythLineEdit::helptext
private

Definition at line 155 of file mythwidgets.h.

Referenced by focusInEvent(), and setHelpText().

◆ rw

bool MythLineEdit::rw
private

Definition at line 156 of file mythwidgets.h.

Referenced by keyPressEvent().


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