[AFV], Ref T731 allow to open the drashdump directory from menu/launcher tools

This commit is contained in:
Klaus Basan
2019-10-18 16:36:15 +02:00
parent 7cfcc61bd3
commit 40eb531a3a
4 changed files with 45 additions and 19 deletions

View File

@@ -75,9 +75,10 @@ CSwiftLauncher::CSwiftLauncher(QWidget *parent) :
connect(ui->comp_DBusSelector, &CDBusServerAddressSelector::editingFinished, this, &CSwiftLauncher::onDBusEditingFinished, Qt::QueuedConnection);
connect(sGui, &CGuiApplication::styleSheetsChanged, this, &CSwiftLauncher::onStyleSheetsChanged, Qt::QueuedConnection);
connect(ui->pb_Log, &QPushButton::released, this, &CSwiftLauncher::showLogPage, Qt::QueuedConnection);
connect(ui->pb_Log, &QPushButton::released, this, &CSwiftLauncher::showLogPage, Qt::QueuedConnection);
connect(ui->pb_LogDir, &QPushButton::released, sGui, &CGuiApplication::openStandardLogDirectory, Qt::QueuedConnection);
connect(ui->pb_Log, &QPushButton::released, this, &CSwiftLauncher::showLogPage, Qt::QueuedConnection);
connect(ui->pb_Log, &QPushButton::released, this, &CSwiftLauncher::showLogPage, Qt::QueuedConnection);
connect(ui->pb_LogDir, &QPushButton::released, sGui, &CGuiApplication::openStandardLogDirectory, Qt::QueuedConnection);
connect(ui->pb_DumpDir, &QPushButton::released, sGui, &CGuiApplication::openStandardCrashDumpDirectory, Qt::QueuedConnection);
connect(ui->pb_FSXConfigDirs, &QPushButton::released, this, &CSwiftLauncher::showSimulatorConfigDirs, Qt::QueuedConnection);
connect(ui->pb_P3DConfigDirs, &QPushButton::released, this, &CSwiftLauncher::showSimulatorConfigDirs, Qt::QueuedConnection);

View File

@@ -88,7 +88,7 @@
<item>
<widget class="QToolBox" name="tb_Launcher">
<property name="currentIndex">
<number>2</number>
<number>4</number>
</property>
<property name="tabSpacing">
<number>6</number>
@@ -98,8 +98,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>392</width>
<height>309</height>
<width>135</width>
<height>109</height>
</rect>
</property>
<attribute name="label">
@@ -153,8 +153,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>392</width>
<height>309</height>
<width>163</width>
<height>52</height>
</rect>
</property>
<attribute name="label">
@@ -218,8 +218,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>392</width>
<height>309</height>
<width>233</width>
<height>166</height>
</rect>
</property>
<attribute name="label">
@@ -350,8 +350,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>392</width>
<height>309</height>
<width>98</width>
<height>237</height>
</rect>
</property>
<attribute name="label">
@@ -432,8 +432,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>376</width>
<height>126</height>
<width>98</width>
<height>31</height>
</rect>
</property>
<layout class="QVBoxLayout" name="vl_DataUpdatesScrollArea">
@@ -536,6 +536,13 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pb_DumpDir">
<property name="text">
<string>dump files</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>