mirror of
https://github.com/86Box/86Box.git
synced 2026-02-28 09:54:21 -07:00
in gleswidget to renderstack (a QStackWidget), which in turn calls an actual renderer. added ability to target GLES directly, but this is maybe uneeded.
197 lines
5.2 KiB
XML
197 lines
5.2 KiB
XML
<?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>724</width>
|
|
<height>427</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>86Box</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<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="RendererStack" name="stackedWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="SoftwareRenderer" name="sw"/>
|
|
<widget class="HardwareRenderer" name="ogl"/>
|
|
<widget class="HardwareRenderer" name="gles"/>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>724</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuAction">
|
|
<property name="title">
|
|
<string>Action</string>
|
|
</property>
|
|
<addaction name="actionKeyboard_requires_capture"/>
|
|
<addaction name="actionRight_CTRL_is_left_ALT"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionHard_Reset"/>
|
|
<addaction name="actionCtrl_Alt_Del"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionCtrl_Alt_Esc"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionPause"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionExit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuTools">
|
|
<property name="title">
|
|
<string>Tools</string>
|
|
</property>
|
|
<addaction name="actionSettings"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuView">
|
|
<property name="title">
|
|
<string>View</string>
|
|
</property>
|
|
<addaction name="actionFullscreen"/>
|
|
<addaction name="actionSoftware_Renderer"/>
|
|
<addaction name="actionHardware_Renderer_OpenGL"/>
|
|
<addaction name="actionHardware_Renderer_OpenGL_ES"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuMedia">
|
|
<property name="title">
|
|
<string>Media</string>
|
|
</property>
|
|
</widget>
|
|
<addaction name="menuAction"/>
|
|
<addaction name="menuView"/>
|
|
<addaction name="menuMedia"/>
|
|
<addaction name="menuTools"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<action name="actionKeyboard_requires_capture">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Keyboard requires capture</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionRight_CTRL_is_left_ALT">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Right CTRL is left ALT</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionHard_Reset">
|
|
<property name="text">
|
|
<string>Hard Reset</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCtrl_Alt_Del">
|
|
<property name="text">
|
|
<string>Ctrl+Alt+Del</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCtrl_Alt_Esc">
|
|
<property name="text">
|
|
<string>Ctrl+Alt+Esc</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPause">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Pause</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExit">
|
|
<property name="text">
|
|
<string>Exit</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSettings">
|
|
<property name="text">
|
|
<string>Settings</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFullscreen">
|
|
<property name="text">
|
|
<string>Fullscreen</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Alt+PgUp</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSoftware_Renderer">
|
|
<property name="text">
|
|
<string>Software Renderer</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionHardware_Renderer_OpenGL">
|
|
<property name="text">
|
|
<string>Hardware Renderer (OpenGL)</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionHardware_Renderer_OpenGL_ES">
|
|
<property name="text">
|
|
<string>Hardware Renderer (OpenGL ES)</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>HardwareRenderer</class>
|
|
<extends>QOpenGLWidget</extends>
|
|
<header>qt_hardwarerenderer.hpp</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>SoftwareRenderer</class>
|
|
<extends>QWidget</extends>
|
|
<header>qt_softwarerenderer.hpp</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>RendererStack</class>
|
|
<extends>QStackedWidget</extends>
|
|
<header>qt_rendererstack.hpp</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|