mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
Copy from other swift versions minor UI adjustments
This commit is contained in:
committed by
Mat Sutcliffe
parent
f3dd2425ee
commit
5d46017af2
@@ -50,7 +50,7 @@ namespace BlackGui
|
|||||||
const QSet<CSimulatorInfo> simulators = selectedSimulators.asSingleSimulatorSet();
|
const QSet<CSimulatorInfo> simulators = selectedSimulators.asSingleSimulatorSet();
|
||||||
if (simulators.isEmpty())
|
if (simulators.isEmpty())
|
||||||
{
|
{
|
||||||
static const CStatusMessage m = CStatusMessage(this).validationError(u"No simulators selected");
|
static const CStatusMessage m = CStatusMessage(this).validationError(u"No simulator(s) selected");
|
||||||
this->showOverlayMessage(m);
|
this->showOverlayMessage(m);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -59,7 +59,7 @@ namespace BlackGui
|
|||||||
const bool cache = ui->cb_ModelCache->isChecked();
|
const bool cache = ui->cb_ModelCache->isChecked();
|
||||||
if (!cache && !set)
|
if (!cache && !set)
|
||||||
{
|
{
|
||||||
static const CStatusMessage m = CStatusMessage(this).validationError(u"No simulators selected");
|
static const CStatusMessage m = CStatusMessage(this).validationError(u"No models selected (cache? model set?)");
|
||||||
this->showOverlayMessage(m);
|
this->showOverlayMessage(m);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ namespace BlackGui
|
|||||||
m_columns.addColumn(CColumn::standardString("exe.path", CApplicationInfo::IndexExecutablePath));
|
m_columns.addColumn(CColumn::standardString("exe.path", CApplicationInfo::IndexExecutablePath));
|
||||||
m_columns.addColumn(CColumn("e.?", "existing?", CApplicationInfo::IndexExecutablePathExisting, new CBoolIconFormatter("directory existing", "directory not existing")));
|
m_columns.addColumn(CColumn("e.?", "existing?", CApplicationInfo::IndexExecutablePathExisting, new CBoolIconFormatter("directory existing", "directory not existing")));
|
||||||
m_columns.addColumn(CColumn::standardString("data.path", CApplicationInfo::IndexApplicationDataPath));
|
m_columns.addColumn(CColumn::standardString("data.path", CApplicationInfo::IndexApplicationDataPath));
|
||||||
m_columns.setWidthPercentages({10, 10, 30, 5, 30});
|
m_columns.setWidthPercentages({20, 15, 30, 5, 30});
|
||||||
|
|
||||||
// default sort order
|
// default sort order
|
||||||
this->setSortColumnByPropertyIndex(CApplicationInfo::IndexVersionString);
|
this->setSortColumnByPropertyIndex(CApplicationInfo::IndexVersionString);
|
||||||
|
|||||||
Reference in New Issue
Block a user