1 Star 4 Fork 0

Young/playbakCtl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
playbakctl_widget.ui 13.31 KB
一键复制 编辑 原始数据 按行查看 历史
Young 提交于 2020-04-13 14:38 . 完善此控件
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>playbakCtl_Widget</class>
<widget class="QWidget" name="playbakCtl_Widget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>925</width>
<height>115</height>
</rect>
</property>
<property name="windowTitle">
<string>playbakCtl_Widget</string>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(43,54,67);
border:noborder</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>8</number>
</property>
<property name="leftMargin">
<number>10</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>3</number>
</property>
<item>
<widget class="QFrame" name="title_frame">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>3</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="playbackCtl_Start_pBt">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: white;
background-color: rgb(23,145,120);
border:1px;
border-radius: 5px;</string>
</property>
<property name="text">
<string>Play</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="playbackCtl_Stop_pBt">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>25</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: white;
background-color: rgb(23,145,120);
border:1px;
border-radius: 5px;</string>
</property>
<property name="text">
<string>Stop</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="playbackCtl_SpeedAdd_pBt">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: white;
background-color: rgb(23,145,120);
border:1px;
border-radius: 5px;</string>
</property>
<property name="text">
<string>Speed+</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="playbackCtl_SpeedSub_pBt">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: white;
background-color: rgb(23,145,120);
border:1px;
border-radius: 5px;</string>
</property>
<property name="text">
<string>Speed-</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>x1</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>155</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QToolButton" name="playbackCtl_Zoom24H_pBt">
<property name="minimumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QToolButton {
background-color: rgb(23,145,120);
font: 9pt &quot;宋体&quot;;
border:1px ;
color: rgb(229,229,229);
border-radius: 10px;
padding:0px;
}
</string>
</property>
<property name="text">
<string>24h</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="playbackCtl_Zoom12H_pBt">
<property name="minimumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QToolButton {
background-color: rgb(23,145,120);
font: 9pt &quot;宋体&quot;;
border:1px ;
color: rgb(229,229,229);
border-radius: 10px;
padding:0px;
}
</string>
</property>
<property name="text">
<string>12h</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="playbackCtl_Zoom4H_pBt">
<property name="minimumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QToolButton {
background-color: rgb(23,145,120);
font: 9pt &quot;宋体&quot;;
border:1px ;
color: rgb(229,229,229);
border-radius: 10px;
padding:0px;
}
</string>
</property>
<property name="text">
<string>4h</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="playbackCtl_Zoom2H_pBt">
<property name="minimumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QToolButton {
background-color: rgb(23,145,120);
font: 9pt &quot;宋体&quot;;
border:1px ;
color: rgb(229,229,229);
border-radius: 10px;
padding:0px;
}
</string>
</property>
<property name="text">
<string>2h</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="playbackCtl_Date_pBt">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: white;
background-color: rgb(23,145,120);
border:1px;
border-radius: 5px;</string>
</property>
<property name="text">
<string>Date</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="process_frame">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">border:noborder</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<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="QTableWidget" name="playback_process_tbW">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QTableWidget{
font: 10pt &quot;宋体&quot;;
color: white;
border: 1px solid rgb(102,119,139);
}
/*更改垂直滑动条*/
/*
QScrollBar:horizontal {
width: 16px;
margin-top: 16px;
margin-bottom: 16px;
}*/
/*
QScrollBar::handle:horizontal {
min-height: 40px;
background: rgb(80,90,100);
}
QScrollBar::sub-page:horizontal {
width: 16px;
background: rgb(170,170,170);
}
QScrollBar::add-page:horizontal {
width: 16px;
background: rgb(170,170,170);
}
QScrollBar::sub-line:horizontal {
width: 16px;
height: 16px;
subcontrol-position: top;
subcontrol-origin: margin;
background: rgb(170,170,170);
background-image: url(:/image/up.png);
}
QScrollBar::add-line:horizontal {
width: 16px;
height: 16px;
subcontrol-position: bottom;
subcontrol-origin: margin;
background: rgb(170,170,170);
background-image: url(:/image/down.png);
}
*/
</string>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum>
</property>
<property name="showGrid">
<bool>false</bool>
</property>
<property name="gridStyle">
<enum>Qt::NoPen</enum>
</property>
<attribute name="horizontalHeaderVisible">
<bool>false</bool>
</attribute>
<attribute name="verticalHeaderVisible">
<bool>false</bool>
</attribute>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/Gaoy9303/playbakCtl.git
git@gitee.com:Gaoy9303/playbakCtl.git
Gaoy9303
playbakCtl
playbakCtl
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385