@ -1,7 +1,8 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>brushProperties</class>
<class>brushProperties</class>
<widget class="QFrame" name="brushProperties" >
<widget class="QFrame" name="brushProperties">
<property name="geometry" >
<property name="geometry">
<rect>
<rect>
<x>0</x>
<x>0</x>
<y>0</y>
<y>0</y>
@ -9,25 +10,25 @@
<height>808</height>
<height>808</height>
</rect>
</rect>
</property>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string/>
<string/>
</property>
</property>
<property name="frameShape" >
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
<enum>QFrame::NoFrame</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Plain</enum>
<enum>QFrame::Plain</enum>
</property>
</property>
<layout class="QGridLayout" name="gridLayout" >
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="1" >
<item row="0" column="1">
<spacer name="nSpacer" >
<spacer name="nSpacer">
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
<enum>Qt::Vertical</enum>
</property>
</property>
<property name="sizeType" >
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
<enum>QSizePolicy::Fixed</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>20</width>
<width>20</width>
<height>40</height>
<height>40</height>
@ -35,53 +36,40 @@
</property>
</property>
</spacer>
</spacer>
</item>
</item>
<item row="1" column="0" >
<item row="1" column="1">
<spacer name="nwSpacer" >
<widget class="QFrame" name="colorFrame">
<property name="orientation" >
<property name="frameShape">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" >
<widget class="QFrame" name="colorFrame" >
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
<enum>QFrame::NoFrame</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing" >
<property name="spacing">
<number>0</number>
<number>0</number>
</property>
</property>
<item>
<item>
<widget class="QFrame" name="lightBackgroundFrame" >
<widget class="QFrame" name="lightBackgroundFrame">
<property name="frameShape" >
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
<enum>QFrame::NoFrame</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
<layout class="QHBoxLayout" name="lightBackgroundLayout" >
<layout class="QHBoxLayout" name="lightBackgroundLayout">
<item>
<item>
<widget class="QLabel" name="lightBackgroundLabel" >
<widget class="QLabel" name="lightBackgroundLabel">
<property name="text" >
<property name="text">
<string>On Light Background</string>
<string>On Light Background</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item>
<spacer name="horizontalSpacer" >
<spacer name="horizontalSpacer">
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>40</width>
<width>40</width>
<height>20</height>
<height>20</height>
@ -90,17 +78,17 @@
</spacer>
</spacer>
</item>
</item>
<item>
<item>
<widget class="UBColorPicker" name="lightBackgroundColorPicker0" >
<widget class="UBColorPicker" name="lightBackgroundColorPicker0">
<property name="minimumSize" >
<property name="minimumSize">
<size>
<size>
<width>32</width>
<width>32</width>
<height>32</height>
<height>32</height>
</size>
</size>
</property>
</property>
<property name="frameShape" >
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::StyledPanel</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
</widget>
</widget>
@ -109,27 +97,27 @@
</widget>
</widget>
</item>
</item>
<item>
<item>
<widget class="QFrame" name="darkBackgroundFrame" >
<widget class="QFrame" name="darkBackgroundFrame">
<property name="frameShape" >
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
<enum>QFrame::NoFrame</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
<layout class="QHBoxLayout" name="darkBackgroundLayout" >
<layout class="QHBoxLayout" name="darkBackgroundLayout">
<item>
<item>
<widget class="QLabel" name="darkBackgroundLabel" >
<widget class="QLabel" name="darkBackgroundLabel">
<property name="text" >
<property name="text">
<string>On Dark Background</string>
<string>On Dark Background</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item>
<spacer name="horizontalSpacer_2" >
<spacer name="horizontalSpacer_2">
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>40</width>
<width>40</width>
<height>20</height>
<height>20</height>
@ -138,17 +126,17 @@
</spacer>
</spacer>
</item>
</item>
<item>
<item>
<widget class="UBColorPicker" name="darkBackgroundColorPicker0" >
<widget class="UBColorPicker" name="darkBackgroundColorPicker0">
<property name="minimumSize" >
<property name="minimumSize">
<size>
<size>
<width>32</width>
<width>32</width>
<height>32</height>
<height>32</height>
</size>
</size>
</property>
</property>
<property name="frameShape" >
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::StyledPanel</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
</widget>
</widget>
@ -159,34 +147,21 @@
</layout>
</layout>
</widget>
</widget>
</item>
</item>
<item row="1" column="2" >
<item row="2" column="0" colspan="3">
<spacer name="neSpacer" >
<widget class="QFrame" name="opacityFrame">
<property name="orientation" >
<property name="frameShape">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="2" column="0" colspan="3" >
<widget class="QFrame" name="opacityFrame" >
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
<enum>QFrame::NoFrame</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
<layout class="QHBoxLayout" name="horizontalLayout" >
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<item>
<spacer name="wSpacer_2" >
<spacer name="wSpacer_2">
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>154</width>
<width>154</width>
<height>20</height>
<height>20</height>
@ -195,40 +170,40 @@
</spacer>
</spacer>
</item>
</item>
<item>
<item>
<widget class="QLabel" name="opacityLabel" >
<widget class="QLabel" name="opacityLabel">
<property name="text" >
<property name="text">
<string>Opacity</string>
<string>Opacity</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item>
<widget class="QSlider" name="opacitySlider" >
<widget class="QSlider" name="opacitySlider">
<property name="minimum" >
<property name="minimum">
<number>20</number>
<number>20</number>
</property>
</property>
<property name="maximum" >
<property name="maximum">
<number>100</number>
<number>100</number>
</property>
</property>
<property name="value" >
<property name="value">
<number>50</number>
<number>50</number>
</property>
</property>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="tickPosition" >
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
<enum>QSlider::TicksAbove</enum>
</property>
</property>
<property name="tickInterval" >
<property name="tickInterval">
<number>20</number>
<number>20</number>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item>
<spacer name="eSpacer_2" >
<spacer name="eSpacer_2">
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>156</width>
<width>156</width>
<height>20</height>
<height>20</height>
@ -239,40 +214,27 @@
</layout>
</layout>
</widget>
</widget>
</item>
</item>
<item row="3" column="1" >
<item row="4" column="0" colspan="3">
<spacer name="cSpacer" >
<widget class="QGroupBox" name="lineWidthGroupBox">
<property name="orientation" >
<property name="sizePolicy">
<enum>Qt::Vertical</enum>
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" colspan="3" >
<widget class="QGroupBox" name="lineWidthGroupBox" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
<horstretch>0</horstretch>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
<verstretch>0</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property name="title" >
<property name="title">
<string>Line Width</string>
<string>Line Width</string>
</property>
</property>
<layout class="QGridLayout" name="gridLayout_2" >
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="1" >
<item row="1" column="1">
<spacer name="wSpacer" >
<spacer name="wSpacer">
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeType" >
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
<enum>QSizePolicy::Fixed</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>40</width>
<width>40</width>
<height>20</height>
<height>20</height>
@ -280,15 +242,15 @@
</property>
</property>
</spacer>
</spacer>
</item>
</item>
<item row="1" column="3" >
<item row="1" column="3">
<spacer name="eSpacer" >
<spacer name="eSpacer">
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeType" >
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
<enum>QSizePolicy::Fixed</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>40</width>
<width>40</width>
<height>20</height>
<height>20</height>
@ -296,149 +258,149 @@
</property>
</property>
</spacer>
</spacer>
</item>
</item>
<item row="1" column="2" >
<item row="1" column="2">
<widget class="QSlider" name="fineSlider" >
<widget class="QSlider" name="fineSlider">
<property name="minimum" >
<property name="minimum">
<number>5</number>
<number>5</number>
</property>
</property>
<property name="maximum" >
<property name="maximum">
<number>500</number>
<number>500</number>
</property>
</property>
<property name="value" >
<property name="value">
<number>5</number>
<number>5</number>
</property>
</property>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="tickPosition" >
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
<enum>QSlider::TicksAbove</enum>
</property>
</property>
<property name="tickInterval" >
<property name="tickInterval">
<number>100</number>
<number>100</number>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="2" column="0" >
<item row="2" column="0">
<widget class="QLabel" name="mediumLabel" >
<widget class="QLabel" name="mediumLabel">
<property name="text" >
<property name="text">
<string>Medium</string>
<string>Medium</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="2" column="2" >
<item row="2" column="2">
<widget class="QSlider" name="mediumSlider" >
<widget class="QSlider" name="mediumSlider">
<property name="minimum" >
<property name="minimum">
<number>5</number>
<number>5</number>
</property>
</property>
<property name="maximum" >
<property name="maximum">
<number>500</number>
<number>500</number>
</property>
</property>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="tickPosition" >
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
<enum>QSlider::TicksAbove</enum>
</property>
</property>
<property name="tickInterval" >
<property name="tickInterval">
<number>100</number>
<number>100</number>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="3" column="0" >
<item row="3" column="0">
<widget class="QLabel" name="strongLabel" >
<widget class="QLabel" name="strongLabel">
<property name="text" >
<property name="text">
<string>Strong</string>
<string>Strong</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="3" column="2" >
<item row="3" column="2">
<widget class="QSlider" name="strongSlider" >
<widget class="QSlider" name="strongSlider">
<property name="minimum" >
<property name="minimum">
<number>5</number>
<number>5</number>
</property>
</property>
<property name="maximum" >
<property name="maximum">
<number>500</number>
<number>500</number>
</property>
</property>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="tickPosition" >
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
<enum>QSlider::TicksAbove</enum>
</property>
</property>
<property name="tickInterval" >
<property name="tickInterval">
<number>100</number>
<number>100</number>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="1" column="4" >
<item row="1" column="4">
<widget class="UBCircleFrame" name="fineDisplayFrame" >
<widget class="UBCircleFrame" name="fineDisplayFrame">
<property name="sizePolicy" >
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed" >
<horstretch>60</horstretch>
<horstretch>60</horstretch>
<verstretch>60</verstretch>
<verstretch>60</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property name="minimumSize" >
<property name="minimumSize">
<size>
<size>
<width>60</width>
<width>60</width>
<height>60</height>
<height>60</height>
</size>
</size>
</property>
</property>
<property name="frameShape" >
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::StyledPanel</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="2" column="4" >
<item row="2" column="4">
<widget class="UBCircleFrame" name="mediumDisplayFrame" >
<widget class="UBCircleFrame" name="mediumDisplayFrame">
<property name="sizePolicy" >
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed" >
<horstretch>60</horstretch>
<horstretch>60</horstretch>
<verstretch>60</verstretch>
<verstretch>60</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property name="minimumSize" >
<property name="minimumSize">
<size>
<size>
<width>60</width>
<width>60</width>
<height>60</height>
<height>60</height>
</size>
</size>
</property>
</property>
<property name="frameShape" >
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::StyledPanel</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="3" column="4" >
<item row="3" column="4">
<widget class="UBCircleFrame" name="strongDisplayFrame" >
<widget class="UBCircleFrame" name="strongDisplayFrame">
<property name="sizePolicy" >
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<sizepolicy hsizetype="Fixed" vsizetype="Fixed" >
<horstretch>60</horstretch>
<horstretch>60</horstretch>
<verstretch>60</verstretch>
<verstretch>60</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property name="minimumSize" >
<property name="minimumSize">
<size>
<size>
<width>60</width>
<width>60</width>
<height>60</height>
<height>60</height>
</size>
</size>
</property>
</property>
<property name="frameShape" >
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<enum>QFrame::StyledPanel</enum>
</property>
</property>
<property name="frameShadow" >
<property name="frameShadow">
<enum>QFrame::Raised</enum>
<enum>QFrame::Raised</enum>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item row="1" column="0" >
<item row="1" column="0">
<widget class="QLabel" name="fineLabel" >
<widget class="QLabel" name="fineLabel">
<property name="text" >
<property name="text">
<string>Fine</string>
<string>Fine</string>
</property>
</property>
</widget>
</widget>
@ -446,50 +408,85 @@
</layout>
</layout>
</widget>
</widget>
</item>
</item>
<item row="5" column="0" colspan="3" >
<item row="3" column="1" >
<widget class="QFrame" name="pressureFrame" >
<spacer name="cSpacer" >
<property name="frameShape" >
<property name="orientation" >
<enum>QFrame::NoFrame </enum>
<enum>Qt::Vertical </enum>
</property>
</property>
<property name="frameShadow" >
<property name="sizeHint" stdset="0">
<enum>QFrame::Raised</enum>
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4" >
</spacer>
<property name="margin" >
</item>
<number>0</number>
<item row="1" column="0">
<spacer name="nwSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</property>
<item>
<property name="sizeHint" stdset="0">
<spacer name="swSpacer" >
<size>
<property name="orientation" >
<width>0</width>
<height>0</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2">
<spacer name="neSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>40</width>
<width>0</width>
<height>20</height>
<height>0</height>
</size>
</size>
</property>
</property>
</spacer>
</spacer>
</item>
</item>
<item row="5" column="0" colspan="3">
<widget class="QFrame" name="pressureFrame">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<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>
<item>
<widget class="QCheckBox" name="pressureSensitiveCheckBox" >
<widget class="QCheckBox" name="pressureSensitiveCheckBox">
<property name="sizePolicy" >
<property name="sizePolicy">
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed" >
<horstretch>0</horstretch>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
<verstretch>0</verstretch>
</sizepolicy>
</sizepolicy>
</property>
</property>
<property name="text" >
<property name="text">
<string>Pen is Pressure Sensitive</string>
<string>Pen is Pressure Sensitive</string>
</property>
</property>
</widget>
</widget>
</item>
</item>
<item>
<item>
<spacer name="seSpacer" >
<spacer name="seSpacer">
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
<enum>Qt::Horizontal</enum>
</property>
</property>
<property name="sizeHint" stdset="0" >
<property name="sizeHint" stdset="0">
<size>
<size>
<width>198</width>
<width>198</width>
<height>20</height>
<height>20</height>
@ -500,6 +497,30 @@
</layout>
</layout>
</widget>
</widget>
</item>
</item>
<item row="7" column="0" colspan="2">
<layout class="QHBoxLayout" name="interpolationFrame">
<item>
<widget class="QCheckBox" name="interpolateStrokesCheckBox">
<property name="text">
<string>Smooth strokes (experimental)</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</layout>
</widget>
</widget>
<customwidgets>
<customwidgets>