Chris@175: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@175: Chris@175: /* Chris@175: EasyMercurial Chris@175: Chris@175: Based on HgExplorer by Jari Korhonen Chris@175: Copyright (c) 2010 Jari Korhonen Chris@175: Copyright (c) 2010 Chris Cannam Chris@175: Copyright (c) 2010 Queen Mary, University of London Chris@175: Chris@175: This program is free software; you can redistribute it and/or Chris@175: modify it under the terms of the GNU General Public License as Chris@175: published by the Free Software Foundation; either version 2 of the Chris@175: License, or (at your option) any later version. See the file Chris@175: COPYING included with this distribution for more information. Chris@175: */ Chris@175: Chris@175: #ifndef SETTINGS_DIALOG_H Chris@175: #define SETTINGS_DIALOG_H Chris@175: Chris@175: #include Chris@175: #include Chris@175: #include Chris@175: #include Chris@176: #include Chris@175: Chris@175: class SettingsDialog : public QDialog Chris@175: { Chris@175: Q_OBJECT Chris@175: Chris@175: public: Chris@175: SettingsDialog(QWidget *parent = 0); Chris@175: Chris@175: private slots: Chris@175: void hgPathBrowse(); Chris@175: void diffPathBrowse(); Chris@175: void mergePathBrowse(); Chris@178: void editPathBrowse(); Chris@176: void extensionPathBrowse(); Chris@175: Chris@175: void accept(); Chris@175: Chris@175: private: Chris@175: QLineEdit *m_nameEdit; Chris@175: QLineEdit *m_emailEdit; Chris@181: QLabel *m_hgPathLabel; Chris@181: QLabel *m_diffPathLabel; Chris@181: QLabel *m_mergePathLabel; Chris@181: QLabel *m_editPathLabel; Chris@175: Chris@176: QCheckBox *m_useExtension; Chris@181: QLabel *m_extensionPathLabel; Chris@176: Chris@175: QPushButton *m_ok; Chris@181: Chris@181: void browseFor(QString, QLabel *); Chris@175: }; Chris@175: Chris@175: #endif