#include <TxqEditorDlog.h>
Inheritance diagram for TxqEditorDlog::

Public Slots | |
| void | closeWindow (int id) |
| Slot used to close the window if the id number matches the window id. More... | |
Signals | |
| virtual void | cancelButtonPressed () |
| signal emitted whenever the Cancel button is pressed. More... | |
| virtual void | revertButtonPressed () |
| Signal emitted whenever the Revert button is pressed. More... | |
| virtual void | applyButtonPressed () |
| Signal emitted whenever the Apply button is pressed. More... | |
| virtual void | applyButtonPressed (int) |
| Signal emitted whenever the Apply button is pressed. More... | |
| virtual void | okButtonPressed () |
| Signal emitted whenever the Ok button is pressed. More... | |
| void | aboutToClose (int id) |
| Signal emitted with the windowId number whenver the editor is about to close. More... | |
Public Methods | |
| TxqEditorDlog (TxAttributeSet *txa, QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0) | |
| Constructs a TxqEditorDlog which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
| ~TxqEditorDlog () | |
| The destructor will destroy the object and free any allocated resources. More... | |
| void | setAttribute (TxAttributeSet *txa) |
| Set the TxAttributeSet pointer which holds the data to edit. More... | |
| void | setAttributeFilter (vector< string > &filterNames) |
| Set the attribute filter names. More... | |
| void | setWindowId (int id) |
| Set the window Id number. More... | |
Protected Slots | |
| virtual void | revertClicked () |
| Slot used whenever the Revert button is clicked. More... | |
| virtual void | applyClicked () |
| Slot used whenever the Apply button is clicked. More... | |
| virtual void | okClicked () |
| Slot used whenever the Ok button is clicked. More... | |
| virtual void | cancelClicked () |
| Slot used whenever the Cancel button is clicked. More... | |
| virtual void | windowIdSlot () |
| Slot used whenever the Apply and Ok button is clicked. More... | |
| virtual void | closeWindow () |
| Slot used to close the window and set the windowOpen option in the input attribute. More... | |
Protected Attributes | |
| QVBoxLayout* | dlogLayout |
| The layout for this QDialog class. More... | |
| QHBoxLayout* | buttonLayout |
| The layout for the buttons. More... | |
| TxqEditTable* | editor |
| The TxqEditor to edit the attrubutes. More... | |
| QPushButton* | buttonCancel |
| The Cancel button. More... | |
| QPushButton* | buttonRevert |
| The Revert button. More... | |
| QPushButton* | buttonApply |
| The Apply button. More... | |
| QPushButton* | buttonOk |
| The Ok button. More... | |
Private Attributes | |
| TxAttributeSet* | editAttrib |
| The edit attribute set pointer. More... | |
| TxAttributeSet* | attrib |
| The input attribute set pointer. More... | |
| int | windowId |
| The window Id number. More... | |
It adds a Cancel, Revert, Apply, and Ok button to the dialog frame. The user can select an item to edit with the mouse.
Definition at line 41 of file TxqEditorDlog.h.
|
|
Constructs a TxqEditorDlog which is a child of 'parent', with the name 'name' and widget flags set to 'f'. The dialog will by default be modeless, unless you set 'modal' to TRUE to construct a modal dialog.
|
|
|
The destructor will destroy the object and free any allocated resources.
|
|
|
Signal emitted with the windowId number whenver the editor is about to close.
|
|
|
Signal emitted whenever the Apply button is pressed. Signal includes the window Id number. |
|
|
Signal emitted whenever the Apply button is pressed.
|
|
|
Slot used whenever the Apply button is clicked.
|
|
|
signal emitted whenever the Cancel button is pressed.
|
|
|
Slot used whenever the Cancel button is clicked.
|
|
|
Slot used to close the window and set the windowOpen option in the input attribute.
|
|
|
Slot used to close the window if the id number matches the window id.
|
|
|
Signal emitted whenever the Ok button is pressed.
|
|
|
Slot used whenever the Ok button is clicked.
|
|
|
Signal emitted whenever the Revert button is pressed.
|
|
|
Slot used whenever the Revert button is clicked.
|
|
|
Set the TxAttributeSet pointer which holds the data to edit.
|
|
|
Set the attribute filter names. These names may be in the TxAttibuteSet but will not be displayed in the attribute editor.
|
|
|
Set the window Id number.
|
|
|
Slot used whenever the Apply and Ok button is clicked. emits applyButtonPressed signal |
|
|
The input attribute set pointer.
Definition at line 213 of file TxqEditorDlog.h. |
|
|
The Apply button.
Definition at line 195 of file TxqEditorDlog.h. |
|
|
The Cancel button.
Definition at line 185 of file TxqEditorDlog.h. |
|
|
The layout for the buttons.
Definition at line 174 of file TxqEditorDlog.h. |
|
|
The Ok button.
Definition at line 200 of file TxqEditorDlog.h. |
|
|
The Revert button.
Definition at line 190 of file TxqEditorDlog.h. |
|
|
The layout for this QDialog class.
Definition at line 169 of file TxqEditorDlog.h. |
|
|
The edit attribute set pointer. This is an internal pointer used by the editor. Definition at line 208 of file TxqEditorDlog.h. |
|
|
The TxqEditor to edit the attrubutes.
Definition at line 180 of file TxqEditorDlog.h. |
|
|
The window Id number.
Definition at line 218 of file TxqEditorDlog.h. |
Copyright Tech-X Corporation, all rights reserved.