加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mainwindow.ui 5.68 KB
一键复制 编辑 原始数据 按行查看 历史
<?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>800</width>
<height>600</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>800</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<property name="maximumSize">
<size>
<width>800</width>
<height>480</height>
</size>
</property>
<widget class="QVedio" name="openGLInputsrc1">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>360</width>
<height>240</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="openButton">
<property name="geometry">
<rect>
<x>320</x>
<y>260</y>
<width>61</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>打开文件</string>
</property>
</widget>
<widget class="QSlider" name="vedioctrl">
<property name="geometry">
<rect>
<x>20</x>
<y>260</y>
<width>291</width>
<height>22</height>
</rect>
</property>
<property name="maximum">
<number>1000</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QVedio" name="openGLOutput">
<property name="geometry">
<rect>
<x>410</x>
<y>10</y>
<width>360</width>
<height>240</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="resetbutton">
<property name="geometry">
<rect>
<x>410</x>
<y>330</y>
<width>75</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>设置</string>
</property>
</widget>
<widget class="QWidget" name="">
<property name="geometry">
<rect>
<x>410</x>
<y>260</y>
<width>301</width>
<height>52</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>对比度[1.0-4.0]</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="contrastset">
<property name="minimum">
<double>1.000000000000000</double>
</property>
<property name="maximum">
<double>4.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>亮度[0-100]</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="brightset">
<property name="maximum">
<number>100</number>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<customwidgets>
<customwidget>
<class>QVedio</class>
<extends>QOpenGLWidget</extends>
<header location="global">qvedio.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>openButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>open()</slot>
<hints>
<hint type="sourcelabel">
<x>366</x>
<y>296</y>
</hint>
<hint type="destinationlabel">
<x>430</x>
<y>-21</y>
</hint>
</hints>
</connection>
<connection>
<sender>vedioctrl</sender>
<signal>sliderPressed()</signal>
<receiver>MainWindow</receiver>
<slot>sliderpressaction()</slot>
<hints>
<hint type="sourcelabel">
<x>169</x>
<y>287</y>
</hint>
<hint type="destinationlabel">
<x>171</x>
<y>-63</y>
</hint>
</hints>
</connection>
<connection>
<sender>vedioctrl</sender>
<signal>sliderReleased()</signal>
<receiver>MainWindow</receiver>
<slot>slidereleaseaction()</slot>
<hints>
<hint type="sourcelabel">
<x>241</x>
<y>294</y>
</hint>
<hint type="destinationlabel">
<x>236</x>
<y>-39</y>
</hint>
</hints>
</connection>
<connection>
<sender>vedioctrl</sender>
<signal>sliderMoved(int)</signal>
<receiver>MainWindow</receiver>
<slot>slidermovedaction(int)</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>294</y>
</hint>
<hint type="destinationlabel">
<x>114</x>
<y>-83</y>
</hint>
</hints>
</connection>
<connection>
<sender>resetbutton</sender>
<signal>pressed()</signal>
<receiver>MainWindow</receiver>
<slot>changeImage()</slot>
<hints>
<hint type="sourcelabel">
<x>463</x>
<y>375</y>
</hint>
<hint type="destinationlabel">
<x>416</x>
<y>-62</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>open()</slot>
<slot>pressaction()</slot>
<slot>sliderpressaction()</slot>
<slot>slidereleaseaction()</slot>
<slot>slidermovedaction()</slot>
<slot>slidermovedaction(int)</slot>
<slot>changeImage()</slot>
</slots>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化