refs #335, made audio setup a component so it can be used in settings and cockpit

This commit is contained in:
Klaus Basan
2014-10-17 15:40:59 +02:00
committed by Roland Winklmeier
parent ccf308eda1
commit 73eee7af1e
7 changed files with 432 additions and 247 deletions

View File

@@ -0,0 +1,44 @@
/* Copyright (C) 2013
* 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 and at http://www.swift-project.org/license.html. 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_AUDIOCOMPONENT_H
#define BLACKGUI_AUDIOCOMPONENT_H
#include <QFrame>
#include <QScopedPointer>
namespace Ui { class CAudioComponent; }
namespace BlackGui
{
namespace Components
{
//! Audio component, volume, ...
class CAudioComponent : public QFrame
{
Q_OBJECT
public:
//! Constructor
explicit CAudioComponent(QWidget *parent = nullptr);
//! Destructor
~CAudioComponent();
private:
QScopedPointer<Ui::CAudioComponent> ui;
};
} // namespace
} // namespace
#endif // guard