Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
<?xml version="1.0" encoding="utf-8"?>
<ui version="4.0">
<author>
SPDX-FileCopyrightText: none
SPDX-License-Identifier: GPL-3.0-or-later
</author>
<class>WdgSPenSettings</class>
<widget class="QWidget" name="WdgSPenSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>601</width>
<height>488</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label_9">
<property name="text">
<string>You must enable Air Actions for Krita in your system settings for them to work. Note that only the S-Pen Pro supports Air Actions, the regular S-Pen does not. Not all devices support gestures.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="boxButtonActions">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Buttons</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="labelClick">
<property name="text">
<string>Press</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cmbClickAction"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labelDoubleClick">
<property name="text">
<string>Double Press</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbDoubleClickAction"/>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="BoxGestures">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Gestures</string>
</property>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Swipe Up</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="cmbGestureSwipeUp"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Swipe Down</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="cmbGestureSwipeDown"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Swipe Left</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="cmbGestureSwipeLeft"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Swipe Right</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="cmbGestureSwipeRight"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Circle Clockwise</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QComboBox" name="cmbGestureCircleCW"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Circle Counter-Clockwise</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QComboBox" name="cmbGestureCircleCCW"/>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>