Skip to content

Instantly share code, notes, and snippets.

@melMass
Last active February 2, 2025 15:19
Show Gist options
  • Save melMass/0244908fcce795d088a2408d240cdc87 to your computer and use it in GitHub Desktop.
Save melMass/0244908fcce795d088a2408d240cdc87 to your computer and use it in GitHub Desktop.
massive panel (from 2017 converted to py3)

massive panel by Alexey Kuchinski converted to python 3 (nuke 13+)

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>widget</class>
<widget class="QWidget" name="widget">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>616</width>
<height>339</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>410</width>
<height>338</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<widget class="QFrame" name="frame_6">
<property name="geometry">
<rect>
<x>2</x>
<y>4</y>
<width>612</width>
<height>31</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QWidget" name="horizontalLayoutWidget_2">
<property name="geometry">
<rect>
<x>4</x>
<y>3</y>
<width>561</width>
<height>25</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>1</number>
</property>
<item>
<widget class="QLineEdit" name="knob">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>30</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>170</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>70</width>
<height>16777215</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>your knob here</string>
</property>
<property name="text">
<string/>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>knob</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="value">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>50</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Set value.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; text-decoration: underline;&quot;&gt;number&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;10&lt;/span&gt; will set 10&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;val+555&lt;/span&gt; will take current value and add 555 to it&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;10to20&lt;/span&gt; will set random value between 10 and 20&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;val(10to20)&lt;/span&gt; will add random value to the current value&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; text-decoration: underline;&quot;&gt;usage of increment with numbers&lt;/span&gt;&lt;/p&gt;&lt;p&gt;increment field is from right side od the value field, this value will be added to the value you are setting in the value field, for example if you set &lt;span style=&quot; font-weight:600;&quot;&gt;value 5&lt;/span&gt; and&lt;span style=&quot; font-weight:600;&quot;&gt; increment 3&lt;/span&gt;&lt;/p&gt;&lt;p&gt;with arithmetical increment you will get numbers &lt;span style=&quot; font-weight:600;&quot;&gt;5,8,11,14,17&lt;/span&gt;&lt;/p&gt;&lt;p&gt;with geometrical increment you will get numbers &lt;span style=&quot; font-weight:600;&quot;&gt;5,8,14,32,86&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; text-decoration: underline;&quot;&gt;text or expression&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;var&lt;/span&gt; will allow you to use an increment in text or expression, for example:&lt;span style=&quot; font-weight:600;&quot;&gt; frame + var &lt;/span&gt;&lt;/p&gt;&lt;p&gt;if increment you set is &lt;span style=&quot; font-weight:600;&quot;&gt;2&lt;/span&gt; will give you&lt;span style=&quot; font-weight:600;&quot;&gt; frame+0,frame+2,frame+4,...&lt;/span&gt;&lt;/p&gt;&lt;p&gt;or in text you want to set nodes names: &lt;span style=&quot; font-weight:600;&quot;&gt;soldier_var&lt;/span&gt;&lt;/p&gt;&lt;p&gt;if increment you set is &lt;span style=&quot; font-weight:600;&quot;&gt;1&lt;/span&gt; will give you&lt;span style=&quot; font-weight:600;&quot;&gt; soldier_1,soldier_2,soldier_3,....&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string/>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>value</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="increment">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>0</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;increment&lt;/p&gt;&lt;p&gt;by default increment is set to arithmetic progression(+)&lt;/p&gt;&lt;p&gt; 2 4 6 8 10 12 14....&lt;/p&gt;&lt;p&gt;but you can change it to geometric progression(*)&lt;/p&gt;&lt;p&gt;2 4 8 16 32 62 124 256 ....&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>increment</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="arithmetic">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>566</x>
<y>5</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Arithmetic progression of increment</string>
</property>
<property name="text">
<string>+</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="geometric">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>588</x>
<y>5</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Geometric progression of increment</string>
</property>
<property name="text">
<string>✹</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QFrame" name="frame_3">
<property name="geometry">
<rect>
<x>365</x>
<y>277</y>
<width>194</width>
<height>61</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QWidget" name="verticalLayoutWidget_3">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>171</width>
<height>44</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<property name="spacing">
<number>2</number>
</property>
<item>
<widget class="QLineEdit" name="ffind">
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;search in desired knob of selected nodes, if no knob specified the 'file' knob will be used&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>search</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="rreplace">
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;replace in desired knob of selected nodes, if no knob specified the 'file' knob will be used&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>replace</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QFrame" name="frame_5">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>365</x>
<y>107</y>
<width>194</width>
<height>164</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QWidget" name="gridLayoutWidget_2">
<property name="geometry">
<rect>
<x>4</x>
<y>90</y>
<width>181</width>
<height>45</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
</property>
<property name="spacing">
<number>2</number>
</property>
<item row="2" column="0">
<widget class="QPushButton" name="setAnimated">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>set animation for desired knob</string>
</property>
<property name="text">
<string>Set A</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="reloadReads">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>reload all read nodes in the script</string>
</property>
<property name="text">
<string>ReadsR</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="snap3D">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;snap selected node/nodes to selected vertices &lt;/p&gt;&lt;p&gt;if no nodes are selected you will have popup menu asking which nodes you would like to create&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>snap3D</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="duplicate">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>duplicate selected node</string>
</property>
<property name="text">
<string>duplicate</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="clearAnimated">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>clear animation from desired knob</string>
</property>
<property name="text">
<string>Clear A</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="Rconnect">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;randomly connect selected nodes to other nodes&lt;/p&gt;&lt;p&gt;select nodes you want randomly connect upstream to other nodes, press Rconnect, panel will pop up.&lt;/p&gt;&lt;p&gt;sourse basic name - base name without number common to every node you want to connect, for example Card,Transform,etc&lt;/p&gt;&lt;p&gt;sourse low - lowest number of sourse nodes&lt;/p&gt;&lt;p&gt;sourse high - highest number of sourse nodes&lt;/p&gt;&lt;p&gt;input - usually you will want to connect to input number 0, but sometimes node will have more inputs, in this case you will have to alter this value, for example for ScanlineRender it will be 1'&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Rconnect</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="gridLayoutWidget_3">
<property name="geometry">
<rect>
<x>60</x>
<y>10</y>
<width>74</width>
<height>71</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="spacing">
<number>0</number>
</property>
<item row="1" column="2">
<widget class="QPushButton" name="right">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>expand nodes</string>
</property>
<property name="text">
<string>▶</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="up">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>expand nodes</string>
</property>
<property name="text">
<string>▲</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QPushButton" name="left">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>contract nodes</string>
</property>
<property name="text">
<string>◀</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="down">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>contract nodes</string>
</property>
<property name="text">
<string>▼</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="alignNodesHorizontally">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Align nodes horisontally</string>
</property>
<property name="text">
<string>H</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="alignNodesVertically">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>align nodos vertically</string>
</property>
<property name="text">
<string>V</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="checkerboardNodes">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Align nodes in checker pattern</string>
</property>
<property name="text">
<string>C</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>8</x>
<y>142</y>
<width>175</width>
<height>16</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="redB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>170</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="greenB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>85</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>85</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>85</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="blueB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>180</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>180</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>180</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cyanB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>170</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>170</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>170</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="yellowB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="magentaB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>85</red>
<green>0</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>85</red>
<green>0</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>85</red>
<green>0</green>
<blue>127</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="whiteB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="blackB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="grayB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>set tile color to selected nodes</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="resetColor">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>13</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>10</width>
<height>10</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="toolTip">
<string>reset color to defaults</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QFrame" name="frame_2">
<property name="geometry">
<rect>
<x>365</x>
<y>40</y>
<width>193</width>
<height>61</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QWidget" name="layoutWidget_2">
<property name="geometry">
<rect>
<x>4</x>
<y>34</y>
<width>185</width>
<height>23</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_15">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QComboBox" name="kind">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;number - use when operating on knobs expecting float or integer(first,frame,)&lt;/p&gt;&lt;p&gt;text - use with knobs expecting string (file.label.channels.etc)&lt;/p&gt;&lt;p&gt;expression - use when you want to set extression to desired knob&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<item>
<property name="text">
<string>number</string>
</property>
</item>
<item>
<property name="text">
<string>text</string>
</property>
</item>
<item>
<property name="text">
<string>expression</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="grabMemo">
<property name="maximumSize">
<size>
<width>16</width>
<height>20</height>
</size>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;press to grab from memory all history of your operations in context.&lt;/p&gt;&lt;p&gt;first choose the kind of operation you want to grab - number, text or expression.&lt;/p&gt;&lt;p&gt;glick grab and check your memory dropdown.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>G</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="memory">
<property name="minimumSize">
<size>
<width>85</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>85</width>
<height>16777215</height>
</size>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;in development right now, &lt;/p&gt;&lt;p&gt;collecting memory of all operations you did with the panel&lt;/p&gt;&lt;p&gt;click on the set the type on value you gave(numbe, text, expression)&lt;/p&gt;&lt;p&gt;then go to memory an dclick refresh&lt;/p&gt;&lt;p&gt;will work soon.....ish&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<item>
<property name="text">
<string>memory</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
<widget class="QCheckBox" name="red">
<property name="geometry">
<rect>
<x>6</x>
<y>8</y>
<width>30</width>
<height>18</height>
</rect>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>175</red>
<green>28</green>
<blue>28</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>120</red>
<green>106</green>
<blue>106</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>175</red>
<green>28</green>
<blue>28</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>120</red>
<green>106</green>
<blue>106</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>175</red>
<green>28</green>
<blue>28</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If all RGBA are unchecked value will be set to all of them&lt;/p&gt;&lt;p&gt;If all RGBA are checked value will be set to all of them&lt;/p&gt;&lt;p&gt;If some of them are checked the value will be set to ones you checked&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>R</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="green">
<property name="geometry">
<rect>
<x>42</x>
<y>8</y>
<width>30</width>
<height>18</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>108</red>
<green>120</green>
<blue>106</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>108</red>
<green>120</green>
<blue>106</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If all RGBA are unchecked value will be set to all of them&lt;/p&gt;&lt;p&gt;If all RGBA are checked value will be set to all of them&lt;/p&gt;&lt;p&gt;If some of them are checked the value will be set to ones you checked&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>G</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="blue">
<property name="geometry">
<rect>
<x>78</x>
<y>8</y>
<width>30</width>
<height>18</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>106</red>
<green>106</green>
<blue>120</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>106</red>
<green>106</green>
<blue>120</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If all RGBA are unchecked value will be set to all of them&lt;/p&gt;&lt;p&gt;If all RGBA are checked value will be set to all of them&lt;/p&gt;&lt;p&gt;If some of them are checked the value will be set to ones you checked&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>B</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="alpha">
<property name="geometry">
<rect>
<x>114</x>
<y>8</y>
<width>30</width>
<height>18</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>200</red>
<green>200</green>
<blue>200</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>200</red>
<green>200</green>
<blue>200</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If all RGBA are unchecked value will be set to all of them&lt;/p&gt;&lt;p&gt;If all RGBA are checked value will be set to all of them&lt;/p&gt;&lt;p&gt;If some of them are checked the value will be set to ones you checked&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>A</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="countSelected">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>148</x>
<y>6</y>
<width>40</width>
<height>20</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>selected nodes. press on it to update. it will be updated automatically as well when you executing comands with the panel</string>
</property>
<property name="text">
<string>0</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QFrame" name="frame">
<property name="geometry">
<rect>
<x>58</x>
<y>40</y>
<width>301</width>
<height>298</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>28</y>
<width>281</width>
<height>271</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<property name="horizontalSpacing">
<number>2</number>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="5" column="0">
<widget class="QPushButton" name="resetTake5">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="take1">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 1</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="12" column="2">
<widget class="QPushButton" name="take11">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 11</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QPushButton" name="disableTake2">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="take3">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 3</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="8" column="4">
<widget class="QPushButton" name="disableTake8">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="5" column="4">
<widget class="QPushButton" name="disableTake5">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="3" column="4">
<widget class="QPushButton" name="disableTake3">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QPushButton" name="take4">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 4</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="6">
<widget class="QLineEdit" name="take1High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="10" column="1">
<widget class="QPushButton" name="selectTake10">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="take2">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 2</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QPushButton" name="selectTake5">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="12" column="5">
<widget class="QLineEdit" name="take11Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="selectTake1">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="6" column="2">
<widget class="QPushButton" name="take6">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 6</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QPushButton" name="resetTake7">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="10" column="2">
<widget class="QPushButton" name="take10">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 10</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="resetTake4">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="selectTake6">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="10" column="6">
<widget class="QLineEdit" name="take10High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="8" column="2">
<widget class="QPushButton" name="take8">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 8</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QPushButton" name="resetTake9">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="9" column="4">
<widget class="QPushButton" name="disableTake9">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="12" column="4">
<widget class="QPushButton" name="disableTake11">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QPushButton" name="disableTake1">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="5" column="2">
<widget class="QPushButton" name="take5">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 5</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="7" column="2">
<widget class="QPushButton" name="take7">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 7</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="2">
<widget class="QPushButton" name="take9">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;add selected nodes to desired Take.&lt;/p&gt;&lt;p&gt;if you using fresh Take you will br prompted to name your take group. panel will also let you choose which knob you would like to toggle and what will be the min and max value.&lt;/p&gt;&lt;p&gt;As a default it will be 'disable' knob, but i did set few other defaults, if your nodes are transforms the default will be 'motionblur' knob, for ScanLineRender it will be 'samples', for Switch node 'which'.Those are only suggestions, you can set any knob you wish.&lt;/p&gt;&lt;p&gt; If you want to add node to existing Take - just select the node and click on the Take button.&lt;/p&gt;&lt;p&gt;Any node which belongs to Take will have ++TakeName++ in his label, do not erase it manually, use 'R' button to exclude it from the take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Take 9</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="10" column="4">
<widget class="QPushButton" name="disableTake10">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="12" column="1">
<widget class="QPushButton" name="selectTake11">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="7" column="4">
<widget class="QPushButton" name="disableTake7">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="selectTake2">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPushButton" name="selectTake3">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QPushButton" name="resetTake8">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="12" column="6">
<widget class="QLineEdit" name="take11High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="6" column="0">
<widget class="QPushButton" name="resetTake6">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="10" column="5">
<widget class="QLineEdit" name="take10Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QLineEdit" name="take1Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="2" column="5">
<widget class="QLineEdit" name="take2Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="3" column="5">
<widget class="QLineEdit" name="take3Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="4" column="5">
<widget class="QLineEdit" name="take4Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="5" column="5">
<widget class="QLineEdit" name="take5Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="6" column="5">
<widget class="QLineEdit" name="take6Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="7" column="5">
<widget class="QLineEdit" name="take7Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="8" column="5">
<widget class="QLineEdit" name="take8Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="9" column="5">
<widget class="QLineEdit" name="take9Low">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Low value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>low</string>
</property>
</widget>
</item>
<item row="9" column="6">
<widget class="QLineEdit" name="take9High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="8" column="6">
<widget class="QLineEdit" name="take8High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="7" column="6">
<widget class="QLineEdit" name="take7High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="6" column="6">
<widget class="QLineEdit" name="take6High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="5" column="6">
<widget class="QLineEdit" name="take5High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="4" column="4">
<widget class="QPushButton" name="disableTake4">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="resetTake2">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="4" column="6">
<widget class="QLineEdit" name="take4High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="resetTake3">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="3" column="6">
<widget class="QLineEdit" name="take3High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="2" column="6">
<widget class="QLineEdit" name="take2High">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>30</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>97</red>
<green>97</green>
<blue>97</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>95</red>
<green>95</green>
<blue>95</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;High value.&lt;/p&gt;&lt;p&gt;can be adjusted even after take is set.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string/>
</property>
<property name="placeholderText">
<string>high</string>
</property>
</widget>
</item>
<item row="12" column="0">
<widget class="QPushButton" name="resetTake11">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QPushButton" name="selectTake4">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="7" column="1">
<widget class="QPushButton" name="selectTake7">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="10" column="0">
<widget class="QPushButton" name="resetTake10">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QPushButton" name="selectTake8">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="6" column="4">
<widget class="QPushButton" name="disableTake6">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Togle between low and high values for desired take.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>D</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QPushButton" name="selectTake9">
<property name="enabled">
<bool>true</bool>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>select all nodes of desired Take</string>
</property>
<property name="text">
<string>S</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="resetTake1">
<property name="enabled">
<bool>true</bool>
</property>
<property name="minimumSize">
<size>
<width>19</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>19</width>
<height>22</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>62</red>
<green>62</green>
<blue>62</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Will reset desired Take.&lt;/p&gt;&lt;p&gt;if you want to exclude particular nodes from the take - select node and press 'R'&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>R</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="rotosMB">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>7</y>
<width>281</width>
<height>18</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>18</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>20</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>78</red>
<green>78</green>
<blue>78</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;This button will toggle motion blur for Roto and RotoPaint nodes ON and OFF.&lt;/p&gt;&lt;p&gt;It sets the motionblur type from 'shape' to 'global' and setting 'global' motion blur to '0'. In this way you always have your 'shape' motion blur as you defined and it is not reseting it.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Rotos MB</string>
</property>
</widget>
</widget>
<widget class="QPushButton" name="go">
<property name="geometry">
<rect>
<x>565</x>
<y>40</y>
<width>50</width>
<height>231</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>Set value to desired knob for all selected nodes</string>
</property>
<property name="text">
<string>Go</string>
</property>
</widget>
<widget class="QPushButton" name="replaceIt">
<property name="geometry">
<rect>
<x>565</x>
<y>277</y>
<width>50</width>
<height>61</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;search and replace behaves as a default one if knob is not specified, it will search in 'file' knob.&lt;/p&gt;&lt;p&gt;you can specify any knob in the lnob field.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Replace</string>
</property>
</widget>
<widget class="QPushButton" name="refresh">
<property name="geometry">
<rect>
<x>2</x>
<y>40</y>
<width>50</width>
<height>231</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Refresh the panel. collect all information from the current script and fill it in the panel.&lt;/p&gt;&lt;p&gt;you have to do it every time you starting new script.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Refresh</string>
</property>
</widget>
<widget class="QPushButton" name="icons">
<property name="geometry">
<rect>
<x>2</x>
<y>277</y>
<width>50</width>
<height>61</height>
</rect>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>50</red>
<green>50</green>
<blue>50</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Turn icons off for heavy scripts. I am talking about little green/red lines you see when nodes are enabled/disabled.&lt;/p&gt;&lt;p&gt;I noticed in huge scripts icons can slow down your interaction with the script, but they do look so cool so i decided to leave them in anyway. :)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Icons
on</string>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
import mps2
mps2.register()
import nuke
import nukescripts
from nukescripts import panels
import random
import sys
import os
from PySide2 import (
QtUiTools,
QtCore,
QtWidgets,
) # Import the PyQt4 module we'll need
from PySide2.QtCore import Qt
from PySide2.QtWidgets import QCompleter
def _read_ui(parent=None):
loader = QtUiTools.QUiLoader()
thisFileDir = os.path.dirname(os.path.realpath(__file__))
ui_file = QtCore.QFile(thisFileDir + "/Massive.ui") # path to .ui file
# ui_file = QtCore.QFile( "/home/lamakaha/.nuke/Mdev/Massive.ui") #path to .ui file
ui_file.open(QtCore.QFile.ReadOnly)
mdev_file = loader.load(
ui_file, parent
) # here i tried to just assign the ui_file to mdev
ui_file.close()
return mdev_file
# here i am starting to get problems
#
class MassivePanelPySide(QtWidgets.QWidget):
def __init__(self, parent=None):
# Explaining super is out of the scope of this article
# So please google it if you're not familar with it
# Simple reason why we use it here is that it allows us to
# access variables, methods etc in the design.py file
super(MassivePanelPySide, self).__init__(parent)
self.ui = _read_ui(self)
# mdev_file.setupUi(self) # This is defined in design.py file automatically
# It sets up layout and widgets that are defined
# self.go.setIcon(QtGui.QIcon('F:/Dropbox/users/current/_enabled.png'))
####### connecting buttons
# assign takes to selected nodes
####
### NOTE THESE CHANGES: self.ui.take1.clicked.... ###
###
self.ui.take1.clicked.connect(
lambda: self.setTake(
self.ui.take1,
self.ui.resetTake1,
self.ui.disableTake1,
self.ui.take1Low,
self.ui.take1High,
self.ui.selectTake1,
self.ui.icons,
)
)
self.ui.take2.clicked.connect(
lambda: self.setTake(
self.ui.take2,
self.ui.resetTake2,
self.ui.disableTake2,
self.ui.take2Low,
self.ui.take2High,
self.ui.selectTake2,
self.ui.icons,
)
)
self.ui.take3.clicked.connect(
lambda: self.setTake(
self.ui.take3,
self.ui.resetTake3,
self.ui.disableTake3,
self.ui.take3Low,
self.ui.take3High,
self.ui.selectTake3,
self.ui.icons,
)
)
self.ui.take4.clicked.connect(
lambda: self.setTake(
self.ui.take4,
self.ui.resetTake4,
self.ui.disableTake4,
self.ui.take4Low,
self.ui.take4High,
self.ui.selectTake4,
self.ui.icons,
)
)
self.ui.take5.clicked.connect(
lambda: self.setTake(
self.ui.take5,
self.ui.resetTake5,
self.ui.disableTake5,
self.ui.take5Low,
self.ui.take5High,
self.ui.selectTake5,
self.ui.icons,
)
)
self.ui.take6.clicked.connect(
lambda: self.setTake(
self.ui.take6,
self.ui.resetTake6,
self.ui.disableTake6,
self.ui.take6Low,
self.ui.take6High,
self.ui.selectTake6,
self.ui.icons,
)
)
self.ui.take7.clicked.connect(
lambda: self.setTake(
self.ui.take7,
self.ui.resetTake7,
self.ui.disableTake7,
self.ui.take7Low,
self.ui.take7High,
self.ui.selectTake7,
self.ui.icons,
)
)
self.ui.take8.clicked.connect(
lambda: self.setTake(
self.ui.take8,
self.ui.resetTake8,
self.ui.disableTake8,
self.ui.take8Low,
self.ui.take8High,
self.ui.selectTake8,
self.ui.icons,
)
)
self.ui.take9.clicked.connect(
lambda: self.setTake(
self.ui.take9,
self.ui.resetTake9,
self.ui.disableTake9,
self.ui.take9Low,
self.ui.take9High,
self.ui.selectTake9,
self.ui.icons,
)
)
self.ui.take10.clicked.connect(
lambda: self.setTake(
self.ui.take10,
self.ui.resetTake10,
self.ui.disableTake10,
self.ui.take10Low,
self.ui.take10High,
self.ui.selectTake10,
self.ui.icons,
)
)
self.ui.take11.clicked.connect(
lambda: self.setTake(
self.ui.take11,
self.ui.resetTake11,
self.ui.disableTake11,
self.ui.take11Low,
self.ui.take11High,
self.ui.selectTake11,
self.ui.icons,
)
)
# connecting select takes
self.ui.selectTake1.clicked.connect(
lambda: self.selectTake(
self.ui.take1,
self.ui.resetTake1,
self.ui.disableTake1,
self.ui.take1Low,
self.ui.take1High,
self.ui.selectTake1,
)
)
self.ui.selectTake2.clicked.connect(
lambda: self.selectTake(
self.ui.take2,
self.ui.resetTake2,
self.ui.disableTake2,
self.ui.take2Low,
self.ui.take2High,
self.ui.selectTake2,
)
)
self.ui.selectTake3.clicked.connect(
lambda: self.selectTake(
self.ui.take3,
self.ui.resetTake3,
self.ui.disableTake3,
self.ui.take3Low,
self.ui.take3High,
self.ui.selectTake3,
)
)
self.ui.selectTake4.clicked.connect(
lambda: self.selectTake(
self.ui.take4,
self.ui.resetTake4,
self.ui.disableTake4,
self.ui.take4Low,
self.ui.take4High,
self.ui.selectTake4,
)
)
self.ui.selectTake5.clicked.connect(
lambda: self.selectTake(
self.ui.take5,
self.ui.resetTake5,
self.ui.disableTake5,
self.ui.take5Low,
self.ui.take5High,
self.ui.selectTake5,
)
)
self.ui.selectTake6.clicked.connect(
lambda: self.selectTake(
self.ui.take6,
self.ui.resetTake6,
self.ui.disableTake6,
self.ui.take6Low,
self.ui.take6High,
self.ui.selectTake6,
)
)
self.ui.selectTake7.clicked.connect(
lambda: self.selectTake(
self.ui.take7,
self.ui.resetTake7,
self.ui.disableTake7,
self.ui.take7Low,
self.ui.take7High,
self.ui.selectTake7,
)
)
self.ui.selectTake8.clicked.connect(
lambda: self.selectTake(
self.ui.take8,
self.ui.resetTake8,
self.ui.disableTake8,
self.ui.take8Low,
self.ui.take8High,
self.ui.selectTake8,
)
)
self.ui.selectTake9.clicked.connect(
lambda: self.selectTake(
self.ui.take9,
self.ui.resetTake9,
self.ui.disableTake9,
self.ui.take9Low,
self.ui.take9High,
self.ui.selectTake9,
)
)
self.ui.selectTake10.clicked.connect(
lambda: self.selectTake(
self.ui.take10,
self.ui.resetTake10,
self.ui.disableTake10,
self.ui.take10Low,
self.ui.take10High,
self.ui.selectTake10,
)
)
self.ui.selectTake11.clicked.connect(
lambda: self.selectTake(
self.ui.take11,
self.ui.resetTake11,
self.ui.disableTake11,
self.ui.take11Low,
self.ui.take11High,
self.ui.selectTake11,
)
)
# connecting disable/toggle takes
self.ui.disableTake1.clicked.connect(
lambda: self.disableTake(
self.ui.take1,
self.ui.resetTake1,
self.ui.disableTake1,
self.ui.take1Low,
self.ui.take1High,
self.ui.selectTake1,
self.ui.icons,
)
)
self.ui.disableTake2.clicked.connect(
lambda: self.disableTake(
self.ui.take2,
self.ui.resetTake2,
self.ui.disableTake2,
self.ui.take2Low,
self.ui.take2High,
self.ui.selectTake2,
self.ui.icons,
)
)
self.ui.disableTake3.clicked.connect(
lambda: self.disableTake(
self.ui.take3,
self.ui.resetTake3,
self.ui.disableTake3,
self.ui.take3Low,
self.ui.take3High,
self.ui.selectTake3,
self.ui.icons,
)
)
self.ui.disableTake4.clicked.connect(
lambda: self.disableTake(
self.ui.take4,
self.ui.resetTake4,
self.ui.disableTake4,
self.ui.take4Low,
self.ui.take4High,
self.ui.selectTake4,
self.ui.icons,
)
)
self.ui.disableTake5.clicked.connect(
lambda: self.disableTake(
self.ui.take5,
self.ui.resetTake5,
self.ui.disableTake5,
self.ui.take5Low,
self.ui.take5High,
self.ui.selectTake5,
self.ui.icons,
)
)
self.ui.disableTake6.clicked.connect(
lambda: self.disableTake(
self.ui.take6,
self.ui.resetTake6,
self.ui.disableTake6,
self.ui.take6Low,
self.ui.take6High,
self.ui.selectTake6,
self.ui.icons,
)
)
self.ui.disableTake7.clicked.connect(
lambda: self.disableTake(
self.ui.take7,
self.ui.resetTake7,
self.ui.disableTake7,
self.ui.take7Low,
self.ui.take7High,
self.ui.selectTake7,
self.ui.icons,
)
)
self.ui.disableTake8.clicked.connect(
lambda: self.disableTake(
self.ui.take8,
self.ui.resetTake8,
self.ui.disableTake8,
self.ui.take8Low,
self.ui.take8High,
self.ui.selectTake8,
self.ui.icons,
)
)
self.ui.disableTake9.clicked.connect(
lambda: self.disableTake(
self.ui.take9,
self.ui.resetTake9,
self.ui.disableTake9,
self.ui.take9Low,
self.ui.take9High,
self.ui.selectTake9,
self.ui.icons,
)
)
self.ui.disableTake10.clicked.connect(
lambda: self.disableTake(
self.ui.take10,
self.ui.resetTake10,
self.ui.disableTake10,
self.ui.take10Low,
self.ui.take10High,
self.ui.selectTake10,
self.ui.icons,
)
)
self.ui.disableTake11.clicked.connect(
lambda: self.disableTake(
self.ui.take11,
self.ui.resetTake11,
self.ui.disableTake11,
self.ui.take11Low,
self.ui.take11High,
self.ui.selectTake11,
self.ui.icons,
)
)
# connecting reset takes
self.ui.resetTake1.clicked.connect(
lambda: self.resetTake(
self.ui.take1,
self.ui.resetTake1,
self.ui.disableTake1,
self.ui.take1Low,
self.ui.take1High,
self.ui.selectTake1,
)
)
self.ui.resetTake2.clicked.connect(
lambda: self.resetTake(
self.ui.take2,
self.ui.resetTake2,
self.ui.disableTake2,
self.ui.take2Low,
self.ui.take2High,
self.ui.selectTake2,
)
)
self.ui.resetTake3.clicked.connect(
lambda: self.resetTake(
self.ui.take3,
self.ui.resetTake3,
self.ui.disableTake3,
self.ui.take3Low,
self.ui.take3High,
self.ui.selectTake3,
)
)
self.ui.resetTake4.clicked.connect(
lambda: self.resetTake(
self.ui.take4,
self.ui.resetTake4,
self.ui.disableTake4,
self.ui.take4Low,
self.ui.take4High,
self.ui.selectTake4,
)
)
self.ui.resetTake5.clicked.connect(
lambda: self.resetTake(
self.ui.take5,
self.ui.resetTake5,
self.ui.disableTake5,
self.ui.take5Low,
self.ui.take5High,
self.ui.selectTake5,
)
)
self.ui.resetTake6.clicked.connect(
lambda: self.resetTake(
self.ui.take6,
self.ui.resetTake6,
self.ui.disableTake6,
self.ui.take6Low,
self.ui.take6High,
self.ui.selectTake6,
)
)
self.ui.resetTake7.clicked.connect(
lambda: self.resetTake(
self.ui.take7,
self.ui.resetTake7,
self.ui.disableTake7,
self.ui.take7Low,
self.ui.take7High,
self.ui.selectTake7,
)
)
self.ui.resetTake8.clicked.connect(
lambda: self.resetTake(
self.ui.take8,
self.ui.resetTake8,
self.ui.disableTake8,
self.ui.take8Low,
self.ui.take8High,
self.ui.selectTake8,
)
)
self.ui.resetTake9.clicked.connect(
lambda: self.resetTake(
self.ui.take9,
self.ui.resetTake9,
self.ui.disableTake9,
self.ui.take9Low,
self.ui.take9High,
self.ui.selectTake9,
)
)
self.ui.resetTake10.clicked.connect(
lambda: self.resetTake(
self.ui.take10,
self.ui.resetTake10,
self.ui.disableTake10,
self.ui.take10Low,
self.ui.take10High,
self.ui.selectTake10,
)
)
self.ui.resetTake11.clicked.connect(
lambda: self.resetTake(
self.ui.take11,
self.ui.resetTake11,
self.ui.disableTake11,
self.ui.take11Low,
self.ui.take11High,
self.ui.selectTake11,
)
)
# refresh takes
self.ui.refresh.clicked.connect(lambda: self.refreshTakes)
# toggle mb in rotos and rotoshapes
self.ui.rotosMB.clicked.connect(
lambda: self.rotosMBtoggle(self.ui.rotosMB, self.ui.icons)
)
# connecting Go button
self.ui.go.clicked.connect(
lambda: self.goGo(
self.ui.go,
self.ui.knob,
self.ui.value,
self.ui.increment,
self.ui.red,
self.ui.green,
self.ui.blue,
self.ui.alpha,
self.ui.kind,
self.ui.arithmetic,
self.ui.geometric,
)
)
# connecting search and replace
# self.ui.find.returnPressed.connect(lambda: self.ui.searchAndReplace(self.ui.find,self.ui.replace,self.ui.knob))
# self.ui.replace.returnPressed.connect(lambda: self.ui.searchAndReplace(self.ui.find,self.ui.replace,self.ui.knob))
self.ui.replaceIt.clicked.connect(
lambda: self.searchAndReplaceMPS(
self.ui.ffind, self.ui.rreplace, self.ui.knob
)
)
# nodegraph nodes manipulation
self.ui.up.clicked.connect(lambda: self.scaleNodes(1, 1.3))
self.ui.down.clicked.connect(lambda: self.scaleNodes(1, 0.7))
self.ui.left.clicked.connect(lambda: self.scaleNodes(0.7, 1))
self.ui.right.clicked.connect(lambda: self.scaleNodes(1.3, 1))
self.ui.alignNodesHorizontally.clicked.connect(
lambda: self.alignNodes(nuke.selectedNodes(), direction="y")
)
self.ui.alignNodesVertically.clicked.connect(
lambda: self.alignNodes(nuke.selectedNodes(), direction="x")
)
self.ui.checkerboardNodes.clicked.connect(lambda: self.checkerboardNodesAll())
# setting or removing animations
self.ui.setAnimated.clicked.connect(lambda: self.setAnimatedNodes(self.ui.knob))
self.ui.clearAnimated.clicked.connect(
lambda: self.clearAnimatedNodes(self.ui.knob)
)
# setting icons button
self.ui.icons.setCheckable(1)
self.ui.icons.clicked.connect(lambda: self.killIcons(self.ui.icons))
# defining focus events
self.ui.knob.returnPressed.connect(lambda: self.focusEvent(self.ui.knob))
self.ui.value.returnPressed.connect(lambda: self.focusEvent(self.ui.value))
self.ui.increment.returnPressed.connect(
lambda: self.focusEvent(self.ui.increment)
)
# self.ui.find.returnPressed.connect(lambda : self.focusEvent(self.ui.find))
# self.ui.replace.returnPressed.connect(lambda : self.focusEvent(self.ui.replace))
self.ui.knob.textChanged.connect(lambda: self.gotFocusEvent(self.ui.knob))
self.ui.errorMessage = "please send this error to Alexey so he will be able to uncrap his code \n\n\n but before you are doing that please tripple check that you are trying to set legit values and not some senseless crap\n\n\n thank you."
# connect memory to setting values to knobs
self.ui.memory.activated.connect(lambda: self.setMemory(self.ui.memory))
# connect change of kind to memory grab
self.ui.grabMemo.clicked.connect(
lambda: self.grabMemory(self.ui.kind, self.ui.memory)
)
# store entered values in the memoryau
self.ui.go.clicked.connect(
lambda: self.massiveMemory(
self.ui.knob,
self.ui.value,
self.ui.increment,
self.ui.red,
self.ui.green,
self.ui.blue,
self.ui.alpha,
self.ui.kind,
)
)
self.ui.redB.clicked.connect(lambda: self.setNodesColor(2466250752))
self.ui.greenB.clicked.connect(lambda: self.setNodesColor(1063467008))
self.ui.blueB.clicked.connect(lambda: self.setNodesColor(1027575296))
self.ui.magentaB.clicked.connect(lambda: self.setNodesColor(1358974720))
self.ui.cyanB.clicked.connect(lambda: self.setNodesColor(16777215))
self.ui.yellowB.clicked.connect(lambda: self.setNodesColor(2526413055))
self.ui.whiteB.clicked.connect(lambda: self.setNodesColor(4294967040))
self.ui.blackB.clicked.connect(lambda: self.setNodesColor(255))
self.ui.grayB.clicked.connect(lambda: self.setNodesColor(2139062271))
self.ui.resetColor.clicked.connect(lambda: self.setNodesColor(0))
self.ui.Rconnect.clicked.connect(lambda: self.randomConnectNodes())
self.ui.snap3D.clicked.connect(lambda: self.snap3Dgeo())
self.ui.reloadReads.clicked.connect(lambda: self.readsReload())
self.ui.countSelected.clicked.connect(lambda: self.countSelectedNodes())
self.ui.arithmetic.clicked.connect(
lambda: self.incrProgressA(self.ui.arithmetic, self.ui.geometric)
)
self.ui.geometric.clicked.connect(
lambda: self.incrProgressG(self.ui.arithmetic, self.ui.geometric)
)
self.ui.duplicate.clicked.connect(lambda: self.Duplicator())
# duplicate selected node
def Duplicator(self):
panel = nuke.Panel("Duplicator")
panel.addSingleLineInput("Copies:", "10")
panel.addSingleLineInput("Maximum nodes per row:", "10")
if panel.show():
count = int(panel.value("Copies:"))
row = int(panel.value("Maximum nodes per row:"))
node = nuke.selectedNode()
nodes = [node]
x = int(node["xpos"].value())
basex = x
y = int(node["ypos"].value())
nuke.nodeCopy("%clipboard%")
while count > 1:
count = count - 1
nuke.nodePaste("%clipboard%")
nodes.append(nuke.selectedNode())
Xoffset = 0
Yoffset = 0
count = 1
for node in nodes:
node.setXYpos(x + Xoffset, y + Yoffset)
Xoffset = Xoffset + 100
rest = count % row
if rest == 0:
Yoffset = Yoffset + 70
Xoffset = 0
count = count + 1
node.setInput(0, None)
node.setSelected(True)
# toggle progression
def incrProgressA(self, a, g):
if a.isChecked():
g.setChecked(False)
else:
g.setChecked(True)
def incrProgressG(self, a, g):
if g.isChecked():
a.setChecked(False)
else:
a.setChecked(True)
# set colors to nodes
def setNodesColor(self, color):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
a = self.selectedNodesInContext()
self.countSelectedNodes()
for n in a:
n["tile_color"].setValue(color)
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# collect memories and create dropdown menu
def grabMemory(self, kind, memory):
try:
memo = nuke.toNode("root")["massiveMemory"].value()
memory.clear()
kind = kind.currentText()
cells = memo.split("|")
goodCells = ["memory"]
for one in cells:
if kind in one:
goodCells.append(one)
for one in goodCells:
memory.addItem(one)
except:
pass
# setting values from memory
def setMemory(self, memory):
# print memory.currentText()
memoryList = memory.currentText()
memoryList = memoryList.replace(" ", "")
memory = memoryList.split(",")
self.ui.knob.setText(memory[0])
self.value.setText(memory[1])
self.increment.setText(memory[2])
if memory[3] == "1":
self.red.setChecked(True)
else:
self.red.setChecked(False)
if memory[4] == "1":
self.green.setChecked(True)
else:
self.green.setChecked(False)
if memory[5] == "1":
self.blue.setChecked(True)
else:
self.blue.setChecked(False)
if memory[6] == "1":
self.alpha.setChecked(True)
else:
self.alpha.setChecked(False)
# creating memory knob on the root and storing values
def massiveMemory(self, knob, value, increment, red, green, blue, alpha, kind):
b = nuke.toNode("root") # check if knob exist, if not will create it
count = 0
for i in range(b.getNumKnobs()):
if b.knob(i).name() == "massiveMemory":
count = 1
else:
pass
if count == 0:
b.addKnob(
nuke.String_Knob(
"massiveMemory",
"massiveMemory",
)
)
brain = b["massiveMemory"]
# brain.setVisible(False)
current = brain.getValue()
if red.isChecked():
red = "1"
else:
red = "0"
if blue.isChecked():
blue = "1"
else:
blue = "0"
if green.isChecked():
green = "1"
else:
green = "0"
if alpha.isChecked():
alpha = "1"
else:
alpha = "0"
# update = knob.text()+","+value.text()+","+increment.text()+","+red+","+green+","+blue+","+alpha+","+kind.currentText()
v = 20 - len(value.text())
vv = v * " "
i = 20 - len(increment.text())
ii = i * " "
aa = 16 * " "
k = 20 - len(kind.currentText())
kk = k * " "
update = (
knob.text()
+ ","
+ vv
+ value.text()
+ ","
+ ii
+ increment.text()
+ ","
+ aa
+ red
+ ","
+ green
+ ","
+ blue
+ ","
+ alpha
+ ","
+ kk
+ kind.currentText()
)
new = current + "|" + update
brain.setValue(new)
# adding autocomplete to knob knob
def gotFocusEvent(self, emittor):
if emittor == self.ui.knob:
listOfKnobs = []
b = self.selectedNodesInContext()[0]
for i in range(b.getNumKnobs()):
knob = b.knob(i).name()
listOfKnobs.append(knob)
completer = QCompleter(listOfKnobs, self)
completer.setCaseSensitivity(Qt.CaseInsensitive)
self.ui.knob.setCompleter(completer)
# focusing on knobs
def focusEvent(self, emittor):
if emittor == self.ui.knob:
self.value.setFocus()
elif emittor == self.value:
self.increment.setFocus()
elif emittor == self.increment:
self.go.setFocus()
elif emittor == self.find:
self.replace.setFocus()
elif emittor == self.replace:
self.go.setFocus()
# make nuke.selectedNodes work inside the group
def selectedNodesInContext(self):
# iterates through all widgets to get the currently visible DAG to get selected Nodes within a group
currentDAG = ""
allWidgets = QtWidgets.QApplication.instance().allWidgets() # changed
for w in allWidgets:
if "DAG" in w.objectName() and w.isVisible():
currentDAG = w.windowTitle()
if currentDAG and currentDAG != "Node Graph":
group = nuke.toNode(currentDAG.replace(" Node Graph", ""))
with group:
return nuke.selectedNodes()
else:
return nuke.selectedNodes()
# make nuke.allNodes work inside the group
def allNodesInContext(self):
# iterates through all widgets to get the currently visible DAG to get selected Nodes within a group
currentDAG = ""
allWidgets = QtWidgets.QApplication.instance().allWidgets()
for w in allWidgets:
if "DAG" in w.objectName() and w.isVisible():
currentDAG = w.windowTitle()
if currentDAG and currentDAG != "Node Graph":
group = nuke.toNode(currentDAG.replace(" Node Graph", ""))
with group:
return nuke.allNodes()
else:
return nuke.allNodes()
# positon nodes in checkerboard pattern
def checkerboardNodesAll(self):
"""Original code written by Howard Jones, implemented in Massive panel by Alexey Kuchinsky"""
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
count = 0
moveBy = 75
for i in self.selectedNodesInContext():
m = count % 3
i.autoplace()
i.setXYpos(i.xpos(), i.ypos() + (m * moveBy))
count += 1
self.countSelectedNodes()
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# allign nodes horizontally or vertically
def alignNodes(self, nodes, direction="x"):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
"""
Align nodes either horizontally or vertically.
Original code written by Frank Rueter, implemented in Massive panel by Alexey Kuchinsky
"""
if len(nodes) < 2:
undo.end() # ;print "undo end"
return
if direction.lower() not in ("x", "y"):
raise ValueError("direction argument must be x or y")
positions = [float(n[direction.lower() + "pos"].value()) for n in nodes]
avrg = sum(positions) / len(positions)
for n in nodes:
if direction == "x":
for n in nodes:
n.setXpos(int(avrg))
else:
for n in nodes:
n.setYpos(int(avrg))
self.countSelectedNodes()
undo.end() # ;print "undo end"
return avrg
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# set knob animated. set keyframe
def setAnimatedNodes(self, knob):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
knobVal = knob.text()
nodesA = self.selectedNodesInContext()
for nodeA in nodesA:
nodeKnobVal = nodeA[knobVal].value()
nodeA[knobVal].setAnimated()
nodeA[knobVal].setValue(nodeKnobVal)
self.countSelectedNodes()
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# clear animation from selected knob
def clearAnimatedNodes(self, knob):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
string = knob.text()
nodesA = self.selectedNodesInContext()
for nodeA in nodesA:
nodeA[string].clearAnimated()
self.countSelectedNodes()
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# scale nodes in the nodegraph
def scaleNodes(self, xScale, yScale=None):
undo = nuke.Undo()
undo.begin() # ;print "undo begin scale"
try:
def getSideNodes(bd):
"""
Original code written by Frank Rueter, implemented in Massive panel by Alexey Kuchinsky
return a given backdrop node's "side nodes" (left, right, top andbottom most nodes) as a dictionary including the nodes and the respective DAG coordinates"""
origSel = self.selectedNodesInContext()
[n.setSelected(False) for n in origSel]
bd.selectNodes()
bdNodes = self.selectedNodesInContext()
[n.setSelected(False) for n in bdNodes] # DESELECT BACKDROP NODES
[n.setSelected(True) for n in origSel] # RESTORE ORIGINAL SELECTION
if not bdNodes:
return []
leftNode = rightNode = bottomNode = topNode = bdNodes[
0
] # START WITH RANDOM NODE
for n in bdNodes:
if n.xpos() < leftNode.xpos():
leftNode = n
if n.xpos() > rightNode.xpos():
rightNode = n
if n.ypos() < topNode.ypos():
topNode = n
if n.ypos() > bottomNode.ypos():
bottomNode = n
return dict(
left=[
leftNode,
nuke.math.Vector2(leftNode.xpos(), leftNode.ypos()),
],
right=[
rightNode,
nuke.math.Vector2(rightNode.xpos(), rightNode.ypos()),
],
top=[topNode, nuke.math.Vector2(topNode.xpos(), topNode.ypos())],
bottom=[
bottomNode,
nuke.math.Vector2(bottomNode.xpos(), bottomNode.ypos()),
],
)
# MAKE THINGS BACKWARDS COMPATIBLE
yScale = yScale or xScale
# COLLECT SIDE NODES AND COORDINATES FOR BACKDROPS
backdrops = {}
for bd in self.allNodesInContext():
if "BackdropNode" in bd.Class():
backdrops[bd] = getSideNodes(bd)
# MOVE NODES FROM CENTRE OUTWARD
nodes = [
n for n in self.selectedNodesInContext() if n.Class() != "BackdropNode"
]
amount = len(nodes)
if amount == 0:
undo.end() # ;print "undo end"
return
allX = 0
allY = 0
for n in nodes:
allX += n.xpos()
allY += n.ypos()
centreX = allX / amount
centreY = allY / amount
for n in nodes:
n.setXpos(int(centreX + (n.xpos() - centreX) * xScale))
n.setYpos(int(centreY + (n.ypos() - centreY) * yScale))
# ADJUST BACKDROP NODES
for bd, bdSides in backdrops.iteritems():
leftDelta = bdSides["left"][0].xpos() - bdSides["left"][1].x
topDelta = bdSides["top"][0].ypos() - bdSides["top"][1].y
rightDelta = bdSides["right"][0].xpos() - bdSides["right"][1].x
bottomDelta = bdSides["bottom"][0].ypos() - bdSides["bottom"][1].y
bd.setXpos(int(bd.xpos() + leftDelta))
bd.setYpos(int(bd.ypos() + topDelta))
bd["bdwidth"].setValue(
int(bd["bdwidth"].value() - leftDelta + rightDelta)
)
bd["bdheight"].setValue(
int(bd["bdheight"].value() - topDelta + bottomDelta)
)
self.countSelectedNodes()
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# disable or enable icons on nodes
def iconCheck(self, lab, node):
if self.ui.icons.isChecked():
node["icon"].setValue("")
else:
node["icon"].setValue(lab)
# implementation of Go section
def goGo(
self, go, knob, value, inc, red, green, blue, alpha, kind, arithmetic, geometric
):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
def knobCheck(dude):
n = self.selectedNodesInContext()[0]
knob = n[dude]
if knob.Class() == "Int_Knob" or knob.Class() == "ColorChip_Knob":
return False
else:
return True
valKnob = knob.text()
valValue = value.text()
valIncrement = inc.text()
if not inc.text():
valIncrement = 0
valVariable = 0
valKind = kind.currentText()
valRed = red.isChecked()
valGreen = green.isChecked()
valBlue = blue.isChecked()
valAlpha = alpha.isChecked()
valArray = [valRed, valGreen, valBlue, valAlpha]
knobIsFloat = knobCheck(valKnob)
fullHouse = 0
if False not in valArray:
fullHouse = 1
def updatePanel(knob): # update properties panel
node[knob].setFlag(nuke.INVISIBLE)
node[knob].clearFlag(nuke.INVISIBLE)
selNodes = list(reversed(self.selectedNodesInContext()))
if (
valKind == "number"
): # setting number#######################################
if arithmetic.isChecked():
incrementBase = 0
else:
incrementBase = 0
##print 'setting number'
if knobIsFloat: # checking if knob is expecting a float or init
incrementBase = float(incrementBase)
valIncrement = float(valIncrement)
else:
incrementBase = int(incrementBase)
valIncrement = int(valIncrement)
for node in selNodes:
if fullHouse == 0:
node[valKnob].setSingleValue(False)
for i, j in enumerate(valArray):
if j == True:
if (
"to" in valValue and "val" not in valValue
): #######setting random values!!!!!!
low = float(eval(valValue.rpartition("to")[0])) * 1000
high = float(eval(valValue.rpartition("to")[2])) * 1000
randomValue = float(random.randint(low, high)) / 1000
node[valKnob].setValue(randomValue + incrementBase, i)
elif (
"val" in valValue and "to" not in valValue
): ######setting values relatively to the current value!!!!
oldVal = node[valKnob].value(i)
newVal = eval(valValue.replace("val", str(oldVal)))
node[valKnob].setValue(newVal + incrementBase, i)
elif (
"val" in valValue and "to" in valValue
): ######setting random values relatively to the current value!!!
low = (
float(
valValue.rpartition("to")[0].rpartition("(")[2]
)
* 1000
)
high = (
float(
valValue.rpartition("to")[2].rpartition(")")[0]
)
* 1000
)
oldVal = node[valKnob].value(i)
newVal = (
oldVal + float(random.randint(low, high)) / 1000
)
node[valKnob].setValue(newVal + incrementBase, i)
else: ######setting value
if knobIsFloat:
try:
node[valKnob].setValue(
float(valValue) + incrementBase, i
)
except:
node[valKnob].setValue(float(valValue))
else:
try:
node[valKnob].setValue(
int(valValue) + incrementBase, i
)
except:
node[valKnob].setValue(int(valValue))
if fullHouse == 1:
node[valKnob].setSingleValue(True)
updatePanel(valKnob)
if arithmetic.isChecked():
incrementBase = valIncrement + incrementBase
else:
if incrementBase == 0:
incrementBase = 1
incrementBase = valIncrement * incrementBase
elif (
valKind == "text"
): # setting text########################################
##print 'setting expression'
loop = 0
if valIncrement != 0:
if float(valIncrement) % 1 == 0:
valIncrement = int(valIncrement)
else:
valIncrement = float(valIncrement)
loopValue = valValue.replace("var", "0")
baseValIncrement = valIncrement
for node in selNodes:
if valIncrement != 0:
if loop > 0:
loopValue = valValue.replace("var", str(valIncrement))
if arithmetic.isChecked():
if isinstance(baseValIncrement, int):
valIncrement = str(
int(valIncrement) + baseValIncrement
)
else:
valIncrement = str(
float(valIncrement) + baseValIncrement
)
else:
if isinstance(baseValIncrement, int):
valIncrement = str(
int(valIncrement) * baseValIncrement
)
else:
valIncrement = str(
float(valIncrement) * baseValIncrement
)
else:
loopValue = valValue
print(valValue)
if (
True not in valArray or False not in valArray
): # setting one value to all array members
if valKnob == "name":
node.setName(str(loopValue))
else:
print(loopValue)
node[valKnob].setValue(str(loopValue))
else: # setting separated values to members
##print "array found"
for i, j in enumerate(valArray):
if j == True:
if valKnob == "name":
node.setName(str(loopValue), i)
else:
node[valKnob].setValue(str(loopValue), i)
loop = loop + 1
elif (
valKind == "expression"
): # setting expression#######################################
##print 'setting expression'
loop = 0
baseValIncrement = valIncrement
loopValue = valValue.replace("var", "0")
for node in selNodes:
if loop > 0:
loopValue = valValue.replace("var", str(valIncrement))
if arithmetic.isChecked():
valIncrement = str(
float(valIncrement) + float(baseValIncrement)
)
else:
valIncrement = str(
float(valIncrement) * float(baseValIncrement)
)
if (
True not in valArray or False not in valArray
): # setting one value to all array members
node[valKnob].setExpression(loopValue)
else: # setting separated values to members
##print "array found"
for i, j in enumerate(valArray):
if j == True:
node[valKnob].setExpression(loopValue, i)
loop = loop + 1
##print valIncrement
self.countSelectedNodes()
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# implementation of take buttons
def setTake(self, button, res, dis_en, low, high, sel, icon):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
self.countSelectedNodes()
# gasering information
label = button.text()
name = button.objectName()
lowVal = low.text()
highVal = high.text()
knobVal = "fuckOff"
sameName = 0
# guessing what is the knob to be affected
a = self.selectedNodesInContext()
b = self.selectedNodesInContext()[0].knobs()
if "samples" in b:
knobToAffect = "samples"
elif "motionblur" in b:
knobToAffect = "motionblur"
elif "which" in b:
knobToAffect = "which"
else:
knobToAffect = "disable"
# guessing default value
if lowVal == "":
if "samples" in b:
lowVal = 1
highVal = 16
elif "motionblur" in b or "which" in b:
lowVal = 0
highVal = 1
else:
lowVal = 1
highVal = 0
# collecting information needed to set a label
if (
"Take" in label or "++" + label + "++" in a[0]["label"].value()
): # if button is fresh or belongs to same take
button.setStyleSheet("QPushButton {color: white;}")
res.setStyleSheet("QPushButton {color: white;}")
dis_en.setStyleSheet("QPushButton {color: white;}")
low.setStyleSheet("QPushButton {color: rgb(50,50,50);}")
high.setStyleSheet("QPushButton {color: rgb(50,50,50);}")
sel.setStyleSheet("QPushButton {color: white;}")
if "++" + label + "++" in a[0]["label"].value():
panel = nuke.ask(
"looks like yo want to change take's properties, is this the case?"
)
if panel:
panel = nuke.Panel("setLabel")
panel.addSingleLineInput("take name", label)
panel.addSingleLineInput("knob to affect", knobToAffect)
panel.addSingleLineInput("low", lowVal)
panel.addSingleLineInput("high", highVal)
panel.show()
takeName = panel.value("take name")
knobToAffect = panel.value("knob to affect")
lowVal = panel.value("low")
highVal = panel.value("high")
sameName = 1
# if take is already assigned
else:
panel = nuke.Panel("setLabel")
panel.addSingleLineInput("take name", "")
panel.addSingleLineInput("knob to affect", knobToAffect)
panel.addSingleLineInput("low", lowVal)
panel.addSingleLineInput("high", highVal)
panel.show()
takeName = panel.value("take name")
knobToAffect = panel.value("knob to affect")
lowVal = panel.value("low")
highVal = panel.value("high")
if not takeName: # if pressing okay
takeName = label
else: # if button is not fresh, assign some nodes to some take
panel = nuke.ask(
"you going to assign selected nodes to "
+ label
+ "\nare you sure about that?"
)
if panel: # if pressing okay
takeName = label
if dis_en.text() == "E":
knobVal = highVal
if dis_en.text() == "D":
knobVal = lowVal
else: # if canceling
pass
##setting take label and additional knobs to selected nodes
if "++" in a[0]["label"].value(): # if node belongs to other take
if sameName == 1:
pass
else:
panel = nuke.ask(
"looks like one or more selected nodes belongs to other take\nare you sure you want to add them to "
+ takeName
+ "?"
)
if panel or sameName == 1: # if pressing okay
for n in a:
try:
n.removeKnob(n.knobs()["l_h"])
n.removeKnob(n.knobs()["takeCode"])
n.removeKnob(n.knobs()["takeName"])
n.removeKnob(n.knobs()["affectedKnob"])
except:
pass
n["label"].setValue("++" + takeName + "++")
# adding additional knobs
t = nuke.Text_Knob("takeCode", "take code", name)
nn = nuke.Text_Knob("takeName", "take name", takeName)
ak = nuke.Text_Knob(
"affectedKnob", "affected knob", knobToAffect
)
g = nuke.XY_Knob("l_h", "low/high values")
kn = [t, nn, ak, g]
for knobb in kn:
n.addKnob(knobb)
n["l_h"].setValue([lowVal, highVal])
else: # if node does not belong to other take
for n in a:
if n["label"].value() == "": # if label of selected node is empty
n["label"].setValue(n["label"].value() + "++" + takeName + "++")
else: # if label is not empty
n["label"].setValue(
n["label"].value() + "\n" + "++" + takeName + "++"
)
# adding additional knobs
t = nuke.Text_Knob("takeCode", "take code", name)
nn = nuke.Text_Knob("takeName", "take name", takeName)
ak = nuke.Text_Knob("affectedKnob", "affected knob", knobToAffect)
g = nuke.XY_Knob("l_h", "low/high values")
kn = [t, nn, ak, g]
for knobb in kn:
n.addKnob(knobb)
n["l_h"].setValue([lowVal, highVal])
if knobVal != "fuckOff":
n[knobToAffect].setValue(knobVal)
# setting values to the Massive panel
if takeName: # setting label to the take button
button.setText(takeName)
# button.setToolTip(knobToAffect)
# hiding low/high knobs if disable knob will be operated
# if knobToAffect == "disable":
# low.hide()
# high.hide()
# setting low and high values
low.setText(str(lowVal))
high.setText(str(highVal))
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# implementation of select buttons
def selectTake(self, button, res, dis_en, low, high, sel): #
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
label = button.text()
a = self.allNodesInContext()
for one in a:
l = one["label"].value()
if "++" + label + "++" in l:
one.setSelected(True)
else:
one.setSelected(False)
self.countSelectedNodes()
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# implementation of disable buttons
def disableTake(self, button, res, dis_en, low, high, sel, icon):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
take_text = button.text()
dis_en_text = dis_en.text()
lowVal = low.text()
highVal = high.text()
a = self.allNodesInContext()
nodesToDisable = []
for one in a: # find all needed nodes
if "++" + take_text + "++" in one["label"].value():
nodesToDisable.append(one)
# toggle enable and disable
if dis_en_text == "D":
for node in nodesToDisable:
knobToAffect = node["affectedKnob"].value()
node[knobToAffect].setValue(float(highVal))
node["note_font_color"].setValue(3342591)
node["l_h"].setValue([lowVal, highVal])
# node['icon'].setValue("enabled.png")
self.iconCheck("enabled.png", node)
dis_en.setText("E")
dis_en.setStyleSheet(
"QPushButton {background-color: rgb(60,100,60);}"
)
if dis_en_text == "E" or dis_en_text == "T":
for node in nodesToDisable:
knobToAffect = node["affectedKnob"].value()
node[knobToAffect].setValue(float(lowVal))
node["note_font_color"].setValue(855638271)
node["l_h"].setValue([lowVal, highVal])
# node['icon'].setValue("disabled.png")
self.iconCheck("disabled.png", node)
dis_en.setText("D")
dis_en.setStyleSheet(
"QPushButton {background-color: rgb(128,50,50);}"
)
for one in nodesToDisable:
one.setSelected(True)
self.countSelectedNodes()
for one in nodesToDisable:
one.setSelected(False)
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# implementation of reset take
def resetTake(self, button, res, dis_en, low, high, sel):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
def grayOut(): # grayout certain take
button.setStyleSheet("QPushButton {color: rgb(62,62,62);}")
res.setStyleSheet("QPushButton {color: rgb(62,62,62);}")
dis_en.setStyleSheet("QPushButton {color: rgb(62,62,62);}")
low.setStyleSheet("QPushButton {color: rgb(62,62,62);}")
high.setStyleSheet("QPushButton {color: rgb(62,62,62);}")
sel.setStyleSheet("QPushButton {color: rgb(62,62,62);}")
label = button.text()
selected = 0
try:
a = self.selectedNodesInContext()
for one in a:
l = one["label"].value()
if "++" + label + "++" in l:
selected = 1
except:
pass
if selected == 0: # reset take
if nuke.ask("This will reset current Take, are you sure you up to it?"):
name = button.objectName().replace("take", "")
button.setText("Take " + name)
dis_en.setText("D")
dis_en.setStyleSheet('QPushButton {color: "";}')
low.setPlaceholderText("low")
low.setText("")
low.show()
high.setPlaceholderText("high")
high.setText("")
high.show()
grayOut()
a = self.allNodesInContext()
for one in a:
l = one["label"].value()
if "++" + label + "++" in l:
# one['note_font_color'].setValue(0)
##print "++"+label+"++"
one["label"].setValue(l.replace("++" + label + "++", ""))
one["icon"].setValue("")
d_knobs = ["l_h", "takeCode", "affectedKnob", "takeName"]
for knob in d_knobs:
one.removeKnob(one.knob(knob))
else: # exclude selected node from a take
if nuke.ask(
"This will exclude selected nodes from Take, are you sure you up to it?"
):
for one in a:
one["label"].setValue(l.replace("++" + label + "++", ""))
# one['note_font_color'].setValue(0)
one["icon"].setValue("")
d_knobs = ["l_h", "takeCode", "affectedKnob", "takeName"]
for knob in d_knobs:
one.removeKnob(one.knob(knob))
self.countSelectedNodes()
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# refreshing the panel to get all the data back to the panel
def refreshTakes(self):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
takes1 = [
self.take1,
self.resetTake1,
self.disableTake1,
self.take1Low,
self.take1High,
self.selectTake1,
self.rotosMB,
self.icons,
]
takes2 = [
self.take2,
self.resetTake2,
self.disableTake2,
self.take2Low,
self.take2High,
self.selectTake2,
self.rotosMB,
self.icons,
]
takes3 = [
self.take3,
self.resetTake3,
self.disableTake3,
self.take3Low,
self.take3High,
self.selectTake3,
self.rotosMB,
self.icons,
]
takes4 = [
self.take4,
self.resetTake4,
self.disableTake4,
self.take4Low,
self.take4High,
self.selectTake4,
self.rotosMB,
self.icons,
]
takes5 = [
self.take5,
self.resetTake5,
self.disableTake5,
self.take5Low,
self.take5High,
self.selectTake5,
self.rotosMB,
self.icons,
]
takes6 = [
self.take6,
self.resetTake6,
self.disableTake6,
self.take6Low,
self.take6High,
self.selectTake6,
self.rotosMB,
self.icons,
]
takes7 = [
self.take7,
self.resetTake7,
self.disableTake7,
self.take7Low,
self.take7High,
self.selectTake7,
self.rotosMB,
self.icons,
]
takes8 = [
self.take8,
self.resetTake8,
self.disableTake8,
self.take8Low,
self.take8High,
self.selectTake8,
self.rotosMB,
self.icons,
]
takes9 = [
self.take9,
self.resetTake9,
self.disableTake9,
self.take9Low,
self.take9High,
self.selectTake9,
self.rotosMB,
self.icons,
]
takes10 = [
self.take10,
self.resetTake10,
self.disableTake10,
self.take10Low,
self.take10High,
self.selectTake10,
self.rotosMB,
self.icons,
]
takes11 = [
self.take11,
self.resetTake11,
self.disableTake11,
self.take11Low,
self.take11High,
self.selectTake11,
self.rotosMB,
self.icons,
]
allTakes = [
takes1,
takes2,
takes3,
takes4,
takes5,
takes6,
takes7,
takes8,
takes9,
takes10,
takes11,
]
a = self.allNodesInContext()
labels = []
for one in a: # collecting all nodes labels
labels.append(one["label"].value())
for line in allTakes: # going through every take and checking it's status
takeName = line[0].text()
found = 0
for one in a: # if take is found in the script data is collected
if "++" in one["label"].value():
takeCode = one["takeCode"].value()
if line[0].objectName() == takeCode:
takeName = one["takeName"].value()
affectedKnob = one["affectedKnob"].value()
low = one["l_h"].value()[0]
high = one["l_h"].value()[1]
line[0].setText(takeName)
if one[affectedKnob].value() == high:
line[2].setText("E")
line[2].setStyleSheet(
"QPushButton {background-color: rgb(60,100,60);}"
)
elif one[affectedKnob].value() == low:
line[2].setText("D")
line[2].setStyleSheet(
"QPushButton {background-color: rgb(128,50,50);}"
)
line[3].setText(str(low))
line[4].setText(str(high))
line[0].setStyleSheet("QPushButton {color: white;}")
line[1].setStyleSheet("QPushButton {color: white;}")
line[3].setStyleSheet("QPushButton {color: rgb(50,50,50);}")
line[4].setStyleSheet("QPushButton {color: rgb(50,50,50);}")
line[5].setStyleSheet("QPushButton {color: white;}")
for one in labels:
if takeName in one:
found = 1
if (
found == 0
): # if take is not found in the script the take is resetted
name = line[0].objectName().replace("take", "")
line[0].setText("Take " + name)
line[0].setStyleSheet("QPushButton {color: rgb(62,62,62);}")
line[1].setStyleSheet("QPushButton {color: rgb(62,62,62);}")
line[2].setStyleSheet("QPushButton {color: rgb(62,62,62);}")
line[2].setText("D")
line[2].setStyleSheet('QPushButton {color: "";}')
line[3].setPlaceholderText("low")
line[3].setText("")
line[3].show()
line[3].setStyleSheet("QPushButton {color: rgb(62,62,62);}")
line[4].setPlaceholderText("high")
line[4].setText("")
line[4].show()
line[4].setStyleSheet("QPushButton {color: rgb(62,62,62);}")
line[5].setStyleSheet("QPushButton {color: rgb(62,62,62);}")
for one in a:
if "Roto" in one.Class():
rotoExample = one
try:
if rotoExample["motionblur_mode"].value() == "shape":
takes1[6].setText("Rotos MB On")
takes1[6].setStyleSheet(
"QPushButton {background-color: rgb(60,100,60);}"
)
else:
takes1[6].setText("Rotos MB Off")
takes1[6].setStyleSheet(
"QPushButton {background-color: rgb(128,50,50);}"
)
except:
pass
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# toggle motionblur in roto and paint nodes
def rotosMBtoggle(self, rotoButton, icon):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
rotoButton_text = rotoButton.text()
a = self.allNodesInContext()
nodesToDisable = []
for one in a: # find all Roto and Rotoshape nodes
if "Roto" in one.Class():
nodesToDisable.append(one)
if (
rotoButton_text == "Rotos MB Off"
): # toggle enable and disable motion blur
for node in nodesToDisable:
node["motionblur_mode"].setValue("shape")
node["global_motionblur"].setValue(1)
node["icon"].setValue("")
rotoButton.setText("Rotos MB On")
rotoButton.setStyleSheet(
"QPushButton {background-color: rgb(60,100,60);}"
)
if rotoButton_text == "Rotos MB On" or rotoButton_text == "Rotos MB":
for node in nodesToDisable:
node["motionblur_mode"].setValue("global")
node["global_motionblur"].setValue(0)
# node['icon'].setValue("disabled.png")
self.iconCheck("disabled.png", node)
rotoButton.setText("Rotos MB Off")
rotoButton.setStyleSheet(
"QPushButton {background-color: rgb(128,50,50);}"
)
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# search and replace
def searchAndReplaceMPS(self, ffind, rreplace, knob):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
self.countSelectedNodes()
knob = knob.text()
if knob == "":
knob = "file"
findSTR = ffind.text()
replaceSTR = rreplace.text()
replNodes = self.selectedNodesInContext()
for boy in replNodes:
index = 0
if boy[knob].hasExpression(index):
newExpression = (
boy[knob]
.animation(index)
.expression()
.replace(findSTR, replaceSTR)
)
boy[knob].setExpression(newExpression, index)
elif isinstance(boy[knob].value(), float):
newVal = eval(str(boy[knob].value()).replace(findSTR, replaceSTR))
boy[knob].setValue(newVal)
elif isinstance(boy[knob].value(), basestring):
newVal = boy[knob].value().replace(findSTR, replaceSTR)
boy[knob].setValue(newVal)
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# disable icons on nodes in the nodegraph
def killIcons(self, icon):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
if self.ui.icons.isChecked():
a = self.allNodesInContext()
for node in a:
node["icon"].setValue("")
else:
pass
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# randomly connect nodes
def randomConnectNodes(self):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
self.countSelectedNodes()
try:
memo = nuke.toNode("root")["randomMemo"].value()
except:
nuke.toNode("root").addKnob(
nuke.String_Knob("randomMemo", "randomMemo", "your Basic Name,,,0")
)
name = nuke.toNode("root")["randomMemo"].value().split(",")[0]
low = nuke.toNode("root")["randomMemo"].value().split(",")[1]
high = nuke.toNode("root")["randomMemo"].value().split(",")[2]
inputNr = nuke.toNode("root")["randomMemo"].value().split(",")[3]
panel = nuke.Panel("select sourses")
panel.addSingleLineInput("sourse basic name", name)
panel.addSingleLineInput("sourse low", low)
panel.addSingleLineInput("sourse high", high)
panel.addSingleLineInput("input", inputNr)
panel.show()
name = panel.value("sourse basic name")
low = panel.value("sourse low")
high = panel.value("sourse high")
inputNr = panel.value("input")
nuke.toNode("root")["randomMemo"].setValue(
name + "," + low + "," + high + "," + inputNr
)
s = self.selectedNodesInContext()
for node in s:
dude = nuke.toNode(name + str(random.randint(int(low), int(high))))
node.setInput(int(inputNr), dude)
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# snap to vertices
def snap3Dgeo(self):
undo = nuke.Undo()
undo.begin() # ;print "undo begin"
try:
self.countSelectedNodes()
if self.selectedNodesInContext():
nodes = self.selectedNodesInContext()
count = 0
try:
for point in nukescripts.snap3d.selectedPoints():
nodes[count]["translate"].setValue(point)
count = count + 1
except:
pass
else:
panel = nuke.Panel("create node")
panel.addEnumerationPulldown(
"node", "Axis Card Sphere Cube Cylinder Light Camera"
)
panel.show()
name = panel.value("node")
count = 0
i = 75
for point in nukescripts.snap3d.selectedPoints():
node = nuke.createNode(name)
node["translate"].setValue(point)
node.setInput(0, None)
if count < 1:
x = int(node["xpos"].value())
y = int(node["ypos"].value())
count = 1
else:
node.setXYpos(x + i, y)
i = i + 75
undo.end() # ;print "undo end"
except:
undo.end() # ;print "undo end"
import traceback
t = traceback.format_exc()
nuke.message(t + "\n\n " + self.ui.errorMessage)
# reload all read nodes in script
def readsReload(self):
a = nuke.allNodes("Read")
for one in a:
one["reload"].execute()
# count selected nodes
def countSelectedNodes(self):
n = len(self.selectedNodesInContext())
self.ui.countSelected.setText(str(n))
########################################################################################################################################
def main():
app = self.ui.QtWidgets.QApplication(sys.argv)
# A new instance of QApplication
form = MassivePanelPySide() # We set the form to be our MassivePanelPySide (design)
form.show() # Show the form
app.exec_()
# print "hallo" # and execute the app
if __name__ == "__main__": # if we're running file directly and not importing it
main() # run the main function
## make this work in a .py file and in 'copy and paste' into the script editor
moduleName = __name__
if moduleName == "__main__":
moduleName = ""
else:
moduleName = moduleName + "."
def register():
panels.registerWidgetAsPanel(
moduleName + "MassivePanelPySide",
"MassivePanelPySide",
"uk.co.thefoundry.MassivePanelPySide",
)
# python C:\Python27\Lib\site-packages\PySide\scripts\uic.py J:\PySideTutorial\01_Projects\Massive_v20.ui -o F:\Dropbox\users\current\Mdev\mdev.py -x
# refresh will not work with no ops - no disable knob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment