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>WdgColorOptions</class>
<widget class="QWidget" name="WdgColorOptions">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>158</width>
<height>78</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item column="0" row="0">
<widget class="QLabel" name="lblColor">
<property name="text">
<string>&Color:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>bnColor</cstring>
</property>
</widget>
</item>
<item column="2" row="0">
<widget class="KisColorButton" name="bnColor"/>
</item>
<item column="3" row="0">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>21</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item column="1" row="1">
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>21</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KisColorButton</class>
<extends>QPushButton</extends>
<header>kis_color_button.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>