Mercurial > hg > easyhg
view settingsdialog.h @ 45:4286836bb3c9
* Some more work on graph layout; ensure LANG is set for parseable UTF8 output when running Hg
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 10 Nov 2010 12:44:11 +0000 |
parents | 45bfb8dc1faf |
children | f583e44d9d31 |
line wrap: on
line source
#ifndef SETTINGSDIALOG_H #define SETTINGSDIALOG_H #include "mainwindow.h" /**************************************************************************** ** Copyright (C) Jari Korhonen, 2010 (under lgpl) ****************************************************************************/ #include <QDialog> #include <QLabel> #include <QLineEdit> #include <QComboBox> #include <QPushButton> class SettingsDialog : public QDialog { Q_OBJECT public: SettingsDialog(QWidget *parent = 0); private slots: void okClicked(); void cancelClicked(); void browseWorkFolder(); void browseRemoteRepo(); private: QLabel *userInfoLabel; QLineEdit *userInfoLineEdit; QLabel *remoteRepoLabel; QComboBox *remoteRepoCombo; QPushButton *remoteRepoBrowseButton; QHBoxLayout *remoteRepoLayout; QLabel *workFolderLabel; QComboBox *workFolderCombo; QPushButton *workFolderBrowseButton; QHBoxLayout *workFolderLayout; QPushButton *okButton; QPushButton *cancelButton; MainWindow *mainWnd; void browseDirAndSetCombo(QComboBox *combo); void insertPathToMruList(QString newPath, QString mruList[]); }; #endif // SETTINGSDIALOG_H