refs #883, some UI finetuning / Doxygen comments

This commit is contained in:
Klaus Basan
2017-02-17 20:09:02 +01:00
committed by Mathew Sutcliffe
parent 6c72f8491c
commit 5d81b23386
6 changed files with 13 additions and 7 deletions

View File

@@ -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?

View File

@@ -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;
}
}

View File

@@ -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>

View File

@@ -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);
}
}

View File

@@ -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()
{

View File

@@ -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">