mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +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;
|
return ui->comp_DataInfoArea;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CDataSettingsComponent *CDataMainInfoAreaComponent::getDataSettingsComponent() const
|
||||||
|
{
|
||||||
|
return ui->comp_Settings;
|
||||||
|
}
|
||||||
|
|
||||||
void CDataMainInfoAreaComponent::displayLog()
|
void CDataMainInfoAreaComponent::displayLog()
|
||||||
{
|
{
|
||||||
this->selectArea(InfoAreaLog);
|
this->selectArea(InfoAreaLog);
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ class QPixmap;
|
|||||||
class QWidget;
|
class QWidget;
|
||||||
|
|
||||||
namespace Ui { class CDataMainInfoAreaComponent; }
|
namespace Ui { class CDataMainInfoAreaComponent; }
|
||||||
|
|
||||||
namespace BlackGui
|
namespace BlackGui
|
||||||
{
|
{
|
||||||
namespace Components
|
namespace Components
|
||||||
@@ -31,6 +30,7 @@ namespace BlackGui
|
|||||||
class CDataInfoAreaComponent;
|
class CDataInfoAreaComponent;
|
||||||
class CDbMappingComponent;
|
class CDbMappingComponent;
|
||||||
class CLogComponent;
|
class CLogComponent;
|
||||||
|
class CDataSettingsComponent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Main info area for data entry tool
|
* Main info area for data entry tool
|
||||||
@@ -56,7 +56,7 @@ namespace BlackGui
|
|||||||
explicit CDataMainInfoAreaComponent(QWidget *parent = nullptr);
|
explicit CDataMainInfoAreaComponent(QWidget *parent = nullptr);
|
||||||
|
|
||||||
//! Destructor
|
//! Destructor
|
||||||
~CDataMainInfoAreaComponent();
|
virtual ~CDataMainInfoAreaComponent();
|
||||||
|
|
||||||
//! Log component
|
//! Log component
|
||||||
CLogComponent *getLogComponent() const;
|
CLogComponent *getLogComponent() const;
|
||||||
@@ -64,9 +64,12 @@ namespace BlackGui
|
|||||||
//! Mapping component
|
//! Mapping component
|
||||||
CDbMappingComponent *getMappingComponent() const;
|
CDbMappingComponent *getMappingComponent() const;
|
||||||
|
|
||||||
//! Mapping component
|
//! Info area component
|
||||||
CDataInfoAreaComponent *getDataInfoAreaComponent() const;
|
CDataInfoAreaComponent *getDataInfoAreaComponent() const;
|
||||||
|
|
||||||
|
//! Settings component
|
||||||
|
BlackGui::Components::CDataSettingsComponent *getDataSettingsComponent() const;
|
||||||
|
|
||||||
//! Display the log
|
//! Display the log
|
||||||
void displayLog();
|
void displayLog();
|
||||||
|
|
||||||
@@ -87,7 +90,6 @@ namespace BlackGui
|
|||||||
private:
|
private:
|
||||||
QScopedPointer <Ui::CDataMainInfoAreaComponent> ui;
|
QScopedPointer <Ui::CDataMainInfoAreaComponent> ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // ns
|
} // ns
|
||||||
} // ns
|
} // ns
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user