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 QSpacerItem;
00020 class QLabel;
00021 class QComboBox;
00022 class QCheckBox;
00023 class QButtonGroup;
00024 class QRadioButton;
00025 class QPushButton;
00026
00027 class ReplaceDialog : public QDialog
00028 {
00029 Q_OBJECT
00030
00031 public:
00032 ReplaceDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00033 ~ReplaceDialog();
00034
00035 QLabel* TextLabel1;
00036 QComboBox* stringToFind;
00037 QLabel* TextLabel1_2;
00038 QComboBox* replaceWith;
00039 QCheckBox* regularExpression;
00040 QCheckBox* caseSensitive;
00041 QCheckBox* wholeWord;
00042 QCheckBox* wrapAround;
00043 QButtonGroup* ButtonGroup1;
00044 QRadioButton* forward;
00045 QRadioButton* backward;
00046 QPushButton* replaceButton;
00047 QPushButton* replaceInSelectionButton;
00048 QPushButton* replaceAllButton;
00049 QPushButton* cancelButton;
00050
00051 public slots:
00052 virtual void newSearchString();
00053 virtual void replace();
00054 virtual void replaceAll();
00055 virtual void replaceInSelection();
00056
00057 protected:
00058 QVBoxLayout* ReplaceDialogLayout;
00059 QVBoxLayout* Layout7;
00060 QVBoxLayout* Layout7_2;
00061 QHBoxLayout* Layout9;
00062 QSpacerItem* Spacer22;
00063 QSpacerItem* Spacer21;
00064 QVBoxLayout* Layout2;
00065 QVBoxLayout* Layout3;
00066 QHBoxLayout* ButtonGroup1Layout;
00067 QSpacerItem* Spacer13;
00068 QHBoxLayout* Layout17;
00069
00070 protected slots:
00071 virtual void languageChange();
00072
00073 };
00074
00075 #endif // REPLACEDIALOG_H