refs #478, refs #470 updated swift / mapping GUI

* allow to display project, env. vars etc. in console
* use setup data cache
* adjust to relocated CNetworkUtils
* remove console for data GUI (noticed during installer tests)
This commit is contained in:
Klaus Basan
2015-10-14 02:51:52 +02:00
committed by Mathew Sutcliffe
parent 008792d95b
commit ad146069ef
16 changed files with 281 additions and 62 deletions

View File

@@ -66,6 +66,18 @@ namespace BlackGui
this->ui->comp_Stash->setProvider(provider);
}
void CDataMainInfoAreaComponent::displayLog()
{
this->selectArea(InfoAreaLog);
this->getLogComponent()->displayLog();
}
void CDataMainInfoAreaComponent::displayConsole()
{
this->selectArea(InfoAreaLog);
this->getLogComponent()->displayConsole();
}
QSize CDataMainInfoAreaComponent::getPreferredSizeWhenFloating(int areaIndex) const
{
InfoArea area = static_cast<InfoArea>(areaIndex);

View File

@@ -72,6 +72,12 @@ namespace BlackGui
//! Set data reader
virtual void setProvider(BlackMisc::Network::IWebDataServicesProvider *provider) override;
//! Display the log
void displayLog();
//! Display console
void displayConsole();
protected:
//! \copydoc CInfoArea::getPreferredSizeWhenFloating
virtual QSize getPreferredSizeWhenFloating(int areaIndex) const override;

View File

@@ -32,7 +32,7 @@
<item>
<widget class="QTabWidget" name="tw_Internals">
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<widget class="QWidget" name="tb_Debug">
<attribute name="title">

View File

@@ -83,6 +83,16 @@ namespace BlackGui
return this->ui->comp_TextMessages;
}
void CMainInfoAreaComponent::displayLog()
{
this->ui->comp_Log->displayLog();
}
void CMainInfoAreaComponent::displayConsole()
{
this->ui->comp_Log->displayConsole();
}
QSize CMainInfoAreaComponent::getPreferredSizeWhenFloating(int areaIndex) const
{
InfoArea area = static_cast<InfoArea>(areaIndex);

View File

@@ -96,6 +96,12 @@ namespace BlackGui
//! Text messages
CTextMessageComponent *getTextMessageComponent();
//! Display the log
void displayLog();
//! Display console
void displayConsole();
public slots:
//! Toggle floating of given area
void toggleFloating(InfoArea infoArea) { CInfoArea::toggleFloatingByIndex(static_cast<int>(infoArea)); }

View File

@@ -98,7 +98,6 @@ void CSwiftData::initLogDisplay()
logHandler->subscribe(this, &CSwiftData::ps_appendLogMessage);
}
void CSwiftData::initReaders()
{
Q_ASSERT_X(this->m_webDataReader, Q_FUNC_INFO, "Missing reader");
@@ -112,7 +111,6 @@ void CSwiftData::initMenu()
// menu
this->initDynamicMenus();
this->ui->menu_WindowMinimize->setIcon(this->style()->standardIcon(QStyle::SP_TitleBarMinButton));
connect(this->ui->menu_TestInternals, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_FileExit, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_FileSettingsDirectory, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_FileResetSettings, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
@@ -120,9 +118,17 @@ void CSwiftData::initMenu()
connect(this->ui->menu_WindowFont, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_WindowMinimize, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_WindowToggleOnTop, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_DebugMetaTypes, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_MappingMaxData, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_MappingMaxMapping, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_InternalsCompileInfo, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_InternalsEnvVars, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_InternalsMetatypes, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_InternalsSetup, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_InternalsDeleteCachedFiles, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_InternalsDisplayCachedFiles, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
connect(this->ui->menu_InternalsJsonBootstrapTemplate, &QAction::triggered, this, &CSwiftData::ps_onMenuClicked);
}
void CSwiftData::performGracefulShutdown()
@@ -133,3 +139,13 @@ void CSwiftData::performGracefulShutdown()
m_webDataReader = nullptr;
}
}
void CSwiftData::displayConsole()
{
this->ui->comp_MainInfoArea->displayConsole();
}
void CSwiftData::displayLog()
{
this->ui->comp_MainInfoArea->displayLog();
}

View File

@@ -13,6 +13,7 @@
#define SWIFTDATA_H
#include "blackcore/context_runtime.h"
#include "blackcore/data/globalsetup.h"
#include "blackgui/systemtraywindow.h"
#include "blackgui/managedstatusbar.h"
#include "blackmisc/statusmessage.h"
@@ -61,9 +62,13 @@ private:
void initDynamicMenus();
void performGracefulShutdown();
void displayConsole();
void displayLog();
QScopedPointer<Ui::CSwiftData> ui;
BlackGui::CManagedStatusBar m_statusBar;
BlackCore::CWebDataServices *m_webDataReader = nullptr;
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
};
#endif // guard

View File

@@ -1,7 +1,6 @@
load(common_pre)
QT += core dbus network xml multimedia gui svg
CONFIG += console
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

View File

@@ -2,6 +2,14 @@
<ui version="4.0">
<class>CSwiftData</class>
<widget class="QMainWindow" name="CSwiftData">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>900</width>
<height>700</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>900</width>
@@ -63,7 +71,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1024</width>
<width>900</width>
<height>21</height>
</rect>
</property>
@@ -96,19 +104,24 @@
<addaction name="menu_MappingMaxData"/>
<addaction name="menu_MappingMaxMapping"/>
</widget>
<widget class="QMenu" name="menu_Internals">
<widget class="QMenu" name="menu_Test">
<property name="title">
<string>Test</string>
</property>
<widget class="QMenu" name="menu_Debugging">
<widget class="QMenu" name="menu_Internals">
<property name="title">
<string>Debug</string>
<string>Internals</string>
</property>
<addaction name="menu_DebugMetaTypes"/>
<addaction name="menu_InternalsJsonBootstrapTemplate"/>
<addaction name="menu_InternalsMetatypes"/>
<addaction name="menu_InternalsEnvVars"/>
<addaction name="menu_InternalsSetup"/>
<addaction name="menu_InternalsCompileInfo"/>
<addaction name="menu_InternalsDisplayCachedFiles"/>
<addaction name="menu_InternalsDeleteCachedFiles"/>
</widget>
<addaction name="menu_TestInternals"/>
<addaction name="menu_Internals"/>
<addaction name="separator"/>
<addaction name="menu_Debugging"/>
</widget>
<widget class="QMenu" name="menu_Help">
<property name="title">
@@ -120,7 +133,7 @@
<addaction name="menu_InfoAreas"/>
<addaction name="menu_Help"/>
<addaction name="menu_Mapping"/>
<addaction name="menu_Internals"/>
<addaction name="menu_Test"/>
</widget>
<widget class="QStatusBar" name="sb_SwiftData"/>
<action name="menu_FileExit">
@@ -153,11 +166,6 @@
<string>Minimize</string>
</property>
</action>
<action name="menu_TestInternals">
<property name="text">
<string>Internals</string>
</property>
</action>
<action name="menu_MappingMaxMapping">
<property name="text">
<string>Max. mapping area</string>
@@ -189,6 +197,41 @@
<string>Debug metatypes (to console)</string>
</property>
</action>
<action name="menu_InternalsJsonBootstrapTemplate">
<property name="text">
<string>JSON bootstrap template</string>
</property>
</action>
<action name="menu_InternalsEnvVars">
<property name="text">
<string>Env.variables</string>
</property>
</action>
<action name="menu_InternalsMetatypes">
<property name="text">
<string>Metatypes</string>
</property>
</action>
<action name="menu_InternalsSetup">
<property name="text">
<string>Setup</string>
</property>
</action>
<action name="menu_InternalsCompileInfo">
<property name="text">
<string>Compile info</string>
</property>
</action>
<action name="menu_InternalsDisplayCachedFiles">
<property name="text">
<string>All cache files</string>
</property>
</action>
<action name="menu_InternalsDeleteCachedFiles">
<property name="text">
<string>Delete cached fies</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>

View File

@@ -60,13 +60,6 @@ void CSwiftData::ps_onMenuClicked()
{
// !\todo reset settings
}
else if (sender == this->ui->menu_DebugMetaTypes)
{
QString metadata;
QTextStream stream(&metadata);
BlackMisc::displayAllUserMetatypesTypes(stream);
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(metadata);
}
else if (sender == this->ui->menu_MappingMaxData)
{
CDbMappingComponent *mappingComponent = this->ui->comp_MainInfoArea->getMappingComponent();
@@ -77,6 +70,46 @@ void CSwiftData::ps_onMenuClicked()
CDbMappingComponent *mappingComponent = this->ui->comp_MainInfoArea->getMappingComponent();
mappingComponent->resizeForMapping();
}
else if (sender == this->ui->menu_InternalsJsonBootstrapTemplate)
{
QString json(m_setup.get().toJsonString());
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(json);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsMetatypes)
{
QString metadata(getAllUserMetatypesTypes());
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(metadata);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsSetup)
{
QString setup(this->m_setup.get().convertToQString("\n", true));
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(setup);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsCompileInfo)
{
QString project(CProject::convertToQString("\n"));
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(project);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsEnvVars)
{
QString project(CProject::getEnvironmentVariables());
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(project);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsDisplayCachedFiles)
{
//! \todo
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsDeleteCachedFiles)
{
//! \todo
this->displayConsole();
}
else
{
QAction *a = qobject_cast<QAction *>(sender);
@@ -110,7 +143,7 @@ void CSwiftData::initDynamicMenus()
if (CProject::isRunningInDeveloperEnvironment() && !CRoles::roles().isAdmin())
{
QAction *a = this->ui->menu_Internals->addAction(CIcons::user16(), "Set administrator");
QAction *a = this->ui->menu_Test->addAction(CIcons::user16(), "Set administrator");
a->setData("admin");
}
}

View File

@@ -10,7 +10,7 @@
#include "introwindow.h"
#include "ui_introwindow.h"
#include "blackcore/dbus_server.h"
#include "blackmisc/networkutils.h"
#include "blackmisc/network/networkutils.h"
#include "blackmisc/settingutilities.h"
#include "blackmisc/project.h"
#include <QDesktopServices>
@@ -19,6 +19,11 @@
#include <QProcess>
#include <QFileInfo>
using namespace BlackMisc;
using namespace BlackMisc::Network;
using namespace BlackCore;
using namespace BlackGui;
/*
* Constructor
*/
@@ -28,11 +33,11 @@ CIntroWindow::CIntroWindow(QWidget *parent) :
ui(new Ui::CIntroWindow)
{
ui->setupUi(this);
this->setWindowTitle(BlackMisc::CProject::swiftVersionStringDevInfo());
this->setWindowTitle(CProject::swiftVersionStringDevInfo());
this->layout()->setSizeConstraint(QLayout::SetFixedSize);
this->ui->cb_DBusServer->addItem(BlackCore::CDBusServer::sessionDBusServer());
this->ui->cb_DBusServer->addItem(BlackCore::CDBusServer::systemDBusServer());
this->ui->cb_DBusServer->addItems(BlackMisc::CNetworkUtils::getKnownIpAddresses());
this->ui->cb_DBusServer->addItem(CDBusServer::sessionDBusServer());
this->ui->cb_DBusServer->addItem(CDBusServer::systemDBusServer());
this->ui->cb_DBusServer->addItems(CNetworkUtils::getKnownIpAddresses());
this->ui->cb_DBusServer->setCurrentIndex(0);
}
@@ -47,9 +52,9 @@ CIntroWindow::~CIntroWindow() { }
BlackGui::CEnableForFramelessWindow::WindowMode CIntroWindow::getWindowMode() const
{
if (this->ui->rb_WindowFrameless->isChecked())
return BlackGui::CEnableForFramelessWindow::WindowFrameless;
return CEnableForFramelessWindow::WindowFrameless;
else
return BlackGui::CEnableForFramelessWindow::WindowTool;
return CEnableForFramelessWindow::WindowTool;
}
/*

View File

@@ -419,3 +419,14 @@ void SwiftGuiStd::playNotifcationSound(CNotificationSounds::Notification notific
if (!this->ui->comp_MainInfoArea->getSettingsComponent()->playNotificationSounds()) { return; }
this->getIContextAudio()->playNotification(notification, true);
}
void SwiftGuiStd::displayConsole()
{
this->ui->comp_MainInfoArea->displayConsole();
}
void SwiftGuiStd::displayLog()
{
this->ui->comp_MainInfoArea->displayLog();
}

View File

@@ -19,6 +19,7 @@
#include "guimodeenums.h"
#include "blackcore/context_all_interfaces.h"
#include "blackcore/actionbind.h"
#include "blackcore/data/globalsetup.h"
#include "blackgui/components/enableforruntime.h"
#include "blackgui/components/infowindowcomponent.h"
#include "blackgui/components/maininfoareacomponent.h"
@@ -109,16 +110,17 @@ protected:
private:
QScopedPointer<Ui::SwiftGuiStd> ui;
bool m_init = false;
BlackGui::Components::CInfoWindowComponent *m_compInfoWindow = nullptr; //!< the info window (popup
BlackGui::CManagedStatusBar m_statusBar;
BlackMisc::CLogSubscriber m_logSubscriber { this, &SwiftGuiStd::ps_displayStatusMessageInGui };
bool m_init = false;
BlackGui::Components::CInfoWindowComponent *m_compInfoWindow = nullptr; //!< the info window (popup
BlackGui::CManagedStatusBar m_statusBar;
BlackMisc::CLogSubscriber m_logSubscriber { this, &SwiftGuiStd::ps_displayStatusMessageInGui };
BlackCore::CData<BlackCore::Data::GlobalSetup> m_setup {this}; //!< setup cache
// contexts
bool m_coreAvailable = false;
bool m_contextNetworkAvailable = false;
bool m_contextAudioAvailable = false;
QTimer *m_timerContextWatchdog = nullptr; //!< core available?
QTimer *m_timerContextWatchdog = nullptr; //!< core available?
BlackMisc::Simulation::CSimulatedAircraft m_ownAircraft; //!< own aircraft's state
QSize m_windowMinSizeWithMainPageShown;
QSize m_windowMinSizeWithMainPageHidden;
@@ -187,8 +189,13 @@ private:
//! Play notifcation sound
void playNotifcationSound(BlackSound::CNotificationSounds::Notification notification) const;
private slots:
//! Display console
void displayConsole();
//! Display log
void displayLog();
private slots:
//
// Data received related slots
//

View File

@@ -124,7 +124,7 @@
<enum>QFrame::NoFrame</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>2</number>
</property>
<widget class="QWidget" name="pg_MainInfoArea">
<layout class="QVBoxLayout" name="vl_MainInfoArea">
@@ -287,17 +287,22 @@
</property>
<addaction name="menu_ReloadSettings"/>
</widget>
<widget class="QMenu" name="menu_Debug">
<widget class="QMenu" name="menu_InternalsItem">
<property name="title">
<string>Debug</string>
<string>Internals</string>
</property>
<addaction name="menu_DebugMetaTypes"/>
<addaction name="menu_Internals"/>
<addaction name="menu_InternalsMetatypes"/>
<addaction name="menu_InternalsEnvVars"/>
<addaction name="menu_InternalsSetup"/>
<addaction name="menu_InternalsCompileInfo"/>
<addaction name="menu_InternalsDeleteCachedFiles"/>
<addaction name="menu_InternalsDisplayCachedFiles"/>
</widget>
<addaction name="menu_TestInternals"/>
<addaction name="menu_InternalsItem"/>
<addaction name="separator"/>
<addaction name="menu_PlanePositions"/>
<addaction name="menu_Reload"/>
<addaction name="menu_Debug"/>
</widget>
<widget class="QMenu" name="menu_Help">
<property name="title">
@@ -453,11 +458,6 @@
<string>Position LOWW (Vienna, AUT)</string>
</property>
</action>
<action name="menu_TestInternals">
<property name="text">
<string>Internals</string>
</property>
</action>
<action name="menu_WindowMinimize">
<property name="text">
<string>Minimize</string>
@@ -487,6 +487,41 @@
<string>Horizontal navigator</string>
</property>
</action>
<action name="menu_InternalsMetatypes">
<property name="text">
<string>Metatypes</string>
</property>
</action>
<action name="menu_InternalsEnvVars">
<property name="text">
<string>Env.variables</string>
</property>
</action>
<action name="menu_InternalsSetup">
<property name="text">
<string>Setup</string>
</property>
</action>
<action name="menu_InternalsCompileInfo">
<property name="text">
<string>Compile info</string>
</property>
</action>
<action name="menu_Internals">
<property name="text">
<string>Internal page</string>
</property>
</action>
<action name="menu_InternalsDeleteCachedFiles">
<property name="text">
<string>Delete cached files</string>
</property>
</action>
<action name="menu_InternalsDisplayCachedFiles">
<property name="text">
<string>Display cached files</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>

View File

@@ -120,7 +120,7 @@ void SwiftGuiStd::init(const CRuntimeConfig &runtimeConfig)
// info
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(CProject::swiftVersionString());
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(CProject::compiledInfo());
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(CProject::compiledWithInfo());
// update timers
this->startUpdateTimersWhenConnected();
@@ -166,7 +166,6 @@ void SwiftGuiStd::initGuiSignals()
connect(this->ui->menu_TestLocationsEDDM, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_TestLocationsEDNX, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_TestLocationsEDRY, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_TestInternals, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_FileExit, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_FileSettingsDirectory, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_FileResetSettings, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
@@ -175,7 +174,13 @@ void SwiftGuiStd::initGuiSignals()
connect(this->ui->menu_WindowMinimize, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_WindowToggleOnTop, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_WindowToggleNavigator, &QAction::triggered, this->ui->comp_InvisibleInfoArea, &CInvisibleInfoAreaComponent::toggleNavigator);
connect(this->ui->menu_DebugMetaTypes, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_InternalsCompileInfo, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_InternalsEnvVars, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_InternalsMetatypes, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_InternalsSetup, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_InternalsDeleteCachedFiles, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
connect(this->ui->menu_InternalsDisplayCachedFiles, &QAction::triggered, this, &SwiftGuiStd::ps_onMenuClicked);
// command line / text messages
connect(this->ui->comp_MainInfoArea->getTextMessageComponent(), &CTextMessageComponent::displayInInfoWindow, this->m_compInfoWindow, &CInfoWindowComponent::display);

View File

@@ -57,10 +57,6 @@ void SwiftGuiStd::ps_onMenuClicked()
this->ui->comp_MainInfoArea->getSettingsComponent()->reloadSettings();
CLogMessage(this).info("Settings reloaded");
}
else if (sender == this->ui->menu_TestInternals)
{
this->ui->sw_MainMiddle->setCurrentIndex(MainPageInternals);
}
else if (sender == this->ui->menu_FileReloadStyleSheets)
{
CStyleSheetUtility::instance().read();
@@ -93,12 +89,43 @@ void SwiftGuiStd::ps_onMenuClicked()
Q_ASSERT(this->getIContextSettings());
this->getIContextSettings()->reset(true);
}
else if (sender == this->ui->menu_DebugMetaTypes)
else if (sender == this->ui->menu_Internals)
{
QString metadata;
QTextStream stream(&metadata);
BlackMisc::displayAllUserMetatypesTypes(stream);
this->ui->sw_MainMiddle->setCurrentIndex(MainPageInternals);
}
else if (sender == this->ui->menu_InternalsMetatypes)
{
QString metadata(getAllUserMetatypesTypes());
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(metadata);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsSetup)
{
QString setup(this->m_setup.get().convertToQString("\n", true));
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(setup);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsCompileInfo)
{
QString project(CProject::convertToQString("\n"));
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(project);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsEnvVars)
{
QString project(CProject::getEnvironmentVariables());
this->ui->comp_MainInfoArea->getLogComponent()->appendPlainTextToConsole(project);
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsDisplayCachedFiles)
{
//! \todo
this->displayConsole();
}
else if (sender == this->ui->menu_InternalsDeleteCachedFiles)
{
//! \todo
this->displayConsole();
}
}
@@ -113,4 +140,3 @@ void SwiftGuiStd::initMenuIcons()
{
this->ui->menu_WindowMinimize->setIcon(this->style()->standardIcon(QStyle::SP_TitleBarMinButton));
}