2 Star 5 Fork 1

guee / GueeRecorder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mainwindow.ui 27.74 KB
一键复制 编辑 原始数据 按行查看 历史
guee 提交于 2021-10-30 23:54 . 增加对龙芯3A5000的支持
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>409</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>700</width>
<height>320</height>
</size>
</property>
<property name="windowTitle">
<string>Guee 录屏机</string>
</property>
<property name="styleSheet">
<string notr="true">QWidget#widgetTitle{
border-width: 0px 0px 0px 280px;
border-image: url(:/title.png) 0px 0px 0px 280px;
}
QWidget#widgetPreview{
border: none;
background-color: rgb(0, 0, 0);
}
QWidget#widgetBottom
{
background-color: rgb(64, 64, 64,160);
}
QWidget#stackedWidgetAddContents{
border: none;
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0.213542 rgba(0, 0, 0, 255), stop:1 rgba(77, 77, 77, 224));
}
QWidget#widgetContents{
border: none;
background-color: rgb(64, 64, 64,160);
}
QWidget#listViewContents{
border: none;
background-color: rgb(64, 64, 64,0);
}
QPushButton{
outline: none;
}
QPushButton#pushButtonRecStart{
border-width: 0px 0px 0px 0px;
border-image: url(:/butStart_normal.png);
}
QPushButton#pushButtonRecStart:hover{
border-width: 0px 0px 0px 0px;
border-image: url(:/butStart_enter.png);
}
QPushButton#pushButtonRecStart:disabled{
border-width: 0px 0px 0px 0px;
border-image: url(:/butStart_disable.png);
}
QPushButton#pushButtonRecStop{
border-width: 0px 0px 0px 0px;
border-image: url(:/butStop_normal.png);
}
QPushButton#pushButtonRecStop:hover{
border-width: 0px 0px 0px 0px;
border-image: url(:/butStop_enter.png);
}
QPushButton#pushButtonRecStop:disabled{
border-width: 0px 0px 0px 0px;
border-image: url(:/butStop_disable.png);
}
QPushButton#pushButtonRecPause{
border-width: 0px 0px 0px 0px;
border-image: url(:/butPause_normal.png);
}
QPushButton#pushButtonRecPause:hover{
border-width: 0px 0px 0px 0px;
border-image: url(:/butPause_enter.png);
}
QPushButton#pushButtonRecPause:disabled{
border-width: 0px 0px 0px 0px;
border-image: url(:/butPause_disable.png);
}
QPushButton#pushButtonRecPause:checked{
border-width: 0px 0px 0px 0px;
border-image: url(:/butPause_checked_normal.png);
}
QPushButton#pushButtonRecPause:checked:hover{
border-width: 0px 0px 0px 0px;
border-image: url(:/butPause_checked_enter.png);
}
QPushButton#pushButtonRecPause:checked:disabled{
border-width: 0px 0px 0px 0px;
border-image: url(:/butPause_checked_disable.png);
}
QLabel#labelRecordTime
{
color: rgb(200, 200, 200);
font-size:14px;
}
QPushButton#pushButtonScreenSelect
{
border: none;
color: rgb(200, 200, 200);
border-left: 1px solid rgb(64, 64, 64);
}
QPushButton#pushButtonScreenSelect:hover
{
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
QPushButton#pushButtonScreenSelect:checked
{
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
QPushButton#pushButtonCameraSelect
{
border: none;
color: rgb(200, 200, 200);
border-left: 1px solid rgb(64, 64, 64);
}
QPushButton#pushButtonCameraSelect:hover
{
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
QPushButton#pushButtonCameraSelect:checked
{
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
QPushButton#pushButtonMediaSelect
{
border: none;
color: rgb(200, 200, 200);
border-left: 1px solid rgb(64, 64, 64);
border-right: 1px solid rgb(64, 64, 64);
}
QPushButton#pushButtonMediaSelect:hover
{
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
QPushButton#pushButtonMediaSelect:checked
{
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
}
QPushButton#pushButton_EnablePreview
{
border: 1px solid rgb(160, 160, 160);
border-radius: 5px;
color: rgb(160, 160, 160);
}
QPushButton#pushButton_EnablePreview:checked
{
border: 1px solid rgb(160, 160, 160);
background-color: rgb(160, 160, 160);
border-radius: 5px;
color: rgb(0, 0, 0);
}
QPushButton#pushButtonClose
{
border: 1px solid rgb(160, 160, 160);
border-radius: 5px;
color: rgb(160, 160, 160);
}
QPushButton#pushButtonClose:hover
{
background-color: rgb(240, 240, 240);
border: 1px solid rgb(240, 240, 240);
color: rgb(160, 160, 160);
}
QPushButton#pushButtonMinimize
{
border: 1px solid rgb(160, 160, 160);
border-radius: 5px;
color: rgb(160, 160, 160);
}
QPushButton#pushButtonMinimize:hover
{
background-color: rgb(240, 240, 240);
border: 1px solid rgb(240, 240, 240);
color: rgb(160, 160, 160);
}
QPushButton#pushButtonMenu
{
border: 1px solid rgb(160, 160, 160);
border-radius: 5px;
color: rgb(160, 160, 160);
}
QPushButton#pushButtonMenu:hover
{
background-color: rgb(240, 240, 240);
border: 1px solid rgb(240, 240, 240);
color: rgb(160, 160, 160);
}
QLabel#labelRenderFps
{
color: rgb(160, 160, 160);
}
QLabel#labelVideoInfo
{
color: rgb(160, 160, 160);
}
</string>
</property>
<property name="animated">
<bool>false</bool>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widgetTitle" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="leftMargin">
<number>4</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>4</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widgetLogo" native="true">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
<widget class="QLabel" name="labelLogo">
<property name="geometry">
<rect>
<x>4</x>
<y>8</y>
<width>128</width>
<height>64</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>128</width>
<height>64</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>128</width>
<height>64</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="UiResource/recorder.qrc">:/logo.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="labelVersion">
<property name="geometry">
<rect>
<x>20</x>
<y>61</y>
<width>131</width>
<height>22</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(20, 60, 90);
font-size:8px;
</string>
</property>
<property name="text">
<string>V1.0.0 beta [2020-09-20]</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="pushButton_EnablePreview">
<property name="geometry">
<rect>
<x>0</x>
<y>50</y>
<width>16</width>
<height>16</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="text">
<string>O</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QStackedWidget" name="stackedWidgetRecControl">
<property name="minimumSize">
<size>
<width>120</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>120</width>
<height>80</height>
</size>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>12</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="pushButtonRecStart">
<property name="minimumSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>点击按钮开始录像</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_2">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="pushButtonRecStop">
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>停止录像</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>4</number>
</property>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButtonRecPause">
<property name="minimumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>暂停、继续录像</string>
</property>
<property name="text">
<string/>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelRecordTime">
<property name="text">
<string>00:00:00</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<property name="topMargin">
<number>4</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QWidget" name="widgetTitleInfo" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>24</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="labelRenderFps">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="labelVideoInfo">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonMenu">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>打开设置界面</string>
</property>
<property name="text">
<string>=</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonMinimize">
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>窗口最小化</string>
</property>
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonClose">
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="toolTip">
<string>关闭程序</string>
</property>
<property name="text">
<string>X</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_7">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="pushButtonScreenSelect">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>32</height>
</size>
</property>
<property name="toolTip">
<string>添加屏幕、屏幕区域、窗口</string>
</property>
<property name="text">
<string>屏幕</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonCameraSelect">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>32</height>
</size>
</property>
<property name="toolTip">
<string>添加摄像头</string>
</property>
<property name="text">
<string>摄像头</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonMediaSelect">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>32</height>
</size>
</property>
<property name="toolTip">
<string>添加图像文件</string>
</property>
<property name="text">
<string>图像</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="FormAudioRec" name="widget_AudioRec" native="true">
<property name="minimumSize">
<size>
<width>140</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="GlWidgetPreview" name="widgetPreview" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>鼠标左键选择图层,鼠标右键放弃选择</string>
</property>
<widget class="StackedWidgetAddLayer" name="stackedWidgetAddContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>698</width>
<height>140</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>140</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>100</height>
</size>
</property>
<property name="toolTip">
<string>添加画面内容为图层</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page_3"/>
<widget class="QWidget" name="page_4"/>
</widget>
<widget class="FormLayerTools" name="widgetLayerTools" native="true">
<property name="geometry">
<rect>
<x>520</x>
<y>150</y>
<width>150</width>
<height>158</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>123</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>150</width>
<height>16777215</height>
</size>
</property>
</widget>
</widget>
</item>
</layout>
</item>
<item alignment="Qt::AlignBottom">
<widget class="QWidget" name="widgetBottom" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>4</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>4</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>GlWidgetPreview</class>
<extends>QWidget</extends>
<header>GlWidgetPreview.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>StackedWidgetAddLayer</class>
<extends>QStackedWidget</extends>
<header>StackedWidgetAddLayer.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>FormAudioRec</class>
<extends>QWidget</extends>
<header>FormAudioRec.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>FormLayerTools</class>
<extends>QWidget</extends>
<header>FormLayerTools.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>pushButtonScreenSelect</tabstop>
<tabstop>pushButtonCameraSelect</tabstop>
<tabstop>pushButtonMediaSelect</tabstop>
<tabstop>pushButtonRecStop</tabstop>
<tabstop>pushButtonRecPause</tabstop>
</tabstops>
<resources>
<include location="UiResource/recorder.qrc"/>
</resources>
<connections/>
</ui>
C++
1
https://gitee.com/guee/GueeRecorder.git
git@gitee.com:guee/GueeRecorder.git
guee
GueeRecorder
GueeRecorder
master

搜索帮助