wdgdlginternalcolorselector.ui 2.9 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>WdgDlgInternalColorSelector</class>
 <widget class="QDialog" name="WdgDlgInternalColorSelector">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>418</width>
    <height>483</height>
11 12 13 14 15 16
   </rect>
  </property>
  <property name="windowTitle">
   <string>Dialog</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
17 18 19 20 21 22 23 24 25 26
   <item>
    <widget class="KisVisualColorSelector" name="visualSelector" native="true">
     <property name="sizePolicy">
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
27 28
       <width>250</width>
       <height>250</height>
29 30 31 32
      </size>
     </property>
    </widget>
   </item>
33
   <item>
34 35 36 37 38 39 40 41
    <widget class="KisSpinboxColorSelector" name="spinboxselector" native="true">
     <property name="sizePolicy">
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
    </widget>
42
   </item>
43 44 45
   <item>
    <widget class="KisScreenColorPicker" name="screenColorPicker" native="true"/>
   </item>
46 47 48 49 50 51 52 53 54 55 56 57
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
58 59 60 61 62 63 64
 <customwidgets>
  <customwidget>
   <class>KisSpinboxColorSelector</class>
   <extends>QWidget</extends>
   <header>kis_spinbox_color_selector.h</header>
   <container>1</container>
  </customwidget>
65 66 67 68 69 70
  <customwidget>
   <class>KisScreenColorPicker</class>
   <extends>QWidget</extends>
   <header>kis_screen_color_picker.h</header>
   <container>1</container>
  </customwidget>
71 72 73 74 75 76
  <customwidget>
   <class>KisVisualColorSelector</class>
   <extends>QWidget</extends>
   <header>kis_visual_color_selector.h</header>
   <container>1</container>
  </customwidget>
77
 </customwidgets>
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>WdgDlgInternalColorSelector</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>248</x>
     <y>254</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>WdgDlgInternalColorSelector</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>316</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>