Mercurial > hg > easyhg
view settingsdialog.h @ 30:45bfb8dc1faf
UpdateToRev has more power. Copyrights updated. Mrulist of repos added.
author | Jari Korhonen <jtkorhonen@gmail.com> |
---|---|
date | Mon, 14 Jun 2010 21:55:17 +0300 |
parents | e275d0b5d6ca |
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