Mercurial > hg > easyhg
comparison settingsdialog.h @ 176:a6ec8d0bdd34
* Add option whether to use extension or not, and show path for it in settings
author | Chris Cannam |
---|---|
date | Thu, 16 Dec 2010 18:00:12 +0000 |
parents | 6def8bf3be44 |
children | 1a3af8617ea4 |
comparison
equal
deleted
inserted
replaced
175:6def8bf3be44 | 176:a6ec8d0bdd34 |
---|---|
20 | 20 |
21 #include <QDialog> | 21 #include <QDialog> |
22 #include <QLineEdit> | 22 #include <QLineEdit> |
23 #include <QLabel> | 23 #include <QLabel> |
24 #include <QPushButton> | 24 #include <QPushButton> |
25 #include <QCheckBox> | |
25 | 26 |
26 class SettingsDialog : public QDialog | 27 class SettingsDialog : public QDialog |
27 { | 28 { |
28 Q_OBJECT | 29 Q_OBJECT |
29 | 30 |
39 void diffPathBrowse(); | 40 void diffPathBrowse(); |
40 void mergePathChanged(const QString &); | 41 void mergePathChanged(const QString &); |
41 void mergePathBrowse(); | 42 void mergePathBrowse(); |
42 void editorPathChanged(const QString &); | 43 void editorPathChanged(const QString &); |
43 void editorPathBrowse(); | 44 void editorPathBrowse(); |
45 void extensionPathChanged(const QString &); | |
46 void extensionPathBrowse(); | |
44 | 47 |
45 void accept(); | 48 void accept(); |
46 | 49 |
47 private: | 50 private: |
48 QLineEdit *m_nameEdit; | 51 QLineEdit *m_nameEdit; |
50 QLineEdit *m_hgPathEdit; | 53 QLineEdit *m_hgPathEdit; |
51 QLineEdit *m_diffPathEdit; | 54 QLineEdit *m_diffPathEdit; |
52 QLineEdit *m_mergePathEdit; | 55 QLineEdit *m_mergePathEdit; |
53 QLineEdit *m_editorPathEdit; | 56 QLineEdit *m_editorPathEdit; |
54 | 57 |
58 QCheckBox *m_useExtension; | |
59 QLineEdit *m_extensionPathEdit; | |
60 | |
55 QPushButton *m_ok; | 61 QPushButton *m_ok; |
56 }; | 62 }; |
57 | 63 |
58 #endif | 64 #endif |