[AFV} Ref T731, Ref T739 UI for core/GUI AFV settings

This commit is contained in:
Klaus Basan
2019-10-24 18:50:07 +02:00
parent 236f94069b
commit a850a9a3d6
4 changed files with 151 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
/* Copyright (C) 2019
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "audioadvanceddistributedcomponent.h"
#include "ui_audioadvanceddistributedcomponent.h"
namespace BlackGui
{
namespace Components
{
CAudioAdvancedDistributedComponent::CAudioAdvancedDistributedComponent(QWidget *parent) :
QFrame(parent),
ui(new Ui::CAudioAdvancedDistributedComponent)
{
ui->setupUi(this);
}
CAudioAdvancedDistributedComponent::~CAudioAdvancedDistributedComponent()
{ }
}
}

View File

@@ -0,0 +1,40 @@
/* Copyright (C) 2019
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
* or distributed except according to the terms contained in the LICENSE file.
*/
//! \file
#ifndef BLACKGUI_COMPONENTS_AUDIOADVANCEDDISTRIBUTEDCOMPONENT_H
#define BLACKGUI_COMPONENTS_AUDIOADVANCEDDISTRIBUTEDCOMPONENT_H
#include <QFrame>
#include <QScopedPointer>
namespace Ui { class CAudioAdvancedDistributedComponent; }
namespace BlackGui
{
namespace Components
{
//! Adv. and sitributed audio setup
class CAudioAdvancedDistributedComponent : public QFrame
{
Q_OBJECT
public:
//! Ctor
explicit CAudioAdvancedDistributedComponent(QWidget *parent = nullptr);
//! Dtor
virtual ~CAudioAdvancedDistributedComponent() override;
private:
QScopedPointer<Ui::CAudioAdvancedDistributedComponent> ui;
};
}
}
#endif // guard

View File

@@ -0,0 +1,17 @@
<?xml version='1.0'?>
<ui version="4.0">
<class>CAudioAdvancedDistributedComponent</class>
<widget class="QFrame" name="CAudioAdvancedDistributedComponent">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>640</width>
<height>480</height>
</rect>
</property>
<property name="windowTitle">
<string>Frame</string>
</property>
</widget>
</ui>

View File

@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>99</width>
<width>248</width>
<height>123</height>
</rect>
</property>
@@ -190,6 +190,67 @@
</layout>
</widget>
</widget>
<widget class="BlackGui::CDockWidgetInfoArea" name="dwp_AudioAdv">
<property name="allowedAreas">
<set>Qt::BottomDockWidgetArea</set>
</property>
<property name="windowTitle">
<string>Adv./distributed audio</string>
</property>
<attribute name="dockWidgetArea">
<number>8</number>
</attribute>
<widget class="QWidget" name="qw_AudioAdvOuter">
<layout class="QVBoxLayout" name="vl_AudioAdvOuter">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QFrame" name="fr_AudioAdvInner">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="vl_AudioAdvInner">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>2</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="BlackGui::Components::CAudioAdvancedDistributedComponent" name="compAudioAdv">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
<customwidgets>
<customwidget>
@@ -210,6 +271,12 @@
<header>blackgui/components/audiodevicevolumesetupcomponent.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>BlackGui::Components::CAudioAdvancedDistributedComponent</class>
<extends>QFrame</extends>
<header>blackgui/components/audioadvanceddistributedcomponent.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>