MythWizard Class Reference

#include <mythwizard.h>

Inheritance diagram for MythWizard:
MythDialog

List of all members.

Public Slots

virtual void setBackEnabled (QWidget *, bool)
virtual void setNextEnabled (QWidget *, bool)
virtual void setFinishEnabled (QWidget *, bool)
virtual void setHelpText (QString helptext)

Signals

void selected (const QString &)

Public Member Functions

 MythWizard (MythMainWindow *parent, const char *name=0)
virtual ~MythWizard ()
void Show ()
void setFont (const QFont &font)
virtual void addPage (QWidget *, const QString &)
virtual void insertPage (QWidget *, const QString &, int)
virtual void removePage (QWidget *)
QString title (QWidget *) const
void setTitle (QWidget *, const QString &)
QFont titleFont () const
void setTitleFont (const QFont &)
virtual void showPage (QWidget *)
QWidget * currentPage () const
QWidget * page (int) const
int pageCount () const
int indexOf (QWidget *) const
virtual bool appropriate (QWidget *) const
virtual void setAppropriate (QWidget *, bool)
MythPushButtonbackButton () const
MythPushButtonnextButton () const
MythPushButtonfinishButton () const
MythPushButtoncancelButton () const
bool eventFilter (QObject *, QEvent *)
virtual void keyPressEvent (QKeyEvent *)

Protected Slots

virtual void back ()
virtual void next ()

Protected Member Functions

virtual void layOutButtonRow (QHBoxLayout *)
virtual void layOutTitleRow (QHBoxLayout *, const QString &)
void setBackEnabled (bool)
void setNextEnabled (bool)
void setNextPage (QWidget *)
void updateButtons ()
void layOut ()

Protected Attributes

MythWizardPrivated

Properties

QFont titleFont

Detailed Description

Definition at line 50 of file mythwizard.h.


Constructor & Destructor Documentation

MythWizard::MythWizard ( MythMainWindow parent,
const char *  name = 0 
)

Definition at line 99 of file mythwizard.cpp.

MythWizard::~MythWizard (  )  [virtual]

Definition at line 140 of file mythwizard.cpp.


Member Function Documentation

void MythWizard::Show ( void   )  [virtual]

Reimplemented from MythDialog.

Definition at line 150 of file mythwizard.cpp.

void MythWizard::setFont ( const QFont &  font  ) 

Definition at line 162 of file mythwizard.cpp.

void MythWizard::addPage ( QWidget *  page,
const QString &  title 
) [virtual]

Definition at line 168 of file mythwizard.cpp.

Referenced by ConfigurationWizard::dialogWidget().

void MythWizard::insertPage ( QWidget *  page,
const QString &  title,
int  index 
) [virtual]

Definition at line 189 of file mythwizard.cpp.

void MythWizard::removePage ( QWidget *  page  )  [virtual]

Definition at line 602 of file mythwizard.cpp.

Referenced by eventFilter().

QString MythWizard::title ( QWidget *  page  )  const

Definition at line 380 of file mythwizard.cpp.

void MythWizard::setTitle ( QWidget *  page,
const QString &  title 
)

Definition at line 386 of file mythwizard.cpp.

QFont MythWizard::titleFont (  )  const
void MythWizard::setTitleFont ( const QFont &  font  ) 

Definition at line 400 of file mythwizard.cpp.

void MythWizard::showPage ( QWidget *  page  )  [virtual]

Definition at line 214 of file mythwizard.cpp.

Referenced by back(), next(), removePage(), and Show().

QWidget * MythWizard::currentPage (  )  const

Definition at line 375 of file mythwizard.cpp.

Referenced by keyPressEvent(), removePage(), and setTitle().

QWidget * MythWizard::page ( int  index  )  const
int MythWizard::pageCount (  )  const

Definition at line 250 of file mythwizard.cpp.

Referenced by keyPressEvent(), page(), removePage(), Show(), and showPage().

int MythWizard::indexOf ( QWidget *  page  )  const

Definition at line 255 of file mythwizard.cpp.

Referenced by keyPressEvent(), and showPage().

bool MythWizard::appropriate ( QWidget *  page  )  const [virtual]

Definition at line 337 of file mythwizard.cpp.

Referenced by back(), layOutButtonRow(), next(), showPage(), and updateButtons().

void MythWizard::setAppropriate ( QWidget *  page,
bool  appropriate 
) [virtual]
MythPushButton * MythWizard::backButton (  )  const

Definition at line 405 of file mythwizard.cpp.

MythPushButton * MythWizard::nextButton (  )  const

Definition at line 410 of file mythwizard.cpp.

Referenced by showPage().

MythPushButton * MythWizard::finishButton (  )  const

Definition at line 415 of file mythwizard.cpp.

Referenced by showPage().

MythPushButton * MythWizard::cancelButton (  )  const

Definition at line 420 of file mythwizard.cpp.

bool MythWizard::eventFilter ( QObject *  o,
QEvent *  e 
)

Definition at line 554 of file mythwizard.cpp.

void MythWizard::keyPressEvent ( QKeyEvent *  e  )  [virtual]

Reimplemented from MythDialog.

Definition at line 564 of file mythwizard.cpp.

void MythWizard::setBackEnabled ( QWidget *  page,
bool  enable 
) [virtual, slot]

Definition at line 307 of file mythwizard.cpp.

Referenced by showPage(), and updateButtons().

void MythWizard::setNextEnabled ( QWidget *  page,
bool  enable 
) [virtual, slot]

Definition at line 317 of file mythwizard.cpp.

Referenced by RecordingProfile::SetLosslessTranscode(), showPage(), and updateButtons().

void MythWizard::setFinishEnabled ( QWidget *  page,
bool  enable 
) [virtual, slot]
void MythWizard::setHelpText ( QString  helptext  )  [virtual, slot]

Definition at line 636 of file mythwizard.cpp.

void MythWizard::back (  )  [protected, virtual, slot]

Definition at line 263 of file mythwizard.cpp.

Referenced by keyPressEvent(), and MythWizard().

void MythWizard::next (  )  [protected, virtual, slot]

Definition at line 281 of file mythwizard.cpp.

Referenced by keyPressEvent(), and MythWizard().

void MythWizard::selected ( const QString &   )  [signal]

Referenced by showPage().

void MythWizard::layOutButtonRow ( QHBoxLayout *  layout  )  [protected, virtual]

Definition at line 425 of file mythwizard.cpp.

Referenced by layOut().

void MythWizard::layOutTitleRow ( QHBoxLayout *  layout,
const QString &  title 
) [protected, virtual]

Definition at line 482 of file mythwizard.cpp.

Referenced by layOut().

void MythWizard::setBackEnabled ( bool  enable  )  [protected]

Definition at line 297 of file mythwizard.cpp.

void MythWizard::setNextEnabled ( bool  enable  )  [protected]

Definition at line 302 of file mythwizard.cpp.

void MythWizard::setNextPage ( QWidget *   )  [protected]
void MythWizard::updateButtons (  )  [protected]

Definition at line 350 of file mythwizard.cpp.

Referenced by setBackEnabled(), setFinishEnabled(), setNextEnabled(), and showPage().

void MythWizard::layOut (  )  [protected]

Definition at line 488 of file mythwizard.cpp.

Referenced by showPage(), and updateButtons().


Member Data Documentation


Property Documentation

QFont MythWizard::titleFont [read, write]

Definition at line 53 of file mythwizard.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:18 2012 for MythTV by  doxygen 1.6.3