blob: c28c30068cd374df9861340a5888821cf38989ea [file] [log] [blame]
Alexander Afanasyevb6392e32014-05-12 23:43:50 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (c) 2013-2014, Regents of the University of California,
4 *
5 * This file is part of NFD Control Center. See AUTHORS.md for complete list of NFD
6 * authors and contributors.
7 *
8 * NFD Control Center is free software: you can redistribute it and/or modify it under the
9 * terms of the GNU General Public License as published by the Free Software Foundation,
10 * either version 3 of the License, or (at your option) any later version.
11 *
12 * NFD Control Center is distributed in the hope that it will be useful, but WITHOUT ANY
13 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along with NFD
17 * Control Center, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * \author Ilya Moiseenko <iliamo@ucla.edu>
20 */
21
22#include <QDialog>
23#include <QLabel>
24#include <QDialogButtonBox>
25#include <QPushButton>
26
27#ifndef NCC_QT_QUIT_DIALOG_H
28#define NCC_QT_QUIT_DIALOG_H
29
30class QuitDialog : public QDialog
31{
32 Q_OBJECT
33
34public:
35 QuitDialog(QWidget *parent = 0);
36
37private:
38 QLabel *question;
39 QLabel *information;
40 QDialogButtonBox *buttonBox;
41 QPushButton *confirmButton;
42 QPushButton *noButton;
43 QPushButton *cancelButton;
44};
45
46#endif // NCC_QT_QUIT_DIALOG_H