1
/****************************************************************************
2
** VkOptionsDialog definition
3
** - A container class for each tool's options / flags 'pane'.
4
** - Not modal, so user can keep it open and change flags as they work.
5
** --------------------------------------------------------------------------
7
** Copyright (C) 2000-2009, OpenWorks LLP. All rights reserved.
8
** <info@open-works.co.uk>
10
** This file is part of Valkyrie, a front-end for Valgrind.
12
** This file may be used under the terms of the GNU General Public
13
** License version 2.0 as published by the Free Software Foundation
14
** and appearing in the file COPYING included in the packaging of
17
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
18
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20
****************************************************************************/
22
#ifndef __VK_OPTIONS_DIALOG_H
23
#define __VK_OPTIONS_DIALOG_H
26
#include <QDialogButtonBox>
27
#include <QListWidget>
28
#include <QStackedWidget>
32
// ============================================================
33
class VkOptionsDialog : public QDialog
37
VkOptionsDialog( QWidget* );
42
void keyPressEvent( QKeyEvent* event ); // overloaded
46
void accept(); // overloaded
47
void reject(); // overloaded
50
void overwriteDefaultConfig();
56
QListWidget* contentsListWidget;
57
QStackedWidget* optionPages;
58
QDialogButtonBox* optionsButtonBox;
59
QPushButton* updateDefaultsButton;
63
#endif // __VK_OPTIONS_DIALOG_H