00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef REPLACEDIALOG_H
00011 #define REPLACEDIALOG_H
00012
00013 #include <qvariant.h>
00014 #include <qdialog.h>
00015
00016 class QVBoxLayout;
00017 class QHBoxLayout;
00018 class QGridLayout;
00019 class QLabel;
00020 class QComboBox;
00021 class QCheckBox;
00022 class QButtonGroup;
00023 class QRadioButton;
00024 class QPushButton;
00025
00026 class ReplaceDialog : public QDialog
00027 {
00028 Q_OBJECT
00029
00030 public:
00031 ReplaceDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00032 ~ReplaceDialog();
00033
00034 QLabel* TextLabel1;
00035 QComboBox* stringToFind;
00036 QLabel* TextLabel1_2;
00037 QComboBox* replaceWith;
00038 QCheckBox* regularExpression;
00039 QCheckBox* caseSensitive;
00040 QCheckBox* wholeWord;
00041 QCheckBox* wrapAround;
00042 QButtonGroup* ButtonGroup1;
00043 QRadioButton* forward;
00044 QRadioButton* backward;
00045 QPushButton* replaceButton;
00046 QPushButton* replaceInSelectionButton;
00047 QPushButton* replaceAllButton;
00048 QPushButton* cancelButton;
00049
00050 public slots:
00051 virtual void newSearchString();
00052 virtual void replace();
00053 virtual void replaceAll();
00054 virtual void replaceInSelection();
00055
00056 protected:
00057 QVBoxLayout* ReplaceDialogLayout;
00058 QVBoxLayout* Layout7;
00059 QVBoxLayout* Layout7_2;
00060 QHBoxLayout* Layout9;
00061 QVBoxLayout* Layout2;
00062 QVBoxLayout* Layout3;
00063 QHBoxLayout* ButtonGroup1Layout;
00064 QHBoxLayout* Layout17;
00065
00066 protected slots:
00067 virtual void languageChange();
00068
00069 };
00070
00071 #endif // REPLACEDIALOG_H