--- a/ui/colorsel.ui Thu Sep 04 11:48:05 2014 +0300 +++ b/ui/colorsel.ui Sat Sep 06 15:45:07 2014 +0300 @@ -6,25 +6,35 @@ <rect> <x>0</x> <y>0</y> - <width>402</width> - <height>539</height> + <width>588</width> + <height>404</height> </rect> </property> <property name="windowTitle"> <string>Select Color</string> </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <item> - <widget class="QGraphicsView" name="viewport"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QScrollArea" name="definedColors"> <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOn</enum> </property> <property name="horizontalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> + <widget class="QWidget" name="definedColorsWidget"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>384</width> + <height>287</height> + </rect> + </property> + </widget> </widget> </item> - <item> + <item row="1" column="0"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="iconLabel"> @@ -76,7 +86,7 @@ </item> </layout> </item> - <item> + <item row="2" column="0"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum>