2016-03-14 09:23:52 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>DebugConsole</class>
|
|
|
|
<widget class="QWidget" name="DebugConsole">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>600</width>
|
|
|
|
<height>600</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<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>
|
2016-03-23 10:25:58 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="quitButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Quit Debug Console</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2016-03-14 09:23:52 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2016-03-31 07:19:35 +00:00
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>0</number>
|
2016-03-30 14:23:58 +00:00
|
|
|
</property>
|
2016-03-31 07:19:35 +00:00
|
|
|
<widget class="QWidget" name="windows">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Windows</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QTreeView" name="windowsView">
|
|
|
|
<attribute name="headerDefaultSectionSize">
|
|
|
|
<number>250</number>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="surfaces">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Surfaces</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QTreeView" name="surfacesView"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="input">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Input Events</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QTextEdit" name="inputTextEdit">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
[libinput] Add a wrapper class Device for a libinput_device
Summary:
The Device class wraps all the information we can get from libinput
about the device, like whether it's a keyboard, pointer, touch, etc.
In addition some more information is queried to figure out how "useful"
a device is. For a keyboard all alphanumeric keys are checked whether
they exist, for a pointer all (normal) buttons are queried.
All the information is exposed as Q_PROPERTY and used by the
DebugConsole. The DebugConsole gained a new tab "Input Devices" which
renders all devices and their properties in a tree view. When plugging
in/out a device, the model gets reset, so it's always up to date.
The new Device class can be used in future to configure the device,
e.g. disable touch pad, set mouse acceleration, etc.
Reviewers: #plasma
Subscribers: plasma-devel
Projects: #plasma
Differential Revision: https://phabricator.kde.org/D1538
2016-05-04 11:42:26 +00:00
|
|
|
<widget class="QWidget" name="inputDevices">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Input Devices</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
|
|
|
<item>
|
|
|
|
<widget class="QTreeView" name="inputDevicesView"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2016-08-10 06:25:20 +00:00
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>OpenGL</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="noOpenGLLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>No OpenGL compositor running</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QScrollArea" name="glInfoScrollArea">
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Plain</enum>
|
|
|
|
</property>
|
|
|
|
<property name="lineWidth">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="widgetResizable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>564</width>
|
|
|
|
<height>471</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="driverInfoBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>OpenGL (ES) driver information</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Vendor:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Renderer:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Version:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>Shading Language Version:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>Driver:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0">
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="text">
|
|
|
|
<string>GPU class:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="0">
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="text">
|
|
|
|
<string>OpenGL Version:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="0">
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="text">
|
|
|
|
<string>GLSL Version:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="glVendorStringLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLabel" name="glRendererStringLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QLabel" name="glVersionStringLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QLabel" name="glslVersionStringLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="QLabel" name="glDriverLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="1">
|
|
|
|
<widget class="QLabel" name="glGPULabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="1">
|
|
|
|
<widget class="QLabel" name="glVersionLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="1">
|
|
|
|
<widget class="QLabel" name="glslLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="eglExtensionsBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>EGL Extensions</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="eglExtensionsLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="glxExtensionsBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>GLX Extensions</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="glxExtensionsLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="glExtensionsBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>OpenGL (ES) Extensions</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="openGLExtensionsLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2016-03-30 14:23:58 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
2016-03-14 09:23:52 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>quitButton</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|