StyleSelect

The StyleSelect class provides a dialog for choosing a style sheet. More...

Publicly inherits QDialog, StyleSheetReceiver.

Public Methods

StyleSelect( QWidget* parent=???, const char* name=??? );
StyleSheet*getStyleSheet( );
voidstyleSheet( StyleSheet* styleSheet );
~StyleSelect( );

Public Slots

voidok( );
voidselected( int index );

Protected Methods

virtual voidresizeEvent( QResizeEvent* e );

Private Data Members

QPushButton*_cancelButton;
QListBox*_list;
QPushButton*_okButton;
StyleSheet*_styleSheet;

Detailed Documentation

The StyleSelect class provides a dialog for choosing a style sheet.

If a style sheet is selected, the DtdManager is sent a request for the corresponding DTD. When the DTD is ready, the dialog hide()s. and the DTD can be retrieved by the caller.

Public Methods Documentation

StyleSheet* getStyleSheet ( );

Return the Style Sheet that was selected.

Public Slots Documentation

void ok ( );

Retrieve the selected style sheet, and close this dialog.

void selected ( int index );

A row in the listbox has been double-clicked. Retrieve the selected style sheet, and close this dialog.

Protected Methods Documentation

virtual void resizeEvent ( QResizeEvent* e );

Reposition my widgets.


Return to Index.
Automatically generated on Aug 11 23:32