Advertisement
Scramper

Using PyQt5 .ui with PyOpenGL .ui file

Oct 27th, 2017
956
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.95 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3.  <class>MainWindow</class>
  4.  <widget class="QMainWindow" name="MainWindow">
  5.   <property name="geometry">
  6.    <rect>
  7.     <x>0</x>
  8.     <y>0</y>
  9.     <width>800</width>
  10.     <height>600</height>
  11.    </rect>
  12.   </property>
  13.   <property name="windowTitle">
  14.    <string>MainWindow</string>
  15.   </property>
  16.   <widget class="QWidget" name="centralwidget">
  17.    <widget class="QOpenGLWidget" name="openGLWidget">
  18.     <property name="geometry">
  19.      <rect>
  20.       <x>60</x>
  21.       <y>120</y>
  22.       <width>300</width>
  23.       <height>200</height>
  24.      </rect>
  25.     </property>
  26.    </widget>
  27.   </widget>
  28.   <widget class="QMenuBar" name="menubar">
  29.    <property name="geometry">
  30.     <rect>
  31.      <x>0</x>
  32.      <y>0</y>
  33.      <width>800</width>
  34.      <height>21</height>
  35.     </rect>
  36.    </property>
  37.   </widget>
  38.   <widget class="QStatusBar" name="statusbar"/>
  39.  </widget>
  40.  <resources/>
  41.  <connections/>
  42. </ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement