DigestPrefsDialog Class Reference

The DigestPrefsDialog class provides a graphical interface for changing application-wide settings. More...

#include <digestprefsdialog.h>

Inheritance diagram for DigestPrefsDialog:

AbstractSettingsView AbstractDigestDbView AbstractView AbstractView MvcBase MvcBase List of all members.

Public Member Functions

 DigestPrefsDialog (AbstractController *settingsController, AbstractController *digestDbController, QWidget *parent=0, Qt::WindowFlags flags=0)

Protected Member Functions

void customEvent (QEvent *)
void settingsResetEvent (VEvent *)
void digestDbResetEvent (VEvent *)
void trainedRecogsEvent (VTrainedRecogsEvent *)

Detailed Description

The DigestPrefsDialog class provides a graphical interface for changing application-wide settings.

It was designed for non-modal use, where all changes come in to effect immediately. Hence there is a "Close" push button (not shown on the Mac OS X version, as to suit Apple HIG) and no "Ok" or "Cancel" push buttons.


Constructor & Destructor Documentation

DigestPrefsDialog::DigestPrefsDialog ( AbstractController settingsController,
AbstractController digestDbController,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

Constructs a preferences dialog with the given parent and flags and attaches itself to the settingsController and digestDbController.

The settingsController and digestDbController pointers may be null, as they'll just be ignored.


Member Function Documentation

void DigestPrefsDialog::customEvent ( QEvent *  e  )  [protected]

Calls either AbstractSettingsView::dispatchEvent() or AbstractDigestDbView::dispatchEvent(), depending on the event sender's module ID.

void DigestPrefsDialog::settingsResetEvent ( VEvent  )  [protected, virtual]

Resets the settings dialog and resynchronises it with the settings model.

Reimplemented from AbstractSettingsView.

void DigestPrefsDialog::digestDbResetEvent ( VEvent  )  [protected, virtual]

Resets widgets that use data from the Digest Database.

Calls refreshRecogComboBox().

Reimplemented from AbstractDigestDbView.

void DigestPrefsDialog::trainedRecogsEvent ( VTrainedRecogsEvent  )  [protected, virtual]

Reimplemented from AbstractDigestDbView.


The documentation for this class was generated from the following files:
Generated on Mon Jul 30 09:46:52 2007 for Digest by  doxygen 1.5.2