mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
refs #335, renaming
* the term "components" will only be used for GUI components (derived from QWidget/ QWidget derived classes) fron now on * timer, and enabler classes renamed accordingly: CEnableForRuntime, CEnableForDockWidgetInfoArea, CUpdateTimer * adjusted all dependent classes
This commit is contained in:
committed by
Roland Winklmeier
parent
bb8b515c87
commit
df5169ee98
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "aircraftcomponent.h"
|
||||
#include "ui_aircraftcomponent.h"
|
||||
#include "dockwidgetinfoareacomponent.h"
|
||||
#include "enablefordockwidgetinfoarea.h"
|
||||
#include "../guiutility.h"
|
||||
#include "blackcore/context_network.h"
|
||||
#include "blackcore/context_simulator.h"
|
||||
@@ -24,14 +24,14 @@ namespace BlackGui
|
||||
|
||||
CAircraftComponent::CAircraftComponent(QWidget *parent) :
|
||||
QTabWidget(parent),
|
||||
CDockWidgetInfoAreaComponent(this),
|
||||
CRuntimeBasedComponent(nullptr, false),
|
||||
ui(new Ui::CAircraftComponent), m_timerComponent(nullptr)
|
||||
CEnableForDockWidgetInfoArea(this),
|
||||
CEnableForRuntime(nullptr, false),
|
||||
ui(new Ui::CAircraftComponent), m_updateTimer(nullptr)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->tabBar()->setExpanding(false);
|
||||
this->ui->tvp_AirportsInRange->setResizeMode(CAirportView::ResizingOnce);
|
||||
m_timerComponent = new CTimerBasedComponent(SLOT(update()), this);
|
||||
m_updateTimer = new CUpdateTimer(SLOT(update()), this);
|
||||
|
||||
connect(this->ui->tvp_AircraftsInRange, &CAircraftView::countChanged, this, &CAircraftComponent::ps_countChanged);
|
||||
connect(this->ui->tvp_AirportsInRange, &CAircraftView::countChanged, this, &CAircraftComponent::ps_countChanged);
|
||||
|
||||
Reference in New Issue
Block a user