refs #901, use CSingleApplicationUi for UI settings

plus stylesheet update to notice disabled component
This commit is contained in:
Klaus Basan
2017-03-07 04:57:47 +01:00
committed by Mathew Sutcliffe
parent 57ede8b04c
commit b392992944
3 changed files with 8 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ namespace BlackGui
{
CSettingsGuiComponent::CSettingsGuiComponent(QWidget *parent) :
QFrame(parent),
BlackGui::CSingleApplicationUi(this),
ui(new Ui::CSettingsGuiComponent)
{
ui->setupUi(this);

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_COMPONENTS_SETTINGSGUICOMPONENT_H
#define BLACKGUI_COMPONENTS_SETTINGSGUICOMPONENT_H
#include "blackgui/singleapplicationui.h"
#include "blackgui/settings/guisettings.h"
#include <QFrame>
#include <QScopedPointer>
@@ -24,7 +25,8 @@ namespace BlackGui
/*!
* General GUI settings
*/
class CSettingsGuiComponent : public QFrame
class CSettingsGuiComponent :
public QFrame, BlackGui::CSingleApplicationUi
{
Q_OBJECT