mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
* remove unused methods * changed ui, preferred size and such * changed ctor for CEnableForDockWidgetInfoArea and made setParentDockWidgetInfoArea virtual * adjusted derived classes ctor * added enum and area methods for cockpitinfoarea
39 lines
1.1 KiB
C++
39 lines
1.1 KiB
C++
/* 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.
|
|
*/
|
|
|
|
#include "cockpitcomcomponent.h"
|
|
#include "ui_cockpitcomcomponent.h"
|
|
#include "../stylesheetutility.h"
|
|
|
|
using namespace BlackGui;
|
|
|
|
namespace BlackGui
|
|
{
|
|
namespace Components
|
|
{
|
|
CCockpitComComponent::CCockpitComComponent(QWidget *parent) :
|
|
QFrame(parent),
|
|
CEnableForDockWidgetInfoArea(),
|
|
ui(new Ui::CCockpitMainComponent)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
CCockpitComComponent::~CCockpitComComponent()
|
|
{ }
|
|
|
|
void CCockpitComComponent::paintEvent(QPaintEvent *event)
|
|
{
|
|
Q_UNUSED(event);
|
|
CStyleSheetUtility::useStyleSheetInDerivedWidget(this);
|
|
}
|
|
|
|
} // namespace
|
|
} // namespace
|