Logo Search packages:      
Sourcecode: parley version File versions  Download package

Signals | Public Member Functions | Protected Member Functions | Private Attributes

Practice::StatusToggle Class Reference

Inheritance diagram for Practice::StatusToggle:
Inheritance graph
[legend]
Collaboration diagram for Practice::StatusToggle:
Collaboration graph
[legend]

List of all members.

Signals

void sizeChanged ()
void toggle ()

Public Member Functions

virtual QSize minimumSizeHint () const
void setAlignment (Qt::Alignment alignment)
void setFadingEnabled (bool fading)
void setKeepAspectRatio (Qt::AspectRatioMode mode)
void setPixmap (const QPixmap &pixmap)
void setRenderer (ThemedBackgroundRenderer *renderer)
void setResultState (AbstractFrontend::ResultState state)
void setScalingEnabled (bool scaling, bool onlyDownscaling=true)
 StatusToggle (QWidget *parent=0)
void updatePixmap ()
void updateToggle ()

Protected Member Functions

virtual void paintEvent (QPaintEvent *e)
virtual void resizeEvent (QResizeEvent *e)

Private Attributes

QPixmap m_correctStatus
QPixmap m_defaultStatus
ThemedBackgroundRendererm_renderer
AbstractFrontend::ResultState m_resultState
StatusToggleButtonm_toggle
QAction * m_toggleAction
QPixmap m_toggleCorrect
QPixmap m_toggleCorrectHover
QPixmap m_toggleCorrectPressed
QPixmap m_toggleWrong
QPixmap m_toggleWrongHover
QPixmap m_toggleWrongPressed
QPixmap m_wrongStatus

Detailed Description

Definition at line 26 of file statustoggle.h.


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

Generated by  Doxygen 1.6.0   Back to index