mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #335, formatting, member initialization, new icons, remove redundant methods
This commit is contained in:
committed by
Roland Winklmeier
parent
c965fbb785
commit
b0f01a3ec6
@@ -24,13 +24,16 @@ namespace BlackGui
|
||||
namespace Components
|
||||
{
|
||||
CFlightPlanComponent::CFlightPlanComponent(QWidget *parent) :
|
||||
QTabWidget(parent), CRuntimeBasedComponent(nullptr, false), ui(new Ui::CFlightPlanComponent)
|
||||
QTabWidget(parent),
|
||||
CRuntimeBasedComponent(nullptr, false),
|
||||
ui(new Ui::CFlightPlanComponent)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
// fix style
|
||||
this->tabBar()->setExpanding(false);
|
||||
|
||||
// connect
|
||||
connect(this->ui->pb_Send, &QPushButton::pressed, this, &CFlightPlanComponent::sendFlightPlan);
|
||||
connect(this->ui->pb_Load, &QPushButton::pressed, this, &CFlightPlanComponent::loadFlightPlanFromNetwork);
|
||||
connect(this->ui->pb_Reset, &QPushButton::pressed, this, &CFlightPlanComponent::resetFlightPlan);
|
||||
|
||||
Reference in New Issue
Block a user