Some GUI finetuning

* tabBar expanding
* removed setDocumentMode
* Flight plan in scroll area
This commit is contained in:
Klaus Basan
2014-09-28 01:51:08 +02:00
parent e545288630
commit e929423fc9
14 changed files with 893 additions and 691 deletions

View File

@@ -23,6 +23,8 @@ namespace BlackGui
QTabWidget(parent), CRuntimeBasedComponent(nullptr, false), ui(new Ui::CFlightPlanComponent)
{
ui->setupUi(this);
this->tabBar()->setExpanding(false);
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);