00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef SETTINGSDIALOG_H
00011 #define SETTINGSDIALOG_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 QTabWidget;
00021 class QWidget;
00022 class QLabel;
00023 class QComboBox;
00024 class QSpinBox;
00025 class QGroupBox;
00026 class QCheckBox;
00027 class QButtonGroup;
00028 class QPushButton;
00029
00030 class SettingsDialog : public QDialog
00031 {
00032 Q_OBJECT
00033
00034 public:
00035 SettingsDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00036 ~SettingsDialog();
00037
00038 QTabWidget* tabs;
00039 QWidget* tab;
00040 QLabel* TextLabel1;
00041 QLabel* TextLabel2;
00042 QLabel* TextLabel3;
00043 QLabel* TextLabel4;
00044 QComboBox* theme;
00045 QComboBox* MDIMode;
00046 QSpinBox* maxNumbersOfRecentFiles;
00047 QSpinBox* maxLengthOfSeletedString;
00048 QGroupBox* groupBox1;
00049 QCheckBox* showDirView;
00050 QCheckBox* showTags;
00051 QCheckBox* showProject;
00052 QCheckBox* showShell;
00053 QCheckBox* showMessages;
00054 QCheckBox* showStdout;
00055 QCheckBox* showStderr;
00056 QCheckBox* showSearch;
00057 QButtonGroup* buttonGroup1;
00058 QCheckBox* showMessagePanel;
00059 QCheckBox* showSidePanel;
00060 QWidget* tab_2;
00061 QLabel* TextLabel5;
00062 QLabel* TextLabel9;
00063 QLabel* textLabel1;
00064 QLabel* textLabel1_2;
00065 QSpinBox* tabWidth;
00066 QComboBox* lineFeeds;
00067 QSpinBox* autoCompletionThreshold;
00068 QComboBox* autoCompletionSource;
00069 QCheckBox* backspaceUnindents;
00070 QCheckBox* indentationsUseTabs;
00071 QCheckBox* autoCompletionCaseSensitivity;
00072 QCheckBox* autoCompletionReplaceWord;
00073 QCheckBox* autoIndent;
00074 QCheckBox* tabIndents;
00075 QWidget* tab_3;
00076 QLabel* TextLabel12;
00077 QLabel* TextLabel11;
00078 QLabel* TextLabel19;
00079 QComboBox* foldStyle;
00080 QComboBox* braceMatching;
00081 QComboBox* whitespaces;
00082 QCheckBox* taskbar;
00083 QCheckBox* statusbar;
00084 QCheckBox* toolbar;
00085 QCheckBox* commandToolbar;
00086 QCheckBox* margin;
00087 QCheckBox* foldMargin;
00088 QCheckBox* lineNumbers;
00089 QCheckBox* endOfLinesVisibility;
00090 QCheckBox* indentationGuides;
00091 QCheckBox* toggleAllFolds;
00092 QCheckBox* wrapLines;
00093 QPushButton* PushButton1;
00094 QPushButton* PushButton2;
00095 QPushButton* PushButton3;
00096
00097 protected:
00098 QVBoxLayout* SettingsDialogLayout;
00099 QVBoxLayout* tabLayout;
00100 QSpacerItem* Spacer35;
00101 QHBoxLayout* Layout15;
00102 QVBoxLayout* Layout13;
00103 QVBoxLayout* Layout14;
00104 QHBoxLayout* groupBox1Layout;
00105 QVBoxLayout* layout62;
00106 QSpacerItem* spacer10;
00107 QVBoxLayout* layout63;
00108 QSpacerItem* spacer9;
00109 QHBoxLayout* buttonGroup1Layout;
00110 QVBoxLayout* tabLayout_2;
00111 QHBoxLayout* layout25;
00112 QVBoxLayout* layout21;
00113 QVBoxLayout* layout23;
00114 QHBoxLayout* layout29;
00115 QVBoxLayout* layout28;
00116 QSpacerItem* Spacer19;
00117 QVBoxLayout* layout24;
00118 QSpacerItem* spacer8;
00119 QVBoxLayout* tabLayout_3;
00120 QHBoxLayout* Layout25;
00121 QVBoxLayout* Layout23;
00122 QVBoxLayout* Layout24;
00123 QHBoxLayout* Layout40;
00124 QVBoxLayout* Layout39;
00125 QSpacerItem* Spacer20;
00126 QVBoxLayout* Layout31;
00127 QVBoxLayout* Layout36;
00128 QSpacerItem* Spacer45;
00129 QVBoxLayout* Layout32;
00130 QHBoxLayout* Layout12;
00131 QSpacerItem* Spacer1;
00132 QSpacerItem* Spacer2;
00133 QSpacerItem* Spacer7;
00134
00135 protected slots:
00136 virtual void languageChange();
00137
00138 virtual void applySettings();
00139 virtual void ok();
00140
00141
00142 };
00143
00144 #endif // SETTINGSDIALOG_H