mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T28, allow access to settings component
This commit is contained in:
committed by
Mathew Sutcliffe
parent
5b3097a2b0
commit
e7e984227b
@@ -63,6 +63,11 @@ namespace BlackGui
|
||||
return ui->comp_DataInfoArea;
|
||||
}
|
||||
|
||||
CDataSettingsComponent *CDataMainInfoAreaComponent::getDataSettingsComponent() const
|
||||
{
|
||||
return ui->comp_Settings;
|
||||
}
|
||||
|
||||
void CDataMainInfoAreaComponent::displayLog()
|
||||
{
|
||||
this->selectArea(InfoAreaLog);
|
||||
|
||||
@@ -23,7 +23,6 @@ class QPixmap;
|
||||
class QWidget;
|
||||
|
||||
namespace Ui { class CDataMainInfoAreaComponent; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
@@ -31,6 +30,7 @@ namespace BlackGui
|
||||
class CDataInfoAreaComponent;
|
||||
class CDbMappingComponent;
|
||||
class CLogComponent;
|
||||
class CDataSettingsComponent;
|
||||
|
||||
/**
|
||||
* Main info area for data entry tool
|
||||
@@ -56,7 +56,7 @@ namespace BlackGui
|
||||
explicit CDataMainInfoAreaComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CDataMainInfoAreaComponent();
|
||||
virtual ~CDataMainInfoAreaComponent();
|
||||
|
||||
//! Log component
|
||||
CLogComponent *getLogComponent() const;
|
||||
@@ -64,9 +64,12 @@ namespace BlackGui
|
||||
//! Mapping component
|
||||
CDbMappingComponent *getMappingComponent() const;
|
||||
|
||||
//! Mapping component
|
||||
//! Info area component
|
||||
CDataInfoAreaComponent *getDataInfoAreaComponent() const;
|
||||
|
||||
//! Settings component
|
||||
BlackGui::Components::CDataSettingsComponent *getDataSettingsComponent() const;
|
||||
|
||||
//! Display the log
|
||||
void displayLog();
|
||||
|
||||
@@ -87,7 +90,6 @@ namespace BlackGui
|
||||
private:
|
||||
QScopedPointer <Ui::CDataMainInfoAreaComponent> ui;
|
||||
};
|
||||
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
|
||||
Reference in New Issue
Block a user