Mercurial > hg > easyhg
annotate src/startupdialog.h @ 532:06507a59f2b8 easyhg_v1.1
This will do for the Merge topic
author | Chris Cannam |
---|---|
date | Wed, 23 Nov 2011 17:24:47 +0000 |
parents | b9c153e00e84 |
children | 533519ebc0cb |
rev | line source |
---|---|
Chris@64 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@64 | 2 |
Chris@64 | 3 /* |
Chris@64 | 4 EasyMercurial |
Chris@64 | 5 |
Chris@64 | 6 Based on HgExplorer by Jari Korhonen |
Chris@64 | 7 Copyright (c) 2010 Jari Korhonen |
Chris@244 | 8 Copyright (c) 2011 Chris Cannam |
Chris@244 | 9 Copyright (c) 2011 Queen Mary, University of London |
Chris@64 | 10 |
Chris@64 | 11 This program is free software; you can redistribute it and/or |
Chris@64 | 12 modify it under the terms of the GNU General Public License as |
Chris@64 | 13 published by the Free Software Foundation; either version 2 of the |
Chris@64 | 14 License, or (at your option) any later version. See the file |
Chris@64 | 15 COPYING included with this distribution for more information. |
Chris@64 | 16 */ |
Chris@64 | 17 |
Chris@64 | 18 #ifndef STARTUP_DIALOG_H |
Chris@64 | 19 #define STARTUP_DIALOG_H |
Chris@64 | 20 |
Chris@64 | 21 #include <QDialog> |
Chris@64 | 22 #include <QLineEdit> |
Chris@64 | 23 #include <QLabel> |
Chris@64 | 24 #include <QPushButton> |
Chris@64 | 25 |
Chris@64 | 26 class StartupDialog : public QDialog |
Chris@64 | 27 { |
Chris@64 | 28 Q_OBJECT |
Chris@64 | 29 |
Chris@64 | 30 public: |
Chris@64 | 31 StartupDialog(QWidget *parent = 0); |
Chris@64 | 32 |
Chris@64 | 33 private slots: |
Chris@64 | 34 void realNameChanged(const QString &); |
Chris@64 | 35 void emailChanged(const QString &); |
Chris@64 | 36 void accept(); |
Chris@64 | 37 |
Chris@64 | 38 private: |
Chris@64 | 39 QLineEdit *m_nameEdit; |
Chris@64 | 40 QLineEdit *m_emailEdit; |
Chris@64 | 41 QLabel *m_example; |
Chris@64 | 42 QPushButton *m_ok; |
Chris@64 | 43 |
Chris@64 | 44 QString m_name; |
Chris@64 | 45 QString m_email; |
Chris@64 | 46 |
Chris@64 | 47 void updateExample(); |
Chris@64 | 48 }; |
Chris@64 | 49 |
Chris@64 | 50 #endif |