mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 14:45:33 +08:00
refs#325, made simulator component CDockWidgetInfoAreaComponent compliant, finetuning with resizing in some components
* updates can be skipped, when widget is invisible * current tab? only current tab updates * reduced resize frequency in some cases
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "runtimebasedcomponent.h"
|
||||
#include "blackmisc/icon.h"
|
||||
#include "blackgui/components/dockwidgetinfoareacomponent.h"
|
||||
#include <QTabWidget>
|
||||
|
||||
namespace Ui { class CSimulatorComponent; }
|
||||
@@ -23,7 +24,10 @@ namespace BlackGui
|
||||
{
|
||||
|
||||
//! Simulator component
|
||||
class CSimulatorComponent : public QTabWidget, public CRuntimeBasedComponent
|
||||
class CSimulatorComponent :
|
||||
public QTabWidget,
|
||||
public CDockWidgetInfoAreaComponent,
|
||||
public CRuntimeBasedComponent
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user