StrucFindDialog class implements the Find dialog.
More...
Inheritance diagram for StrucFindDialog:

Signals | |
| void | findSignal () |
| This signal is raised when the user clicks the "Find" button. | |
| void | findNextSignal () |
| This signal is raised when the user clicks the "Find Next" button. | |
| void | cancelSignal () |
| This signal is raised when the user clicks the "Cancel" button. | |
Public Member Functions | |
| StrucFindDialog (const QString &title, QWidget *parent=NULL, const char *name=NULL) | |
| Creates a new find dialog. | |
| StrucFindDialog (const QString &title, char *searchTerm, QWidget *parent=NULL, const char *name=NULL) | |
| Creates a new find dialog with a pre-set search term. | |
| virtual | ~StrucFindDialog () |
| Destroys the find dialog. | |
| const QString | text () |
| Returns the search term. | |
| bool | ignoreCaseChecked (void) |
| Returns the status of the "Ignore Case" checkbox. | |
Protected Slots | |
| virtual void | reject () |
| Called when the user clicked the "Cancel" button. | |
Protected Member Functions | |
| virtual void | okSlot () |
| Called when the user clicked the "Find" button. | |
| virtual void | cancelSlot () |
| Called when the user clicked the "Cancel" button. | |
| virtual void | nextSlot () |
| Called when the user clicked the "Find Next" button. | |
| virtual void | textChangedSlot (const QString &text) |
| Called when the user entered a new search term. | |
| virtual void | ignoreCaseToggledSlot (bool on) |
| Called when the user checked or unchecked the ignore case checkbox. | |
| void | closeEvent (QCloseEvent *ev) |
| Called when the dialog is closed. | |
Private Member Functions | |
| void | positionDialog (void) |
| Positions the dialog to make sure that it doesn't cover the current view. | |
Private Attributes | |
| Q_OBJECT QAccel * | accel_CtrlG |
| The accelerator that handles the CTRL+G key (alternative shortcut for Find Next). | |
StrucFindDialog class implements the Find dialog.
|
||||||||||||||||
|
Creates a new find dialog. The "Find Next" button is initially disabled, "Ignore Case" is checked.
|
|
||||||||||||||||||||
|
Creates a new find dialog with a pre-set search term. The "Find Next" button is initially enabled, "Ignore Case" is unchecked.
|
|
|
Destroys the find dialog.
|
|
|
This signal is raised when the user clicks the "Cancel" button.
|
|
|
Called when the user clicked the "Cancel" button.
Reimplemented from StrucFindDialogData. |
|
|
Called when the dialog is closed.
|
|
|
This signal is raised when the user clicks the "Find Next" button.
|
|
|
This signal is raised when the user clicks the "Find" button.
|
|
|
Returns the status of the "Ignore Case" checkbox.
|
|
|
Called when the user checked or unchecked the ignore case checkbox.
Reimplemented from StrucFindDialogData. |
|
|
Called when the user clicked the "Find Next" button.
Reimplemented from StrucFindDialogData. |
|
|
Called when the user clicked the "Find" button.
Reimplemented from StrucFindDialogData. |
|
|
Positions the dialog to make sure that it doesn't cover the current view.
|
|
|
Called when the user clicked the "Cancel" button.
|
|
|
Returns the search term.
|
|
|
Called when the user entered a new search term.
Reimplemented from StrucFindDialogData. |
|
|
The accelerator that handles the CTRL+G key (alternative shortcut for Find Next).
|
1.3