19 changed files with 1019 additions and 47 deletions
@ -0,0 +1,222 @@ |
|||||||
|
; Script generated by the HM NIS Edit Script Wizard. |
||||||
|
|
||||||
|
; HM NIS Edit Wizard helper defines |
||||||
|
!define PRODUCT_NAME "中芯热成上位机SA" |
||||||
|
!define PRODUCT_VERSION "@CMAKE_PROJECT_VERSION_MAJOR@.@CMAKE_PROJECT_VERSION_MINOR@.@CMAKE_PROJECT_VERSION_PATCH@.@CMAKE_PROJECT_VERSION_TWEAK@" |
||||||
|
!define PRODUCT_PUBLISHER "zxrc" |
||||||
|
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\zxrcClientSA.exe" |
||||||
|
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" |
||||||
|
!define PRODUCT_UNINST_ROOT_KEY "HKLM" |
||||||
|
|
||||||
|
SetCompressor lzma |
||||||
|
|
||||||
|
; MUI 1.67 compatible ------ |
||||||
|
!include "MUI.nsh" |
||||||
|
|
||||||
|
; MUI Settings |
||||||
|
!define MUI_ABORTWARNING |
||||||
|
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico" |
||||||
|
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" |
||||||
|
|
||||||
|
; Language Selection Dialog Settings |
||||||
|
!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}" |
||||||
|
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" |
||||||
|
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language" |
||||||
|
|
||||||
|
; Welcome page |
||||||
|
!insertmacro MUI_PAGE_WELCOME |
||||||
|
; Directory page |
||||||
|
!insertmacro MUI_PAGE_DIRECTORY |
||||||
|
; Instfiles page |
||||||
|
!insertmacro MUI_PAGE_INSTFILES |
||||||
|
; Finish page |
||||||
|
!define MUI_FINISHPAGE_RUN "$INSTDIR\zxrcClientSA.exe" |
||||||
|
!insertmacro MUI_PAGE_FINISH |
||||||
|
|
||||||
|
; Uninstaller pages |
||||||
|
!insertmacro MUI_UNPAGE_INSTFILES |
||||||
|
|
||||||
|
; Language files |
||||||
|
!insertmacro MUI_LANGUAGE "English" |
||||||
|
!insertmacro MUI_LANGUAGE "SimpChinese" |
||||||
|
|
||||||
|
; Reserve files |
||||||
|
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS |
||||||
|
|
||||||
|
; MUI end ------ |
||||||
|
|
||||||
|
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" |
||||||
|
OutFile "${PRODUCT_NAME} ${PRODUCT_VERSION}Setup.exe" |
||||||
|
InstallDir "$PROGRAMFILES\中芯热成上位机" |
||||||
|
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" |
||||||
|
ShowInstDetails show |
||||||
|
ShowUnInstDetails show |
||||||
|
|
||||||
|
Function .onInit |
||||||
|
!insertmacro MUI_LANGDLL_DISPLAY |
||||||
|
FunctionEnd |
||||||
|
|
||||||
|
Section "MainSection" SEC01 |
||||||
|
SetOutPath "$INSTDIR" |
||||||
|
SetOverwrite ifnewer |
||||||
|
File "zxrcClientSA.exe" |
||||||
|
CreateDirectory "$SMPROGRAMS\中芯热成上位机" |
||||||
|
CreateShortCut "$SMPROGRAMS\中芯热成上位机\中芯热成上位机.lnk" "$INSTDIR\zxrcClientSA.exe" |
||||||
|
CreateShortCut "$DESKTOP\中芯热成上位机.lnk" "$INSTDIR\zxrcClientSA.exe" |
||||||
|
SetOverwrite try |
||||||
|
File "D3Dcompiler_47.dll" |
||||||
|
|
||||||
|
SetOutPath "$INSTDIR\iconengines" |
||||||
|
File "iconengines\qsvgicon.dll" |
||||||
|
SetOutPath "$INSTDIR\imageformats" |
||||||
|
File "imageformats\qgif.dll" |
||||||
|
File "imageformats\qicns.dll" |
||||||
|
File "imageformats\qico.dll" |
||||||
|
File "imageformats\qjpeg.dll" |
||||||
|
File "imageformats\qsvg.dll" |
||||||
|
File "imageformats\qtga.dll" |
||||||
|
File "imageformats\qtiff.dll" |
||||||
|
File "imageformats\qwbmp.dll" |
||||||
|
File "imageformats\qwebp.dll" |
||||||
|
SetOutPath "$INSTDIR" |
||||||
|
File "libEGL.dll" |
||||||
|
File "libGLESv2.dll" |
||||||
|
File "logo.ico" |
||||||
|
File "opencv_videoio_ffmpeg470_64.dll" |
||||||
|
File "opencv_world470.dll" |
||||||
|
File "opengl32sw.dll" |
||||||
|
SetOutPath "$INSTDIR\platforms" |
||||||
|
File "platforms\qwindows.dll" |
||||||
|
SetOutPath "$INSTDIR" |
||||||
|
File "Qt5Core.dll" |
||||||
|
File "Qt5Gui.dll" |
||||||
|
File "Qt5Svg.dll" |
||||||
|
File "Qt5Xml.dll" |
||||||
|
File "Qt5Widgets.dll" |
||||||
|
File "qtcsettings.cmake" |
||||||
|
SetOutPath "$INSTDIR\styles" |
||||||
|
File "styles\qwindowsvistastyle.dll" |
||||||
|
SetOutPath "$INSTDIR\translations" |
||||||
|
File "translations\qt_ar.qm" |
||||||
|
File "translations\qt_bg.qm" |
||||||
|
File "translations\qt_ca.qm" |
||||||
|
File "translations\qt_cs.qm" |
||||||
|
File "translations\qt_da.qm" |
||||||
|
File "translations\qt_de.qm" |
||||||
|
File "translations\qt_en.qm" |
||||||
|
File "translations\qt_es.qm" |
||||||
|
File "translations\qt_fi.qm" |
||||||
|
File "translations\qt_fr.qm" |
||||||
|
File "translations\qt_gd.qm" |
||||||
|
File "translations\qt_he.qm" |
||||||
|
File "translations\qt_hu.qm" |
||||||
|
File "translations\qt_it.qm" |
||||||
|
File "translations\qt_ja.qm" |
||||||
|
File "translations\qt_ko.qm" |
||||||
|
File "translations\qt_lv.qm" |
||||||
|
File "translations\qt_pl.qm" |
||||||
|
File "translations\qt_ru.qm" |
||||||
|
File "translations\qt_sk.qm" |
||||||
|
File "translations\qt_tr.qm" |
||||||
|
File "translations\qt_uk.qm" |
||||||
|
File "translations\qt_zh_TW.qm" |
||||||
|
SetOutPath "$INSTDIR" |
||||||
|
|
||||||
|
SectionEnd |
||||||
|
|
||||||
|
Section -AdditionalIcons |
||||||
|
CreateShortCut "$SMPROGRAMS\中芯热成上位机\Uninstall.lnk" "$INSTDIR\uninst.exe" |
||||||
|
SectionEnd |
||||||
|
|
||||||
|
Section -Post |
||||||
|
WriteUninstaller "$INSTDIR\uninst.exe" |
||||||
|
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\zxrcClientSA.exe" |
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" |
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" |
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\zxrcClientSA.exe" |
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" |
||||||
|
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}" |
||||||
|
SectionEnd |
||||||
|
|
||||||
|
|
||||||
|
Function un.onUninstSuccess |
||||||
|
HideWindow |
||||||
|
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从你的计算机移除。" |
||||||
|
FunctionEnd |
||||||
|
|
||||||
|
Function un.onInit |
||||||
|
!insertmacro MUI_UNGETLANGUAGE |
||||||
|
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "你确实要完全移除 $(^Name) ,其及所有的组件?" IDYES +2 |
||||||
|
Abort |
||||||
|
FunctionEnd |
||||||
|
|
||||||
|
Section Uninstall |
||||||
|
Delete "$INSTDIR\uninst.exe" |
||||||
|
Delete "$INSTDIR\usbcam.lib" |
||||||
|
Delete "$INSTDIR\translations\qt_zh_TW.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_uk.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_tr.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_sk.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_ru.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_pl.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_lv.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_ko.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_ja.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_it.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_hu.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_he.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_gd.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_fr.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_fi.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_es.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_en.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_de.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_da.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_cs.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_ca.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_bg.qm" |
||||||
|
Delete "$INSTDIR\translations\qt_ar.qm" |
||||||
|
Delete "$INSTDIR\styles\qwindowsvistastyle.dll" |
||||||
|
Delete "$INSTDIR\qtcsettings.cmake" |
||||||
|
Delete "$INSTDIR\Qt5Widgets.dll" |
||||||
|
Delete "$INSTDIR\Qt5Svg.dll" |
||||||
|
Delete "$INSTDIR\Qt5Gui.dll" |
||||||
|
Delete "$INSTDIR\Qt5Xml.dll" |
||||||
|
|
||||||
|
Delete "$INSTDIR\Qt5Core.dll" |
||||||
|
Delete "$INSTDIR\platforms\qwindows.dll" |
||||||
|
Delete "$INSTDIR\opengl32sw.dll" |
||||||
|
Delete "$INSTDIR\opencv_world470.dll" |
||||||
|
Delete "$INSTDIR\opencv_videoio_ffmpeg470_64.dll" |
||||||
|
Delete "$INSTDIR\logo.ico" |
||||||
|
Delete "$INSTDIR\libGLESv2.dll" |
||||||
|
Delete "$INSTDIR\libEGL.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qwebp.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qwbmp.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qtiff.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qtga.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qsvg.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qjpeg.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qico.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qicns.dll" |
||||||
|
Delete "$INSTDIR\imageformats\qgif.dll" |
||||||
|
Delete "$INSTDIR\iconengines\qsvgicon.dll" |
||||||
|
Delete "$INSTDIR\D3Dcompiler_47.dll" |
||||||
|
Delete "$INSTDIR\zxrcClientSA.exe" |
||||||
|
|
||||||
|
Delete "$SMPROGRAMS\中芯热成上位机\Uninstall.lnk" |
||||||
|
Delete "$DESKTOP\中芯热成上位机.lnk" |
||||||
|
Delete "$SMPROGRAMS\中芯热成上位机\中芯热成上位机.lnk" |
||||||
|
|
||||||
|
RMDir "$SMPROGRAMS\中芯热成上位机" |
||||||
|
RMDir "$INSTDIR\translations" |
||||||
|
RMDir "$INSTDIR\styles" |
||||||
|
RMDir "$INSTDIR\platforms" |
||||||
|
RMDir "$INSTDIR\imageformats" |
||||||
|
RMDir "$INSTDIR\iconengines" |
||||||
|
RMDir "$INSTDIR" |
||||||
|
|
||||||
|
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" |
||||||
|
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" |
||||||
|
SetAutoClose true |
||||||
|
SectionEnd |
@ -0,0 +1,126 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<ui version="4.0"> |
||||||
|
<class>menu5_1</class> |
||||||
|
<widget class="QWidget" name="menu5_1"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>0</x> |
||||||
|
<y>0</y> |
||||||
|
<width>303</width> |
||||||
|
<height>230</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="windowTitle"> |
||||||
|
<string>Form</string> |
||||||
|
</property> |
||||||
|
<layout class="QGridLayout" name="gridLayout"> |
||||||
|
<item row="0" column="0"> |
||||||
|
<widget class="QRadioButton" name="radioButton"> |
||||||
|
<property name="text"> |
||||||
|
<string>打开</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="0" column="1"> |
||||||
|
<widget class="QRadioButton" name="radioButton_2"> |
||||||
|
<property name="text"> |
||||||
|
<string>关闭</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="1" column="0"> |
||||||
|
<widget class="QLabel" name="label"> |
||||||
|
<property name="text"> |
||||||
|
<string>背景序号</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="1" column="1"> |
||||||
|
<widget class="SpinBox" name="spinBox"> |
||||||
|
<property name="minimum"> |
||||||
|
<number>1</number> |
||||||
|
</property> |
||||||
|
<property name="maximum"> |
||||||
|
<number>5</number> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="5" column="0" colspan="2"> |
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout"> |
||||||
|
<item> |
||||||
|
<widget class="QLabel" name="label_2"> |
||||||
|
<property name="text"> |
||||||
|
<string>亮度1</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item> |
||||||
|
<widget class="QLabel" name="label_3"> |
||||||
|
<property name="text"> |
||||||
|
<string>亮度2</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item> |
||||||
|
<widget class="QLabel" name="label_4"> |
||||||
|
<property name="text"> |
||||||
|
<string>亮度3</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item> |
||||||
|
<widget class="QLabel" name="label_5"> |
||||||
|
<property name="text"> |
||||||
|
<string>亮度4</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item> |
||||||
|
<widget class="QLabel" name="label_10"> |
||||||
|
<property name="text"> |
||||||
|
<string>亮度5</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
</layout> |
||||||
|
</item> |
||||||
|
<item row="4" column="0" colspan="2"> |
||||||
|
<widget class="QPushButton" name="pushButton_3"> |
||||||
|
<property name="text"> |
||||||
|
<string>读出对应背景</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="3" column="0" colspan="2"> |
||||||
|
<widget class="QPushButton" name="pushButton_2"> |
||||||
|
<property name="text"> |
||||||
|
<string>固化对应背景</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="2" column="0" colspan="2"> |
||||||
|
<widget class="QPushButton" name="pushButton"> |
||||||
|
<property name="text"> |
||||||
|
<string>保存对应背景</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="6" column="0" colspan="2"> |
||||||
|
<widget class="QPushButton" name="pushButton_4"> |
||||||
|
<property name="text"> |
||||||
|
<string>自动增益</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
</layout> |
||||||
|
</widget> |
||||||
|
<customwidgets> |
||||||
|
<customwidget> |
||||||
|
<class>SpinBox</class> |
||||||
|
<extends>QSpinBox</extends> |
||||||
|
<header location="global">qfluentwidgets</header> |
||||||
|
</customwidget> |
||||||
|
</customwidgets> |
||||||
|
<resources/> |
||||||
|
<connections/> |
||||||
|
</ui> |
@ -0,0 +1,95 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<ui version="4.0"> |
||||||
|
<class>menu6</class> |
||||||
|
<widget class="QWidget" name="menu6"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>0</x> |
||||||
|
<y>0</y> |
||||||
|
<width>240</width> |
||||||
|
<height>320</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="windowTitle"> |
||||||
|
<string>Form</string> |
||||||
|
</property> |
||||||
|
<layout class="QGridLayout" name="gridLayout_2"> |
||||||
|
<item row="0" column="0"> |
||||||
|
<widget class="QLabel" name="label"> |
||||||
|
<property name="text"> |
||||||
|
<string>类型</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="0" column="1"> |
||||||
|
<widget class="QComboBox" name="comboBox"> |
||||||
|
<property name="editable"> |
||||||
|
<bool>true</bool> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="1" column="0"> |
||||||
|
<widget class="QLabel" name="label_2"> |
||||||
|
<property name="text"> |
||||||
|
<string>距离</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="1" column="1"> |
||||||
|
<widget class="QDoubleSpinBox" name="doubleSpinBox"/> |
||||||
|
</item> |
||||||
|
<item row="2" column="0"> |
||||||
|
<widget class="QLabel" name="label_3"> |
||||||
|
<property name="text"> |
||||||
|
<string>温度</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="2" column="1"> |
||||||
|
<widget class="QDoubleSpinBox" name="doubleSpinBox_2"> |
||||||
|
<property name="minimum"> |
||||||
|
<double>-200.000000000000000</double> |
||||||
|
</property> |
||||||
|
<property name="maximum"> |
||||||
|
<double>10000.000000000000000</double> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="3" column="0" colspan="2"> |
||||||
|
<widget class="QPushButton" name="pushButton"> |
||||||
|
<property name="text"> |
||||||
|
<string>保存温度点</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="4" column="0" colspan="2"> |
||||||
|
<widget class="QGroupBox" name="groupBox"> |
||||||
|
<property name="title"> |
||||||
|
<string>GroupBox</string> |
||||||
|
</property> |
||||||
|
<layout class="QGridLayout" name="gridLayout"> |
||||||
|
<item row="0" column="0"> |
||||||
|
<widget class="QRadioButton" name="radioButton"> |
||||||
|
<property name="text"> |
||||||
|
<string>显示温度</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="0" column="1"> |
||||||
|
<widget class="QRadioButton" name="radioButton_2"> |
||||||
|
<property name="text"> |
||||||
|
<string>显示亮度</string> |
||||||
|
</property> |
||||||
|
<property name="checked"> |
||||||
|
<bool>true</bool> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
</layout> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
</layout> |
||||||
|
</widget> |
||||||
|
<resources/> |
||||||
|
<connections/> |
||||||
|
</ui> |
@ -0,0 +1,14 @@ |
|||||||
|
#include "player.h" |
||||||
|
#include "ui_player.h" |
||||||
|
|
||||||
|
player::player(QWidget *parent) : |
||||||
|
QMainWindow(parent), |
||||||
|
ui(new Ui::player) |
||||||
|
{ |
||||||
|
ui->setupUi(this); |
||||||
|
} |
||||||
|
|
||||||
|
player::~player() |
||||||
|
{ |
||||||
|
delete ui; |
||||||
|
} |
@ -0,0 +1,22 @@ |
|||||||
|
#ifndef PLAYER_H |
||||||
|
#define PLAYER_H |
||||||
|
|
||||||
|
#include <QMainWindow> |
||||||
|
|
||||||
|
namespace Ui { |
||||||
|
class player; |
||||||
|
} |
||||||
|
|
||||||
|
class player : public QMainWindow |
||||||
|
{ |
||||||
|
Q_OBJECT |
||||||
|
|
||||||
|
public: |
||||||
|
explicit player(QWidget *parent = nullptr); |
||||||
|
~player(); |
||||||
|
|
||||||
|
private: |
||||||
|
Ui::player *ui; |
||||||
|
}; |
||||||
|
|
||||||
|
#endif // PLAYER_H
|
@ -0,0 +1,53 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<ui version="4.0"> |
||||||
|
<class>player</class> |
||||||
|
<widget class="QMainWindow" name="player"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>0</x> |
||||||
|
<y>0</y> |
||||||
|
<width>523</width> |
||||||
|
<height>397</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="windowTitle"> |
||||||
|
<string>MainWindow</string> |
||||||
|
</property> |
||||||
|
<widget class="QWidget" name="centralwidget"> |
||||||
|
<layout class="QGridLayout" name="gridLayout"> |
||||||
|
<item row="0" column="0"> |
||||||
|
<widget class="QLabel" name="label"> |
||||||
|
<property name="text"> |
||||||
|
<string>TextLabel</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
<item row="1" column="0"> |
||||||
|
<widget class="QSplitter" name="splitter"> |
||||||
|
<property name="orientation"> |
||||||
|
<enum>Qt::Horizontal</enum> |
||||||
|
</property> |
||||||
|
<widget class="QPushButton" name="pushButton"> |
||||||
|
<property name="text"> |
||||||
|
<string>切换文件</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QSlider" name="horizontalSlider"> |
||||||
|
<property name="orientation"> |
||||||
|
<enum>Qt::Horizontal</enum> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QPushButton" name="pushButton_2"> |
||||||
|
<property name="text"> |
||||||
|
<string>播放</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
</layout> |
||||||
|
</widget> |
||||||
|
<widget class="QStatusBar" name="statusbar"/> |
||||||
|
</widget> |
||||||
|
<resources/> |
||||||
|
<connections/> |
||||||
|
</ui> |
Loading…
Reference in new issue