<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<class>Widget</class>
<widget class="QWidget" name="Widget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>424</width>
<height>591</height>
</rect>
</property>
<property name="windowTitle">
<string>Reparent test</string>
</property>
<widget class="Q3Frame" name="RED">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>310</width>
<height>200</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>200</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>212</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>85</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>113</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</active>
<inactive>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>195</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>85</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>113</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</inactive>
<disabled>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>195</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>85</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>113</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</disabled>
</palette>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="Q3Frame" name="GREEN">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>150</width>
<height>150</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>150</width>
<height>150</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>170</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>212</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>85</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>113</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>170</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</active>
<inactive>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>170</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>195</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>85</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>113</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>170</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</inactive>
<disabled>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>0</red>
<green>170</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>195</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>85</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>113</green>
<blue>0</blue>
</color>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>170</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</disabled>
</palette>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="Q3Frame" name="BLUE">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>100</width>
<height>100</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>100</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>170</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>212</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>85</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>113</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>170</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</active>
<inactive>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>170</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>195</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>85</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>113</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>170</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</inactive>
<disabled>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>170</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>195</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>85</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>113</blue>
</color>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>170</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</disabled>
</palette>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</widget>
<widget class="Q3Frame" name="GREY">
<property name="geometry">
<rect>
<x>250</x>
<y>140</y>
<width>50</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>208</red>
<green>208</green>
<blue>208</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>231</red>
<green>231</green>
<blue>231</blue>
</color>
<color>
<red>104</red>
<green>104</green>
<blue>104</blue>
</color>
<color>
<red>138</red>
<green>138</green>
<blue>138</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>208</red>
<green>208</green>
<blue>208</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</active>
<inactive>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>208</red>
<green>208</green>
<blue>208</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>239</red>
<green>239</green>
<blue>239</blue>
</color>
<color>
<red>104</red>
<green>104</green>
<blue>104</blue>
</color>
<color>
<red>138</red>
<green>138</green>
<blue>138</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>208</red>
<green>208</green>
<blue>208</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</inactive>
<disabled>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>208</red>
<green>208</green>
<blue>208</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>239</red>
<green>239</green>
<blue>239</blue>
</color>
<color>
<red>104</red>
<green>104</green>
<blue>104</blue>
</color>
<color>
<red>138</red>
<green>138</green>
<blue>138</blue>
</color>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>128</red>
<green>128</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>208</red>
<green>208</green>
<blue>208</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>128</blue>
</color>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<color>
<red>0</red>
<green>0</green>
<blue>255</blue>
</color>
<color>
<red>255</red>
<green>0</green>
<blue>255</blue>
</color>
</disabled>
</palette>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</widget>
<widget class="QWidget" name="Layout4">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>408</width>
<height>83</height>
</rect>
</property>
<layout class="QGridLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="1" column="3">
<widget class="QPushButton" name="greenred">
<property name="text">
<string>Green ->red</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="greenblue">
<property name="text">
<string>Green ->blue</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="bluethis">
<property name="text">
<string>Blue -> this</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QPushButton" name="PushButton13">
<property name="text">
<string>Toggle Grey DND</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="bluezero">
<property name="text">
<string>Blue -> zero</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="redthis">
<property name="text">
<string>Red -> this</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="bluegreen">
<property name="text">
<string>Blue -> green</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="redgreen">
<property name="text">
<string>Red -> green</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="greenzero">
<property name="text">
<string>Green -> zero</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QPushButton" name="bluered">
<property name="text">
<string>Blue -> red</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="redblue">
<property name="text">
<string>Red -> blue</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="greenthis">
<property name="text">
<string>Green -> this</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="redzero">
<property name="text">
<string>Red-> zero</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Layout3">
<property name="geometry">
<rect>
<x>10</x>
<y>310</y>
<width>342</width>
<height>273</height>
</rect>
</property>
<layout class="QVBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout">
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="PushButton14">
<property name="text">
<string>Reparent RED below</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Q3Frame" name="BELOW">
<property name="minimumSize">
<size>
<width>340</width>
<height>240</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<connections>
<connection>
<sender>bluezero</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>blueToZero()</slot>
</connection>
<connection>
<sender>bluethis</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>blueToThis()</slot>
</connection>
<connection>
<sender>bluegreen</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>blueToGreen()</slot>
</connection>
<connection>
<sender>bluered</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>blueToRed()</slot>
</connection>
<connection>
<sender>greenzero</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>greenToZero()</slot>
</connection>
<connection>
<sender>greenthis</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>greenToThis()</slot>
</connection>
<connection>
<sender>greenblue</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>greenToBlue()</slot>
</connection>
<connection>
<sender>greenred</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>greenToRed()</slot>
</connection>
<connection>
<sender>redzero</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>redToZero()</slot>
</connection>
<connection>
<sender>redthis</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>redToThis()</slot>
</connection>
<connection>
<sender>redgreen</sender>
<signal>pressed()</signal>
<receiver>Widget</receiver>
<slot>redToGreen()</slot>
</connection>
<connection>
<sender>redblue</sender>
<signal>pressed()</signal>
<receiver>Widget</receiver>
<slot>redToBlue()</slot>
</connection>
<connection>
<sender>PushButton13</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>toggleGreyDND()</slot>
</connection>
<connection>
<sender>PushButton14</sender>
<signal>clicked()</signal>
<receiver>Widget</receiver>
<slot>reparentBelow()</slot>
</connection>
</connections>
</ui>