[kpropdlg Index] [kpropdlg Hierarchy] [Headers]
This class provides a property dialog More...
#include <../kpropdlg.h>
Inherits: QDialog
This class provides a property dialog. Tree list, Tabs, or wizard type dialogs are supported. Methods for adding and showing pages have been kept public, allthough sub-Classing it is strongly recommended. to use the auto-config update connect your widgets need to have setConfig and getConfig() slots. Connect them in the KPropDlg subclass with connectConfig( YourWidget ).
[public]
Create a dialog with Tree or Tab support, and any combination of Previous, Next, Apply, OK, and Cancel buttons.
[public]
Add a page to the dialog. If parentpage is omitted, the page will be added at the top level. If the position in the list is omitted, the page will be appended at the end. Returns a QFrame which can hold the page contents.
[public]
Remove a page from the dialog. Give either the name of the index of the page. Returns TRUE on success, FALSE on error.
[public]
Display a specific page of the property dialog. (By widget as opposedto by index so hose inheriting us don't have to worry about harding constants for the first exposure.)
[public]
connect Buttons to default handlers
[public slot]
Receive indication that button was select and emit appropriatesignals. These methods may be reimplemented to change button behaviour.
[public slot]
Set Button to use in the dialog. Button types can be a combination of: PREVIOUS, NEXT, OK, APPLY, CANCEL.
[public slot]
Set the button text.
[public slot]
Set the default button, which is activated by pressing the return key.
[public slot]
For Tree layout, when highlighted, display page based on index.This seems not possible with a tab control
[public slot]
connect the Config object to the setConfig() and getConfig() slots
[protected]
Size the buttons and correct the size change for Motif default buttons.
[protected]
Read the status of the PageList. Can be one of the following:NOLIST, NOPAGES, NOCURRENT, or a combination of LASTPAGE, FIRSTPAGE.
[protected slot]
Slot for simple Prev button action: previous page
[protected slot]
Slot for simple Next button action: next page
[protected slot virtual]
Accept the settings and close the dialog. calls setConfig()
[protected slot virtual]
Cancel and close the dialog.
[protected slot virtual]
Apply the changes, do NOT close the dialog
[signal]
Raise signals when one of the button types are clicked.
[signal]
This signal is emitted when Apply or OK is clicked, to indicate that the KConfig object has been modified.
[signal]
setConfig() and getConfig() can be connected to any child widgetsusing connectConfig(), to enable automatic config updating.
Documentation generated by fester@cal040052 on Sat Oct 10 12:30:32 /etc/localtime 1998 | Kdoc |