Q4Wine  2.0
Q4Wine is a Qt GUI for Wine.
configuration.hpp
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2008-2016 by Alexey S. Malakhov <brezerk@gmail.com> *
3  * *
4  * This program is free software: you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation, either version 3 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
16  * *
17  ***************************************************************************/
18 
19 #pragma once
20 
21 #include <QWidget>
22 #include <QVBoxLayout>
23 #include <QSplitter>
24 #include <QTreeWidget>
25 #include <QListWidget>
26 #include <QLabel>
27 #include <QIcon>
28 #include <QSplitter>
29 #include <QGridLayout>
30 #include <QVBoxLayout>
31 
32 #include <memory>
33 
36 
37 class ConfigurationWidget : public QWidget
38 {
39  Q_OBJECT
40 
41  public:
42  explicit ConfigurationWidget(QWidget *parent = 0);
44 
45  private:
46  void createWidgets();
47  const QIcon getIcon(QString name) const;
48 
49  std::shared_ptr<ConfigTreeWidget> w_ConfigTree;
50  std::shared_ptr<ConfigurationIconListWidget> w_ConfigIconList;
51 
52  std::shared_ptr<QLabel> lbl_IconInfoName,
53  lbl_IconInfoDesc;
54 };
ConfigurationWidget(QWidget *parent=0)
Definition: configuration.cpp:21
Definition: configuration.hpp:37
~ConfigurationWidget()
Definition: configuration.cpp:25