Source: /app/hbasic/hbasic/dialogs/dlg_find_replace.h
|
|
|
|
/* **************************************************************************
File: find_dialog.h
Desc: Dialog to input string to be searched for.
----------------------------------------------------------------------------
copyright : (C) 2001 HBasic project (Marcus Engels)
***************************************************************************/
/* **************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
/* ----------------------------------------------------------------------- */
/* Classlist: List of classes that will be defined in this source file. */
/* ----------------------------------------------------------------------- */
/**
Class FindDialog : Display a dialog to read the string which the
user would like to find or replace.
*/
/* ----------------------------------------------------------------------- */
/* Changelog: Description of important changes within this file. */
/* Please report with date, maintainer and change description. */
/* ----------------------------------------------------------------------- */
#ifndef FIND_DIALOG_H
#define FIND_DIALOG_H
#include
class QCheckBox;
class QLineEdit;
class QGroupBox;
class QFrame;
class QLabel;
class QRegExp;
class QPushButton;
class FindDialog : public QDialog
{
Q_OBJECT
public:
FindDialog( short diag_type );
void resizeEvent( QResizeEvent *evt );
QRegExp getFindExpr( void );
int getReplaceOnce( void );
QLineEdit *replace_entry;
private:
int yoffset;
QLineEdit *find_entry;
QCheckBox *cb_curspos;
QCheckBox *cb_replace_all;
QPushButton *pic_pingu;
QLabel *lab_find;
QLabel *lab_replace;
QPushButton *btn_cancel;
QPushButton *btn_find;
QPushButton *btn_replace;
QGroupBox *gb_option_group;
QFrame *frm_header;
private slots:
void slotStartFind( void );
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |