mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
refs #883, some UI finetuning / Doxygen comments
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6c72f8491c
commit
5d81b23386
@@ -63,7 +63,7 @@ namespace BlackConfig
|
||||
//! Beta test?
|
||||
static bool isBetaTest();
|
||||
|
||||
//! Can run in dev. environment
|
||||
//! Can run in dev. environment?
|
||||
static bool canRunInDeveloperEnvironment();
|
||||
|
||||
//! Shipped version?
|
||||
|
||||
@@ -160,7 +160,7 @@ namespace BlackCore
|
||||
QFile f(this->m_localSetupFileValue);
|
||||
if (!f.exists())
|
||||
{
|
||||
sApp->cmdLineErrorMessage("File " + this->m_localSetupFileValue + " does not exist");
|
||||
sApp->cmdLineErrorMessage(QString("File '%1' does not exist)").arg(this->m_localSetupFileValue));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -172,7 +172,7 @@ namespace BlackCore
|
||||
{
|
||||
if (!CNetworkUtils::canConnect(url))
|
||||
{
|
||||
sApp->cmdLineErrorMessage("URL " + urlString + " not reachable");
|
||||
sApp->cmdLineErrorMessage(QString("URL '%1' not reachable").arg(urlString));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,6 +34,9 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="BlackGui::Views::CIdentifierView" name="tvp_RegisteredComponents">
|
||||
<property name="selectionMode">
|
||||
<enum>QAbstractItemView::NoSelection</enum>
|
||||
</property>
|
||||
<attribute name="verticalHeaderVisible">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace BlackGui
|
||||
|
||||
void CDockWidgetInfoBar::ps_onStyleSheetsChanged()
|
||||
{
|
||||
QString st = sGui->getStyleSheetUtility().style(CStyleSheetUtility::fileNameInfoBar());
|
||||
const QString st = sGui->getStyleSheetUtility().style(CStyleSheetUtility::fileNameInfoBar());
|
||||
this->setStyleSheet(st);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -307,12 +307,15 @@ namespace BlackMisc
|
||||
return it->filePath();
|
||||
}
|
||||
|
||||
//! \privatesection
|
||||
//! @{
|
||||
QStringList getSwiftExecutablesImpl()
|
||||
{
|
||||
static const QFileInfo mySelf = QFileInfo(QCoreApplication::applicationFilePath()); // path + dir
|
||||
static const QStringList filter("*." + mySelf.suffix());
|
||||
return mySelf.dir().entryList(filter);
|
||||
}
|
||||
//! @}
|
||||
|
||||
const QStringList &CFileUtils::getSwiftExecutables()
|
||||
{
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
<string>swiftcore</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="qw_MainWidget">
|
||||
<layout class="QGridLayout" name="gridLayout_2">
|
||||
<layout class="QGridLayout" name="gl_Main">
|
||||
<item row="1" column="2">
|
||||
<widget class="QGroupBox" name="gb_Controls">
|
||||
<property name="title">
|
||||
<string>Controls</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<layout class="QGridLayout" name="gl_Controls">
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="pb_StartCore">
|
||||
<property name="styleSheet">
|
||||
@@ -86,7 +86,7 @@ QTextEdit {
|
||||
<property name="title">
|
||||
<string>DBus Mode</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_3">
|
||||
<layout class="QGridLayout" name="gl_DBusMode">
|
||||
<item row="0" column="0">
|
||||
<widget class="QRadioButton" name="rb_SessionBus">
|
||||
<property name="text">
|
||||
|
||||
Reference in New Issue
Block a user