mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Ref T659, login overview (read only) component
* overview component * display values as preset in network in aircraft values component
This commit is contained in:
committed by
Mat Sutcliffe
parent
3c633af365
commit
1c0e57bb95
43
src/blackgui/components/networkaircraftvaluescomponent.h
Normal file
43
src/blackgui/components/networkaircraftvaluescomponent.h
Normal file
@@ -0,0 +1,43 @@
|
||||
/* 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_NETWORKAIRCRAFTVALUESCOMPONENT_H
|
||||
#define BLACKGUI_COMPONENTS_NETWORKAIRCRAFTVALUESCOMPONENT_H
|
||||
|
||||
#include <QFrame>
|
||||
#include <QScopedPointer>
|
||||
|
||||
namespace Ui { class CNetworkAircraftValuesComponent; }
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
{
|
||||
//! Display the network aircraft values as sent
|
||||
class CNetworkAircraftValuesComponent : public QFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CNetworkAircraftValuesComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CNetworkAircraftValuesComponent() override;
|
||||
|
||||
//! Show the current values
|
||||
void showValues();
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CNetworkAircraftValuesComponent> ui;
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user