Mercurial > hg > easyhg
annotate src/repositorydialog.cpp @ 571:012ba1b83328
Show cancel button with progress bar only when running an operation that it makes sense to cancel (we don't really want people cancelling e.g. initial folder scan because it would leave things in an inconsistent state)
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2012 22:53:54 +0000 |
parents | 533519ebc0cb |
children | ae67ea0af696 |
rev | line source |
---|---|
Chris@67 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@67 | 2 |
Chris@67 | 3 /* |
Chris@67 | 4 EasyMercurial |
Chris@67 | 5 |
Chris@67 | 6 Based on HgExplorer by Jari Korhonen |
Chris@67 | 7 Copyright (c) 2010 Jari Korhonen |
Chris@560 | 8 Copyright (c) 2012 Chris Cannam |
Chris@560 | 9 Copyright (c) 2012 Queen Mary, University of London |
Chris@67 | 10 |
Chris@67 | 11 This program is free software; you can redistribute it and/or |
Chris@67 | 12 modify it under the terms of the GNU General Public License as |
Chris@67 | 13 published by the Free Software Foundation; either version 2 of the |
Chris@67 | 14 License, or (at your option) any later version. See the file |
Chris@67 | 15 COPYING included with this distribution for more information. |
Chris@67 | 16 */ |
Chris@67 | 17 |
Chris@67 | 18 #include "repositorydialog.h" |
Chris@67 | 19 |
Chris@67 | 20 RepositoryDialog::RepositoryDialog(QWidget *parent) : |
Chris@67 | 21 QDialog(parent) |
Chris@67 | 22 { |
Chris@67 | 23 setModal(true); |
Chris@67 | 24 setWindowTitle(tr("Open Repository")); |
Chris@67 | 25 |
Chris@67 | 26 |
Chris@67 | 27 |
Chris@67 | 28 |
Chris@67 | 29 } |