Add SDK Version and Plugin API Version to Information Settings tab
This commit is contained in:
parent
12166cbe93
commit
c6408eb752
2 changed files with 117 additions and 85 deletions
|
|
@ -1,4 +1,6 @@
|
|||
#include "OpenRGBSoftwareInfoPage.h"
|
||||
#include "OpenRGBPluginInterface.h"
|
||||
#include "NetworkProtocol.h"
|
||||
|
||||
using namespace Ui;
|
||||
|
||||
|
|
@ -9,6 +11,8 @@ OpenRGBSoftwareInfoPage::OpenRGBSoftwareInfoPage(QWidget *parent) :
|
|||
ui->setupUi(this);
|
||||
|
||||
ui->VersionValue->setText(VERSION_STRING);
|
||||
ui->SDKVersionValue->setText(QString::number(OPENRGB_SDK_PROTOCOL_VERSION));
|
||||
ui->PluginAPIVersionValue->setText(QString::number(OPENRGB_PLUGIN_API_VERSION));
|
||||
ui->BuildDateValue->setText(BUILDDATE_STRING);
|
||||
ui->GitCommitIDValue->setText(GIT_COMMIT_ID);
|
||||
ui->GitCommitDateValue->setText(GIT_COMMIT_DATE);
|
||||
|
|
|
|||
|
|
@ -35,87 +35,7 @@
|
|||
<enum>QFrame::Sunken</enum>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="VersionLabel">
|
||||
<property name="text">
|
||||
<string>Version:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="VersionValue">
|
||||
<property name="text">
|
||||
<string notr="true">Version Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="BuildDateLabel">
|
||||
<property name="text">
|
||||
<string>Build Date:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="BuildDateValue">
|
||||
<property name="text">
|
||||
<string notr="true">Build Date Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="GitCommitIDLabel">
|
||||
<property name="text">
|
||||
<string>Git Commit ID:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" 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="3" column="0">
|
||||
<widget class="QLabel" name="GitCommitDateLabel">
|
||||
<property name="text">
|
||||
<string>Git Commit Date:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QLabel" name="GitCommitDateValue">
|
||||
<property name="text">
|
||||
<string notr="true">Git Commit Date Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="GitBranchLabel">
|
||||
<property name="text">
|
||||
<string>Git Branch:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="GitBranchValue">
|
||||
<property name="text">
|
||||
<string notr="true">Git Branch Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="GitlabLinkLabel">
|
||||
<property name="text">
|
||||
<string>Gitlab page</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<item row="7" column="1">
|
||||
<widget class="QLabel" name="GitlabLinkValue">
|
||||
<property name="text">
|
||||
<string><a href="https://gitlab.com/CalcProgrammer1/OpenRGB">https://gitlab.com/CalcProgrammer1/OpenRGB</a></string>
|
||||
|
|
@ -128,14 +48,24 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="WebsiteLinkLabel">
|
||||
<item row="4" column="1">
|
||||
<widget class="QLabel" name="GitCommitIDValue">
|
||||
<property name="text">
|
||||
<string>Website</string>
|
||||
<string notr="true">Git Commit ID Value</string>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="1">
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="GitCommitIDLabel">
|
||||
<property name="text">
|
||||
<string>Git Commit ID:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="1">
|
||||
<widget class="QLabel" name="WebsiteLinkValue">
|
||||
<property name="text">
|
||||
<string><a href="https://openrgb.org">https://openrgb.org</a></string>
|
||||
|
|
@ -148,6 +78,104 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="7" column="0">
|
||||
<widget class="QLabel" name="GitlabLinkLabel">
|
||||
<property name="text">
|
||||
<string>Gitlab page</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="6" column="0">
|
||||
<widget class="QLabel" name="GitBranchLabel">
|
||||
<property name="text">
|
||||
<string>Git Branch:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" 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">
|
||||
<property name="text">
|
||||
<string notr="true">Git Branch Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="8" column="0">
|
||||
<widget class="QLabel" name="WebsiteLinkLabel">
|
||||
<property name="text">
|
||||
<string>Website</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<widget class="QLabel" name="GitCommitDateValue">
|
||||
<property name="text">
|
||||
<string notr="true">Git Commit Date Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="SDKVersionLabel">
|
||||
<property name="text">
|
||||
<string>SDK Version:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="VersionLabel">
|
||||
<property name="text">
|
||||
<string>Version:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<widget class="QLabel" name="GitCommitDateLabel">
|
||||
<property name="text">
|
||||
<string>Git Commit Date:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="VersionValue">
|
||||
<property name="text">
|
||||
<string notr="true">Version Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="BuildDateLabel">
|
||||
<property name="text">
|
||||
<string>Build Date:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="PluginAPIVersionLabel">
|
||||
<property name="text">
|
||||
<string>Plugin API Version:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="SDKVersionValue">
|
||||
<property name="text">
|
||||
<string>SDK Version Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="PluginAPIVersionValue">
|
||||
<property name="text">
|
||||
<string>Plugin API Version Value</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue