casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Signals | Public Member Functions | Private Slots
casa::TBOptions Class Reference

Widget to edit the browsing options. More...

#include <TBOptions.qo.h>

List of all members.

Signals

void saveOptions (TBOptions *opt)
 
     

Public Member Functions

 TBOptions ()
 Default Constructor.
 ~TBOptions ()
bool saveView ()
 Returns true if the "save view on close" check box is checked, false otherwise.
void setSaveView (bool saveView)
 Sets the state on the "save view on close" check box.
int debugLevel ()
 Returns the debug threshold as indicated by the QComboBox.
void setDebugLevel (int newLevel)
 Sets the debug threshold via the QComboBox.
int chooserHistoryLimit () const
 Gets/Sets the file chooser history limit.
void setChooserHistoryLimit (int limit)

Private Slots

void restoreDefaults ()
 Restores the default options to the dialog.
void save ()
 Slot for the "Save" button.
void cancel ()
 Slot for the "Cancel" button.

Detailed Description

Widget to edit the browsing options.

Synopsis

TBOptions is used to display and edit any current browsing options. Currently, the only available options are: save current view on save, and setting the debug threshold. Important: the parent/caller is responsible for connecting the saveOptions() signal and actually setting the options as requested.

Definition at line 51 of file TBOptions.qo.h.


Constructor & Destructor Documentation

Default Constructor.


Member Function Documentation

void casa::TBOptions::cancel ( ) [private, slot]

Slot for the "Cancel" button.

Closes and deletes the widget.

Gets/Sets the file chooser history limit.

Returns the debug threshold as indicated by the QComboBox.

void casa::TBOptions::restoreDefaults ( ) [private, slot]

Restores the default options to the dialog.

void casa::TBOptions::save ( ) [private, slot]

Slot for the "Save" button.

Emits the saveOptions() signal.

void casa::TBOptions::saveOptions ( TBOptions opt) [signal]

     

saveOptions is emitted when the user has configured the options and clicked the "Save" button. A pointer to this TBOptions object is included as the parent/caller should delete it.

Returns true if the "save view on close" check box is checked, false otherwise.

void casa::TBOptions::setDebugLevel ( int  newLevel)

Sets the debug threshold via the QComboBox.

void casa::TBOptions::setSaveView ( bool  saveView)

Sets the state on the "save view on close" check box.


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