Skip to content
Snippets Groups Projects
Commit 10797f04 authored by Adam Honse's avatar Adam Honse
Browse files

Add Qt version to software information tab

parent 489d05a1
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -20,6 +20,7 @@ OpenRGBSoftwareInfoPage::OpenRGBSoftwareInfoPage(QWidget *parent) :
ui->setupUi(this);
ui->SDKVersionValue->setText(QString::number(OPENRGB_SDK_PROTOCOL_VERSION));
ui->PluginAPIVersionValue->setText(QString::number(OPENRGB_PLUGIN_API_VERSION));
ui->QtVersionValue->setText(QT_VERSION_STR);
ui->VersionValue->setText(VERSION_STRING);
ui->BuildDateValue->setText(BUILDDATE_STRING);
ui->GitCommitIDValue->setText(GIT_COMMIT_ID);
......
......@@ -35,37 +35,28 @@
<enum>QFrame::Sunken</enum>
</property>
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1">
<item row="7" column="1">
<widget class="QLabel" name="GitlabLinkValue">
<item row="2" column="1">
<widget class="QLabel" name="PluginAPIVersionValue">
<property name="text">
<string>&lt;a href=&quot;https://gitlab.com/CalcProgrammer1/OpenRGB&quot;&gt;https://gitlab.com/CalcProgrammer1/OpenRGB&lt;/a&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="openExternalLinks">
<bool>true</bool>
<string notr="true">Plugin API Version Value</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="GitCommitIDValue">
<item row="6" column="1">
<widget class="QLabel" name="GitCommitDateValue">
<property name="text">
<string notr="true">Git Commit ID Value</string>
</property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
<string notr="true">Git Commit Date Value</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="GitCommitIDLabel">
<item row="6" column="0">
<widget class="QLabel" name="GitCommitDateLabel">
<property name="text">
<string>Git Commit ID:</string>
<string>Git Commit Date:</string>
</property>
</widget>
</item>
<item row="8" column="1">
<item row="9" column="1">
<widget class="QLabel" name="WebsiteLinkValue">
<property name="text">
<string>&lt;a href=&quot;https://openrgb.org&quot;&gt;https://openrgb.org&lt;/a&gt;</string>
......@@ -78,101 +69,124 @@
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="GitlabLinkLabel">
<item row="0" column="1">
<widget class="QLabel" name="VersionValue">
<property name="text">
<string>GitLab:</string>
<string notr="true">Version Value</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QLabel" name="GitBranchLabel">
<item row="3" column="0">
<widget class="QLabel" name="QtVersionLabel">
<property name="text">
<string>Git Branch:</string>
<string>Qt Version:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<item row="4" column="1">
<widget class="QLabel" name="BuildDateValue">
<property name="text">
<string notr="true">Build Date Value</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="GitBranchValue">
<item row="7" column="0">
<widget class="QLabel" name="GitBranchLabel">
<property name="text">
<string notr="true">Git Branch Value</string>
<string>Git Branch:</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="WebsiteLinkLabel">
<item row="2" column="0">
<widget class="QLabel" name="PluginAPIVersionLabel">
<property name="text">
<string>Website:</string>
<string>Plugin API Version:</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="GitCommitDateValue">
<item row="4" column="0">
<widget class="QLabel" name="BuildDateLabel">
<property name="text">
<string notr="true">Git Commit Date Value</string>
<string>Build Date:</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="SDKVersionLabel">
<item row="8" column="1">
<widget class="QLabel" name="GitlabLinkValue">
<property name="text">
<string>SDK Version:</string>
<string>&lt;a href=&quot;https://gitlab.com/CalcProgrammer1/OpenRGB&quot;&gt;https://gitlab.com/CalcProgrammer1/OpenRGB&lt;/a&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="VersionLabel">
<item row="7" column="1">
<widget class="QLabel" name="GitBranchValue">
<property name="text">
<string>Version:</string>
<string notr="true">Git Branch Value</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="SDKVersionValue">
<property name="text">
<string notr="true">SDK Version Value</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="GitCommitIDValue">
<property name="text">
<string notr="true">Git Commit ID Value</string>
</property>
<property name="textInteractionFlags">
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="GitCommitDateLabel">
<widget class="QLabel" name="GitCommitIDLabel">
<property name="text">
<string>Git Commit Date:</string>
<string>Git Commit ID:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="VersionValue">
<item row="8" column="0">
<widget class="QLabel" name="GitlabLinkLabel">
<property name="text">
<string notr="true">Version Value</string>
<string>GitLab:</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="BuildDateLabel">
<item row="0" column="0">
<widget class="QLabel" name="VersionLabel">
<property name="text">
<string>Build Date:</string>
<string>Version:</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="PluginAPIVersionLabel">
<item row="9" column="0">
<widget class="QLabel" name="WebsiteLinkLabel">
<property name="text">
<string>Plugin API Version:</string>
<string>Website:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="SDKVersionValue">
<item row="1" column="0">
<widget class="QLabel" name="SDKVersionLabel">
<property name="text">
<string notr="true">SDK Version Value</string>
<string>SDK Version:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="PluginAPIVersionValue">
<item row="3" column="1">
<widget class="QLabel" name="QtVersionValue">
<property name="text">
<string notr="true">Plugin API Version Value</string>
<string>Qt Version Value</string>
</property>
</widget>
</item>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment