class KFindDialog


Table of contents
Modules
kdeui Classes
All Classes
Module kdeui
Namespace global
Class KFindDialog
Inherits KDialog

A generic "find" dialog.

Author S.R.Haque

Detail:

This widget inherits from KDialog and implements the following additional functionalities: a find string object and an area for a user-defined widget to extend the dialog.

Example:

To use the basic modal find dialog, and then run the search:

KFindDialog dlg(....)
if ( dlg.exec() != QDialog.Accepted )
return;

// proceed with KFind from here

To create a non-modal find dialog:

if ( m_findDia )
KWindowSystem.activateWindow( m_findDia->winId() );
else
{
m_findDia = new KFindDialog(false,...);
connect( m_findDia, SIGNAL(okClicked()), this, SLOT(findTextNext()) );
}
Don't forget to delete and reset m_findDia when closed. (But do NOT delete your KFind object at that point, it's needed for "Find Next")

To use your own extensions: see findExtension().



methods