diff options
| -rw-r--r-- | facetracknoir/facetracknoir.cpp | 2 | ||||
| -rw-r--r-- | facetracknoir/facetracknoir.ui | 3714 | ||||
| -rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 12 | ||||
| -rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.h | 6 | 
4 files changed, 1842 insertions, 1892 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index 5afdbc6d..ada8fe6d 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -375,7 +375,7 @@ QFrame *FaceTrackNoIR::get_video_widget() {  /** read the name of the first video-capturing device at start up **/
  /** FaceAPI can only use this first one... **/
  void FaceTrackNoIR::GetCameraNameDX() {
 -#if 0
 +#if 1
  ////	ui.widget->setCameraName("No video-capturing device was found in your system: check if it's connected!");
  	ui.cameraName->setText("No video-capturing device was found in your system: check if it's connected!");
 diff --git a/facetracknoir/facetracknoir.ui b/facetracknoir/facetracknoir.ui index 8c3db4a4..6af80978 100644 --- a/facetracknoir/facetracknoir.ui +++ b/facetracknoir/facetracknoir.ui @@ -10,12 +10,12 @@     <rect>
      <x>0</x>
      <y>0</y>
 -    <width>925</width>
 -    <height>415</height>
 +    <width>920</width>
 +    <height>441</height>
     </rect>
    </property>
    <property name="sizePolicy">
 -   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 +   <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
      <horstretch>0</horstretch>
      <verstretch>0</verstretch>
     </sizepolicy>
 @@ -23,13 +23,13 @@    <property name="minimumSize">
     <size>
      <width>0</width>
 -    <height>415</height>
 +    <height>0</height>
     </size>
    </property>
    <property name="maximumSize">
     <size>
      <width>16777215</width>
 -    <height>415</height>
 +    <height>476</height>
     </size>
    </property>
    <property name="contextMenuPolicy">
 @@ -141,1987 +141,1937 @@ QGroupBox {    <widget class="QWidget" name="centralWidget">
     <property name="minimumSize">
      <size>
 -     <width>925</width>
 -     <height>350</height>
 +     <width>920</width>
 +     <height>420</height>
      </size>
     </property>
     <property name="styleSheet">
      <string notr="true"/>
     </property>
 -   <layout class="QVBoxLayout" name="verticalLayout_2">
 -    <property name="spacing">
 -     <number>0</number>
 +   <widget class="QWidget" name="widget" native="true">
 +    <property name="enabled">
 +     <bool>true</bool>
      </property>
 -    <property name="margin">
 -     <number>0</number>
 +    <property name="geometry">
 +     <rect>
 +      <x>253</x>
 +      <y>1</y>
 +      <width>671</width>
 +      <height>419</height>
 +     </rect>
      </property>
 -    <item>
 -     <layout class="QHBoxLayout" name="horizontalLayout">
 -      <property name="spacing">
 -       <number>0</number>
 +    <property name="sizePolicy">
 +     <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
 +      <horstretch>0</horstretch>
 +      <verstretch>0</verstretch>
 +     </sizepolicy>
 +    </property>
 +    <property name="minimumSize">
 +     <size>
 +      <width>400</width>
 +      <height>419</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>89</red>
 +          <green>89</green>
 +          <blue>89</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="ButtonText">
 +        <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>89</red>
 +          <green>89</green>
 +          <blue>89</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="Window">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>89</red>
 +          <green>89</green>
 +          <blue>89</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="Highlight">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>192</red>
 +          <green>192</green>
 +          <blue>192</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="HighlightedText">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>0</red>
 +          <green>0</green>
 +          <blue>0</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="AlternateBase">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>72</red>
 +          <green>72</green>
 +          <blue>72</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>89</red>
 +          <green>89</green>
 +          <blue>89</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="ButtonText">
 +        <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>89</red>
 +          <green>89</green>
 +          <blue>89</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="Window">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>89</red>
 +          <green>89</green>
 +          <blue>89</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="Highlight">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>192</red>
 +          <green>192</green>
 +          <blue>192</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="HighlightedText">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>0</red>
 +          <green>0</green>
 +          <blue>0</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="AlternateBase">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>72</red>
 +          <green>72</green>
 +          <blue>72</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +      </inactive>
 +      <disabled>
 +       <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>89</red>
 +          <green>89</green>
 +          <blue>89</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="ButtonText">
 +        <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>89</red>
 +          <green>89</green>
 +          <blue>89</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="Window">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>89</red>
 +          <green>89</green>
 +          <blue>89</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="Highlight">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>192</red>
 +          <green>192</green>
 +          <blue>192</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="HighlightedText">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>0</red>
 +          <green>0</green>
 +          <blue>0</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +       <colorrole role="AlternateBase">
 +        <brush brushstyle="SolidPattern">
 +         <color alpha="255">
 +          <red>72</red>
 +          <green>72</green>
 +          <blue>72</blue>
 +         </color>
 +        </brush>
 +       </colorrole>
 +      </disabled>
 +     </palette>
 +    </property>
 +    <property name="autoFillBackground">
 +     <bool>false</bool>
 +    </property>
 +    <property name="styleSheet">
 +     <string notr="true"/>
 +    </property>
 +    <property name="locale">
 +     <locale language="English" country="UnitedStates"/>
 +    </property>
 +    <widget class="QWidget" name="">
 +     <property name="geometry">
 +      <rect>
 +       <x>10</x>
 +       <y>220</y>
 +       <width>623</width>
 +       <height>172</height>
 +      </rect>
 +     </property>
 +     <layout class="QGridLayout" name="gridLayout_5">
 +      <property name="leftMargin">
 +       <number>10</number>
        </property>
 -      <item>
 -       <layout class="QGridLayout" name="gridLayout">
 -        <property name="leftMargin">
 -         <number>0</number>
 +      <property name="verticalSpacing">
 +       <number>6</number>
 +      </property>
 +      <item row="0" column="2">
 +       <widget class="QGroupBox" name="groupGameProtocol">
 +        <property name="minimumSize">
 +         <size>
 +          <width>200</width>
 +          <height>80</height>
 +         </size>
 +        </property>
 +        <property name="maximumSize">
 +         <size>
 +          <width>200</width>
 +          <height>80</height>
 +         </size>
 +        </property>
 +        <property name="styleSheet">
 +         <string notr="true"/>
 +        </property>
 +        <property name="title">
 +         <string>Game protocol</string>
 +        </property>
 +        <widget class="QComboBox" name="iconcomboProtocol">
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>20</y>
 +           <width>180</width>
 +           <height>22</height>
 +          </rect>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="currentIndex">
 +          <number>-1</number>
 +         </property>
 +         <property name="maxVisibleItems">
 +          <number>7</number>
 +         </property>
 +        </widget>
 +        <widget class="QPushButton" name="btnShowServerControls">
 +         <property name="enabled">
 +          <bool>true</bool>
 +         </property>
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>50</y>
 +           <width>180</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Change game protocol settings</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Settings</string>
 +         </property>
 +        </widget>
 +       </widget>
 +      </item>
 +      <item row="0" column="0">
 +       <widget class="QGroupBox" name="groupTrackerSource">
 +        <property name="minimumSize">
 +         <size>
 +          <width>200</width>
 +          <height>80</height>
 +         </size>
          </property>
 -        <property name="rightMargin">
 -         <number>0</number>
 +        <property name="maximumSize">
 +         <size>
 +          <width>200</width>
 +          <height>80</height>
 +         </size>
 +        </property>
 +        <property name="styleSheet">
 +         <string notr="true"/>
          </property>
 -        <property name="spacing">
 -         <number>6</number>
 +        <property name="title">
 +         <string>Tracker Source(1st = Master)</string>
          </property>
 -        <item row="4" column="0">
 -         <widget class="QWidget" name="widget4video" native="true">
 +        <widget class="QComboBox" name="iconcomboTrackerSource">
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>20</y>
 +           <width>180</width>
 +           <height>22</height>
 +          </rect>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="currentIndex">
 +          <number>-1</number>
 +         </property>
 +         <property name="maxVisibleItems">
 +          <number>5</number>
 +         </property>
 +        </widget>
 +        <widget class="QPushButton" name="btnShowEngineControls">
 +         <property name="enabled">
 +          <bool>true</bool>
 +         </property>
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>50</y>
 +           <width>180</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Change tracker settings</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Settings</string>
 +         </property>
 +        </widget>
 +       </widget>
 +      </item>
 +      <item row="1" column="2">
 +       <layout class="QVBoxLayout" name="verticalLayout_3">
 +        <item>
 +         <widget class="QPushButton" name="btnShortcuts">
            <property name="minimumSize">
             <size>
 -            <width>250</width>
 -            <height>170</height>
 +            <width>54</width>
 +            <height>38</height>
 +           </size>
 +          </property>
 +          <property name="maximumSize">
 +           <size>
 +            <width>200</width>
 +            <height>16777215</height>
 +           </size>
 +          </property>
 +          <property name="cursor">
 +           <cursorShape>PointingHandCursor</cursorShape>
 +          </property>
 +          <property name="toolTip">
 +           <string>Edit the Keyboard and mouse shortcuts</string>
 +          </property>
 +          <property name="text">
 +           <string>Shortkeys</string>
 +          </property>
 +          <property name="icon">
 +           <iconset resource="main-facetracknoir.qrc">
 +            <normaloff>:/uielements/tools.png</normaloff>:/uielements/tools.png</iconset>
 +          </property>
 +          <property name="iconSize">
 +           <size>
 +            <width>24</width>
 +            <height>24</height>
             </size>
            </property>
 -          <widget class="QFrame" name="video_frame">
 -           <property name="geometry">
 -            <rect>
 -             <x>0</x>
 -             <y>0</y>
 -             <width>250</width>
 -             <height>170</height>
 -            </rect>
 -           </property>
 -           <property name="minimumSize">
 -            <size>
 -             <width>250</width>
 -             <height>150</height>
 -            </size>
 -           </property>
 -           <property name="maximumSize">
 -            <size>
 -             <width>500</width>
 -             <height>500</height>
 -            </size>
 -           </property>
 -           <property name="frameShape">
 -            <enum>QFrame::StyledPanel</enum>
 -           </property>
 -           <property name="frameShadow">
 -            <enum>QFrame::Raised</enum>
 -           </property>
 -          </widget>
           </widget>
          </item>
 -        <item row="0" column="0">
 -         <layout class="QHBoxLayout" name="horizontalLayout_6">
 -          <item>
 -           <widget class="QWidget" name="widget4logo" native="true">
 -            <property name="minimumSize">
 -             <size>
 -              <width>0</width>
 -              <height>90</height>
 -             </size>
 -            </property>
 -            <property name="maximumSize">
 -             <size>
 -              <width>16777215</width>
 -              <height>90</height>
 -             </size>
 -            </property>
 -            <widget class="QPushButton" name="btnDonate">
 -             <property name="geometry">
 -              <rect>
 -               <x>100</x>
 -               <y>1</y>
 -               <width>145</width>
 -               <height>34</height>
 -              </rect>
 -             </property>
 -             <property name="cursor">
 -              <cursorShape>PointingHandCursor</cursorShape>
 -             </property>
 -             <property name="toolTip">
 -              <string>Please help us: make gaming fun...</string>
 -             </property>
 -             <property name="text">
 -              <string>Click here to 
 -Support FaceTrackNoIR!</string>
 -             </property>
 -             <property name="icon">
 -              <iconset resource="FaceTrackNoIR.qrc">
 -               <normaloff>:/UIElements/Donate.png</normaloff>:/UIElements/Donate.png</iconset>
 -             </property>
 -             <property name="iconSize">
 -              <size>
 -               <width>18</width>
 -               <height>18</height>
 -              </size>
 -             </property>
 -            </widget>
 -            <widget class="QLCDNumber" name="lcdNumOutputRotX">
 -             <property name="geometry">
 -              <rect>
 -               <x>196</x>
 -               <y>34</y>
 -               <width>50</width>
 -               <height>21</height>
 -              </rect>
 -             </property>
 -             <property name="autoFillBackground">
 -              <bool>false</bool>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="frameShape">
 -              <enum>QFrame::NoFrame</enum>
 -             </property>
 -             <property name="frameShadow">
 -              <enum>QFrame::Raised</enum>
 -             </property>
 -             <property name="numDigits">
 -              <number>5</number>
 -             </property>
 -             <property name="segmentStyle">
 -              <enum>QLCDNumber::Flat</enum>
 -             </property>
 -            </widget>
 -            <widget class="QLCDNumber" name="lcdNumOutputRotY">
 -             <property name="geometry">
 -              <rect>
 -               <x>196</x>
 -               <y>52</y>
 -               <width>50</width>
 -               <height>21</height>
 -              </rect>
 -             </property>
 -             <property name="autoFillBackground">
 -              <bool>false</bool>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="frameShape">
 -              <enum>QFrame::NoFrame</enum>
 -             </property>
 -             <property name="frameShadow">
 -              <enum>QFrame::Raised</enum>
 -             </property>
 -             <property name="numDigits">
 -              <number>5</number>
 -             </property>
 -             <property name="segmentStyle">
 -              <enum>QLCDNumber::Flat</enum>
 -             </property>
 -            </widget>
 -            <widget class="QLCDNumber" name="lcdNumOutputRotZ">
 -             <property name="geometry">
 -              <rect>
 -               <x>196</x>
 -               <y>70</y>
 -               <width>50</width>
 -               <height>21</height>
 -              </rect>
 -             </property>
 -             <property name="autoFillBackground">
 -              <bool>false</bool>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="frameShape">
 -              <enum>QFrame::NoFrame</enum>
 -             </property>
 -             <property name="frameShadow">
 -              <enum>QFrame::Raised</enum>
 -             </property>
 -             <property name="numDigits">
 -              <number>5</number>
 -             </property>
 -             <property name="segmentStyle">
 -              <enum>QLCDNumber::Flat</enum>
 -             </property>
 -            </widget>
 -            <widget class="QLCDNumber" name="lcdNumOutputPosX">
 -             <property name="geometry">
 -              <rect>
 -               <x>112</x>
 -               <y>34</y>
 -               <width>50</width>
 -               <height>21</height>
 -              </rect>
 -             </property>
 -             <property name="autoFillBackground">
 -              <bool>false</bool>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="frameShape">
 -              <enum>QFrame::NoFrame</enum>
 -             </property>
 -             <property name="frameShadow">
 -              <enum>QFrame::Raised</enum>
 -             </property>
 -             <property name="numDigits">
 -              <number>5</number>
 -             </property>
 -             <property name="segmentStyle">
 -              <enum>QLCDNumber::Flat</enum>
 -             </property>
 -            </widget>
 -            <widget class="QLCDNumber" name="lcdNumOutputPosY">
 -             <property name="geometry">
 -              <rect>
 -               <x>112</x>
 -               <y>52</y>
 -               <width>50</width>
 -               <height>21</height>
 -              </rect>
 -             </property>
 -             <property name="autoFillBackground">
 -              <bool>false</bool>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="frameShape">
 -              <enum>QFrame::NoFrame</enum>
 -             </property>
 -             <property name="frameShadow">
 -              <enum>QFrame::Raised</enum>
 -             </property>
 -             <property name="numDigits">
 -              <number>5</number>
 -             </property>
 -             <property name="segmentStyle">
 -              <enum>QLCDNumber::Flat</enum>
 -             </property>
 -            </widget>
 -            <widget class="QLCDNumber" name="lcdNumOutputPosZ">
 -             <property name="geometry">
 -              <rect>
 -               <x>112</x>
 -               <y>70</y>
 -               <width>50</width>
 -               <height>21</height>
 -              </rect>
 -             </property>
 -             <property name="autoFillBackground">
 -              <bool>false</bool>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="frameShape">
 -              <enum>QFrame::NoFrame</enum>
 -             </property>
 -             <property name="frameShadow">
 -              <enum>QFrame::Raised</enum>
 -             </property>
 -             <property name="numDigits">
 -              <number>5</number>
 -             </property>
 -             <property name="segmentStyle">
 -              <enum>QLCDNumber::Flat</enum>
 -             </property>
 -            </widget>
 -            <widget class="QLabel" name="lblX">
 -             <property name="geometry">
 -              <rect>
 -               <x>104</x>
 -               <y>35</y>
 -               <width>16</width>
 -               <height>16</height>
 -              </rect>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="text">
 -              <string>X</string>
 -             </property>
 -            </widget>
 -            <widget class="QLabel" name="lblY">
 -             <property name="geometry">
 -              <rect>
 -               <x>105</x>
 -               <y>55</y>
 -               <width>16</width>
 -               <height>16</height>
 -              </rect>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="text">
 -              <string>Y</string>
 -             </property>
 -            </widget>
 -            <widget class="QLabel" name="lblZ">
 -             <property name="geometry">
 -              <rect>
 -               <x>105</x>
 -               <y>74</y>
 -               <width>16</width>
 -               <height>16</height>
 -              </rect>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="text">
 -              <string>Z</string>
 -             </property>
 -            </widget>
 -            <widget class="QLabel" name="lblRotZ">
 -             <property name="geometry">
 -              <rect>
 -               <x>164</x>
 -               <y>74</y>
 -               <width>20</width>
 -               <height>16</height>
 -              </rect>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="text">
 -              <string>roll</string>
 -             </property>
 -            </widget>
 -            <widget class="QLabel" name="lblRotX">
 -             <property name="geometry">
 -              <rect>
 -               <x>166</x>
 -               <y>35</y>
 -               <width>20</width>
 -               <height>16</height>
 -              </rect>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="text">
 -              <string>yaw</string>
 -             </property>
 -            </widget>
 -            <widget class="QLabel" name="lblRotY">
 -             <property name="geometry">
 -              <rect>
 -               <x>164</x>
 -               <y>55</y>
 -               <width>25</width>
 -               <height>16</height>
 -              </rect>
 -             </property>
 -             <property name="styleSheet">
 -              <string notr="true">color: rgb(0, 255, 0);</string>
 -             </property>
 -             <property name="text">
 -              <string>pitch</string>
 -             </property>
 -            </widget>
 -           </widget>
 -          </item>
 -         </layout>
 -        </item>
 -        <item row="5" column="0">
 -         <widget class="QWidget" name="headPoseWidget" native="true">
 +        <item>
 +         <widget class="QPushButton" name="btnEditCurves">
            <property name="minimumSize">
             <size>
 -            <width>0</width>
 -            <height>160</height>
 +            <width>54</width>
 +            <height>38</height>
             </size>
            </property>
            <property name="maximumSize">
             <size>
 -            <width>16777215</width>
 -            <height>160</height>
 +            <width>200</width>
 +            <height>16777215</height>
             </size>
            </property>
 +          <property name="cursor">
 +           <cursorShape>PointingHandCursor</cursorShape>
 +          </property>
 +          <property name="toolTip">
 +           <string>Edit the Curve settings</string>
 +          </property>
 +          <property name="layoutDirection">
 +           <enum>Qt::LeftToRight</enum>
 +          </property>
            <property name="styleSheet">
 -           <string notr="true"/>
 +           <string notr="true">background:none;</string>
 +          </property>
 +          <property name="text">
 +           <string>Curves</string>
            </property>
 -          <widget class="QGroupBox" name="groupBox">
 -           <property name="geometry">
 -            <rect>
 -             <x>10</x>
 -             <y>60</y>
 -             <width>231</width>
 -             <height>80</height>
 -            </rect>
 -           </property>
 -           <property name="title">
 -            <string>Raw Input</string>
 -           </property>
 -           <property name="flat">
 -            <bool>true</bool>
 -           </property>
 -           <widget class="QLCDNumber" name="lcdNumRotZ">
 -            <property name="geometry">
 -             <rect>
 -              <x>150</x>
 -              <y>60</y>
 -              <width>71</width>
 -              <height>21</height>
 -             </rect>
 -            </property>
 -            <property name="frameShape">
 -             <enum>QFrame::NoFrame</enum>
 -            </property>
 -            <property name="numDigits">
 -             <number>6</number>
 +          <property name="icon">
 +           <iconset resource="main-facetracknoir.qrc">
 +            <normaloff>:/uielements/curves.png</normaloff>:/uielements/curves.png</iconset>
 +          </property>
 +          <property name="iconSize">
 +           <size>
 +            <width>120</width>
 +            <height>24</height>
 +           </size>
 +          </property>
 +         </widget>
 +        </item>
 +       </layout>
 +      </item>
 +      <item row="1" column="0">
 +       <widget class="QGroupBox" name="groupBox_3">
 +        <property name="minimumSize">
 +         <size>
 +          <width>200</width>
 +          <height>80</height>
 +         </size>
 +        </property>
 +        <property name="maximumSize">
 +         <size>
 +          <width>200</width>
 +          <height>80</height>
 +         </size>
 +        </property>
 +        <property name="title">
 +         <string>Tracker Source (2nd)</string>
 +        </property>
 +        <widget class="QPushButton" name="btnShowSecondTrackerSettings">
 +         <property name="enabled">
 +          <bool>true</bool>
 +         </property>
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>50</y>
 +           <width>180</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Change tracker settings</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Settings</string>
 +         </property>
 +        </widget>
 +        <widget class="QComboBox" name="cbxSecondTrackerSource">
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>20</y>
 +           <width>180</width>
 +           <height>22</height>
 +          </rect>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="currentIndex">
 +          <number>-1</number>
 +         </property>
 +         <property name="maxVisibleItems">
 +          <number>5</number>
 +         </property>
 +        </widget>
 +       </widget>
 +      </item>
 +      <item row="1" column="1">
 +       <widget class="QGroupBox" name="groupStartStop">
 +        <property name="minimumSize">
 +         <size>
 +          <width>200</width>
 +          <height>80</height>
 +         </size>
 +        </property>
 +        <property name="maximumSize">
 +         <size>
 +          <width>16777215</width>
 +          <height>80</height>
 +         </size>
 +        </property>
 +        <property name="title">
 +         <string>GO!</string>
 +        </property>
 +        <widget class="QPushButton" name="btnStartTracker">
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>20</y>
 +           <width>81</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Start the Tracker</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Start</string>
 +         </property>
 +        </widget>
 +        <widget class="QPushButton" name="btnStopTracker">
 +         <property name="enabled">
 +          <bool>false</bool>
 +         </property>
 +         <property name="geometry">
 +          <rect>
 +           <x>100</x>
 +           <y>20</y>
 +           <width>81</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Stop the Tracker</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Stop</string>
 +         </property>
 +        </widget>
 +       </widget>
 +      </item>
 +      <item row="0" column="1">
 +       <widget class="QGroupBox" name="groupFilter">
 +        <property name="minimumSize">
 +         <size>
 +          <width>200</width>
 +          <height>70</height>
 +         </size>
 +        </property>
 +        <property name="maximumSize">
 +         <size>
 +          <width>200</width>
 +          <height>80</height>
 +         </size>
 +        </property>
 +        <property name="styleSheet">
 +         <string notr="true"/>
 +        </property>
 +        <property name="title">
 +         <string>Filter</string>
 +        </property>
 +        <widget class="QComboBox" name="iconcomboFilter">
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>20</y>
 +           <width>180</width>
 +           <height>22</height>
 +          </rect>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="currentIndex">
 +          <number>-1</number>
 +         </property>
 +         <property name="maxVisibleItems">
 +          <number>7</number>
 +         </property>
 +        </widget>
 +        <widget class="QPushButton" name="btnShowFilterControls">
 +         <property name="enabled">
 +          <bool>true</bool>
 +         </property>
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>50</y>
 +           <width>180</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Change game protocol settings</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Settings</string>
 +         </property>
 +        </widget>
 +       </widget>
 +      </item>
 +     </layout>
 +    </widget>
 +    <widget class="QLabel" name="cameraName">
 +     <property name="geometry">
 +      <rect>
 +       <x>20</x>
 +       <y>10</y>
 +       <width>400</width>
 +       <height>25</height>
 +      </rect>
 +     </property>
 +     <property name="minimumSize">
 +      <size>
 +       <width>400</width>
 +       <height>25</height>
 +      </size>
 +     </property>
 +     <property name="maximumSize">
 +      <size>
 +       <width>600</width>
 +       <height>30</height>
 +      </size>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color:#ccc;
 +background:none;</string>
 +     </property>
 +     <property name="text">
 +      <string>Camera Name</string>
 +     </property>
 +    </widget>
 +    <widget class="QWidget" name="">
 +     <property name="geometry">
 +      <rect>
 +       <x>10</x>
 +       <y>60</y>
 +       <width>698</width>
 +       <height>122</height>
 +      </rect>
 +     </property>
 +     <layout class="QHBoxLayout" name="horizontalLayout_3">
 +      <property name="leftMargin">
 +       <number>10</number>
 +      </property>
 +      <property name="rightMargin">
 +       <number>10</number>
 +      </property>
 +      <item>
 +       <widget class="QGroupBox" name="groupProfile">
 +        <property name="minimumSize">
 +         <size>
 +          <width>206</width>
 +          <height>120</height>
 +         </size>
 +        </property>
 +        <property name="maximumSize">
 +         <size>
 +          <width>210</width>
 +          <height>120</height>
 +         </size>
 +        </property>
 +        <property name="title">
 +         <string>Profile</string>
 +        </property>
 +        <widget class="QComboBox" name="iconcomboProfile">
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>20</y>
 +           <width>180</width>
 +           <height>22</height>
 +          </rect>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="currentIndex">
 +          <number>-1</number>
 +         </property>
 +         <property name="maxVisibleItems">
 +          <number>10</number>
 +         </property>
 +        </widget>
 +        <widget class="QPushButton" name="btnSaveAs">
 +         <property name="enabled">
 +          <bool>true</bool>
 +         </property>
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>80</y>
 +           <width>180</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Save the INI-file under another name</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Save As ...</string>
 +         </property>
 +        </widget>
 +        <widget class="QPushButton" name="btnLoad">
 +         <property name="geometry">
 +          <rect>
 +           <x>10</x>
 +           <y>50</y>
 +           <width>81</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Load an INI-file from a folder</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Load</string>
 +         </property>
 +        </widget>
 +        <widget class="QPushButton" name="btnSave">
 +         <property name="enabled">
 +          <bool>true</bool>
 +         </property>
 +         <property name="geometry">
 +          <rect>
 +           <x>110</x>
 +           <y>50</y>
 +           <width>81</width>
 +           <height>23</height>
 +          </rect>
 +         </property>
 +         <property name="toolTip">
 +          <string>Save the current INI-file</string>
 +         </property>
 +         <property name="styleSheet">
 +          <string notr="true"/>
 +         </property>
 +         <property name="text">
 +          <string>Save</string>
 +         </property>
 +        </widget>
 +       </widget>
 +      </item>
 +      <item>
 +       <widget class="QGroupBox" name="groupGlobalSettings">
 +        <property name="minimumSize">
 +         <size>
 +          <width>420</width>
 +          <height>120</height>
 +         </size>
 +        </property>
 +        <property name="maximumSize">
 +         <size>
 +          <width>16777215</width>
 +          <height>120</height>
 +         </size>
 +        </property>
 +        <property name="title">
 +         <string>Global Settings</string>
 +        </property>
 +        <widget class="QWidget" name="gridLayoutWidget">
 +         <property name="geometry">
 +          <rect>
 +           <x>9</x>
 +           <y>20</y>
 +           <width>171</width>
 +           <height>80</height>
 +          </rect>
 +         </property>
 +         <layout class="QGridLayout" name="gridLayout_3">
 +          <item row="0" column="0">
 +           <widget class="QLabel" name="lblSensYaw_4">
 +            <property name="minimumSize">
 +             <size>
 +              <width>25</width>
 +              <height>0</height>
 +             </size>
 +            </property>
 +            <property name="maximumSize">
 +             <size>
 +              <width>150</width>
 +              <height>16777215</height>
 +             </size>
 +            </property>
 +            <property name="styleSheet">
 +             <string notr="true">color:#ccc;
 +background:none;</string>
 +            </property>
 +            <property name="text">
 +             <string>Smoothing:</string>
              </property>
             </widget>
 -           <widget class="QLCDNumber" name="lcdNumRotX">
 -            <property name="geometry">
 -             <rect>
 -              <x>150</x>
 -              <y>20</y>
 -              <width>71</width>
 -              <height>21</height>
 -             </rect>
 +          </item>
 +          <item row="0" column="1">
 +           <widget class="QLabel" name="label">
 +            <property name="styleSheet">
 +             <string notr="true">color:#ccc;
 +background:none;</string>
              </property>
 -            <property name="frameShape">
 -             <enum>QFrame::NoFrame</enum>
 +            <property name="text">
 +             <string>(samples)</string>
              </property>
 -            <property name="numDigits">
 -             <number>6</number>
 +           </widget>
 +          </item>
 +          <item row="1" column="0">
 +           <widget class="QSlider" name="slideSmoothing">
 +            <property name="minimumSize">
 +             <size>
 +              <width>50</width>
 +              <height>15</height>
 +             </size>
 +            </property>
 +            <property name="minimum">
 +             <number>1</number>
 +            </property>
 +            <property name="maximum">
 +             <number>50</number>
 +            </property>
 +            <property name="pageStep">
 +             <number>5</number>
 +            </property>
 +            <property name="value">
 +             <number>10</number>
 +            </property>
 +            <property name="orientation">
 +             <enum>Qt::Horizontal</enum>
 +            </property>
 +            <property name="tickPosition">
 +             <enum>QSlider::NoTicks</enum>
              </property>
             </widget>
 -           <widget class="QLabel" name="label_4">
 -            <property name="geometry">
 -             <rect>
 -              <x>10</x>
 -              <y>20</y>
 -              <width>21</width>
 -              <height>16</height>
 -             </rect>
 +          </item>
 +          <item row="1" column="1">
 +           <widget class="QSpinBox" name="spinSmoothing">
 +            <property name="minimumSize">
 +             <size>
 +              <width>35</width>
 +              <height>22</height>
 +             </size>
              </property>
              <property name="styleSheet">
 -             <string notr="true">border:none;
 -color:white</string>
 +             <string notr="true">background:none;</string>
              </property>
 -            <property name="text">
 -             <string>X</string>
 +            <property name="minimum">
 +             <number>1</number>
 +            </property>
 +            <property name="maximum">
 +             <number>50</number>
 +            </property>
 +            <property name="value">
 +             <number>10</number>
              </property>
             </widget>
 -           <widget class="QLabel" name="label_5">
 -            <property name="geometry">
 -             <rect>
 -              <x>10</x>
 -              <y>40</y>
 -              <width>21</width>
 -              <height>16</height>
 -             </rect>
 +          </item>
 +         </layout>
 +        </widget>
 +        <widget class="QWidget" name="gridLayoutWidget_2">
 +         <property name="geometry">
 +          <rect>
 +           <x>190</x>
 +           <y>20</y>
 +           <width>211</width>
 +           <height>81</height>
 +          </rect>
 +         </property>
 +         <layout class="QGridLayout" name="gridLayout_4">
 +          <item row="3" column="0">
 +           <widget class="QLabel" name="lblSensRoll">
 +            <property name="minimumSize">
 +             <size>
 +              <width>25</width>
 +              <height>0</height>
 +             </size>
 +            </property>
 +            <property name="maximumSize">
 +             <size>
 +              <width>150</width>
 +              <height>16777215</height>
 +             </size>
 +            </property>
 +            <property name="layoutDirection">
 +             <enum>Qt::RightToLeft</enum>
              </property>
              <property name="styleSheet">
 -             <string notr="true">border:none;
 -color:white;</string>
 +             <string notr="true">color:#ccc;
 +background:none;</string>
              </property>
              <property name="text">
 -             <string>Y</string>
 +             <string>Roll</string>
              </property>
             </widget>
 -           <widget class="QLCDNumber" name="lcdNumZ">
 -            <property name="geometry">
 -             <rect>
 -              <x>30</x>
 -              <y>60</y>
 -              <width>61</width>
 -              <height>21</height>
 -             </rect>
 -            </property>
 -            <property name="frameShape">
 -             <enum>QFrame::NoFrame</enum>
 +          </item>
 +          <item row="3" column="1">
 +           <widget class="QCheckBox" name="chkInvertRoll">
 +            <property name="styleSheet">
 +             <string notr="true">background:none;</string>
 +            </property>
 +            <property name="text">
 +             <string/>
              </property>
             </widget>
 -           <widget class="QLabel" name="label_6">
 -            <property name="geometry">
 -             <rect>
 -              <x>10</x>
 -              <y>60</y>
 -              <width>21</width>
 -              <height>16</height>
 -             </rect>
 +          </item>
 +          <item row="3" column="2">
 +           <widget class="QLabel" name="lblSensZ">
 +            <property name="minimumSize">
 +             <size>
 +              <width>25</width>
 +              <height>0</height>
 +             </size>
 +            </property>
 +            <property name="maximumSize">
 +             <size>
 +              <width>150</width>
 +              <height>16777215</height>
 +             </size>
 +            </property>
 +            <property name="layoutDirection">
 +             <enum>Qt::RightToLeft</enum>
              </property>
              <property name="styleSheet">
 -             <string notr="true">color:white;
 -border:none;</string>
 +             <string notr="true">color:#ccc;
 +background:none;</string>
              </property>
              <property name="text">
               <string>Z</string>
              </property>
             </widget>
 -           <widget class="QLCDNumber" name="lcdNumY">
 -            <property name="geometry">
 -             <rect>
 -              <x>30</x>
 -              <y>40</y>
 -              <width>61</width>
 -              <height>21</height>
 -             </rect>
 -            </property>
 -            <property name="frameShape">
 -             <enum>QFrame::NoFrame</enum>
 +          </item>
 +          <item row="3" column="3">
 +           <widget class="QCheckBox" name="chkInvertZ">
 +            <property name="styleSheet">
 +             <string notr="true">background:none;</string>
 +            </property>
 +            <property name="text">
 +             <string/>
              </property>
             </widget>
 -           <widget class="QLabel" name="label_7">
 -            <property name="geometry">
 -             <rect>
 -              <x>108</x>
 -              <y>58</y>
 -              <width>31</width>
 -              <height>20</height>
 -             </rect>
 +          </item>
 +          <item row="2" column="0">
 +           <widget class="QLabel" name="lblSensPitch">
 +            <property name="minimumSize">
 +             <size>
 +              <width>25</width>
 +              <height>0</height>
 +             </size>
 +            </property>
 +            <property name="maximumSize">
 +             <size>
 +              <width>150</width>
 +              <height>16777215</height>
 +             </size>
 +            </property>
 +            <property name="layoutDirection">
 +             <enum>Qt::RightToLeft</enum>
              </property>
              <property name="styleSheet">
 -             <string notr="true">border:none;
 -color:white;</string>
 +             <string notr="true">color:#ccc;
 +background:none;</string>
 +            </property>
 +            <property name="text">
 +             <string>Pitch</string>
 +            </property>
 +           </widget>
 +          </item>
 +          <item row="2" column="1">
 +           <widget class="QCheckBox" name="chkInvertPitch">
 +            <property name="styleSheet">
 +             <string notr="true">background:none;</string>
              </property>
              <property name="text">
 -             <string>roll</string>
 +             <string/>
              </property>
             </widget>
 -           <widget class="QLabel" name="label_8">
 -            <property name="geometry">
 -             <rect>
 -              <x>109</x>
 -              <y>38</y>
 -              <width>31</width>
 -              <height>20</height>
 -             </rect>
 +          </item>
 +          <item row="2" column="2">
 +           <widget class="QLabel" name="lblSensY">
 +            <property name="minimumSize">
 +             <size>
 +              <width>25</width>
 +              <height>0</height>
 +             </size>
 +            </property>
 +            <property name="maximumSize">
 +             <size>
 +              <width>150</width>
 +              <height>16777215</height>
 +             </size>
 +            </property>
 +            <property name="layoutDirection">
 +             <enum>Qt::RightToLeft</enum>
              </property>
              <property name="styleSheet">
 -             <string notr="true">color:white;
 -border:none;</string>
 +             <string notr="true">color:#ccc;
 +background:none;</string>
 +            </property>
 +            <property name="text">
 +             <string>Y</string>
 +            </property>
 +           </widget>
 +          </item>
 +          <item row="2" column="3">
 +           <widget class="QCheckBox" name="chkInvertY">
 +            <property name="styleSheet">
 +             <string notr="true">background:none;</string>
              </property>
              <property name="text">
 -             <string>pitch</string>
 +             <string/>
              </property>
             </widget>
 -           <widget class="QLabel" name="label_9">
 -            <property name="geometry">
 -             <rect>
 -              <x>108</x>
 -              <y>18</y>
 -              <width>31</width>
 -              <height>20</height>
 -             </rect>
 +          </item>
 +          <item row="1" column="0">
 +           <widget class="QLabel" name="lblSensYaw">
 +            <property name="minimumSize">
 +             <size>
 +              <width>25</width>
 +              <height>0</height>
 +             </size>
 +            </property>
 +            <property name="maximumSize">
 +             <size>
 +              <width>150</width>
 +              <height>16777215</height>
 +             </size>
 +            </property>
 +            <property name="layoutDirection">
 +             <enum>Qt::RightToLeft</enum>
              </property>
              <property name="styleSheet">
 -             <string notr="true">border:none;
 -color:white;</string>
 +             <string notr="true">color:#ccc;
 +background:none;</string>
 +            </property>
 +            <property name="text">
 +             <string>Yaw</string>
 +            </property>
 +           </widget>
 +          </item>
 +          <item row="1" column="1">
 +           <widget class="QCheckBox" name="chkInvertYaw">
 +            <property name="styleSheet">
 +             <string notr="true">background:none;</string>
              </property>
              <property name="text">
 -             <string>yaw</string>
 +             <string/>
              </property>
             </widget>
 -           <widget class="QLCDNumber" name="lcdNumRotY">
 -            <property name="geometry">
 -             <rect>
 -              <x>150</x>
 -              <y>40</y>
 -              <width>71</width>
 -              <height>21</height>
 -             </rect>
 +          </item>
 +          <item row="1" column="2">
 +           <widget class="QLabel" name="lblSensX">
 +            <property name="minimumSize">
 +             <size>
 +              <width>25</width>
 +              <height>0</height>
 +             </size>
              </property>
 -            <property name="frameShape">
 -             <enum>QFrame::NoFrame</enum>
 +            <property name="maximumSize">
 +             <size>
 +              <width>150</width>
 +              <height>16777215</height>
 +             </size>
 +            </property>
 +            <property name="layoutDirection">
 +             <enum>Qt::RightToLeft</enum>
 +            </property>
 +            <property name="styleSheet">
 +             <string notr="true">color:#ccc;
 +background:none;</string>
              </property>
 -            <property name="numDigits">
 -             <number>6</number>
 +            <property name="text">
 +             <string>X</string>
              </property>
             </widget>
 -           <widget class="QLCDNumber" name="lcdNumX">
 -            <property name="geometry">
 -             <rect>
 -              <x>30</x>
 -              <y>20</y>
 -              <width>61</width>
 -              <height>21</height>
 -             </rect>
 -            </property>
 -            <property name="frameShape">
 -             <enum>QFrame::NoFrame</enum>
 -            </property>
 -            <property name="numDigits">
 -             <number>5</number>
 +          </item>
 +          <item row="1" column="3">
 +           <widget class="QCheckBox" name="chkInvertX">
 +            <property name="styleSheet">
 +             <string notr="true">background:none;</string>
 +            </property>
 +            <property name="text">
 +             <string/>
              </property>
             </widget>
 -          </widget>
 -          <widget class="QGroupBox" name="groupBox_2">
 -           <property name="geometry">
 -            <rect>
 -             <x>10</x>
 -             <y>10</y>
 -             <width>231</width>
 -             <height>50</height>
 -            </rect>
 -           </property>
 -           <property name="title">
 -            <string>Status</string>
 -           </property>
 -           <property name="flat">
 -            <bool>true</bool>
 -           </property>
 -           <widget class="QLabel" name="txtTracking">
 -            <property name="geometry">
 -             <rect>
 -              <x>110</x>
 -              <y>10</y>
 -              <width>101</width>
 -              <height>16</height>
 -             </rect>
 +          </item>
 +          <item row="0" column="1">
 +           <widget class="QLabel" name="lblInvert1_3">
 +            <property name="minimumSize">
 +             <size>
 +              <width>0</width>
 +              <height>0</height>
 +             </size>
 +            </property>
 +            <property name="maximumSize">
 +             <size>
 +              <width>30</width>
 +              <height>16777215</height>
 +             </size>
              </property>
              <property name="styleSheet">
 -             <string notr="true">border:none;
 -color: rgb(0, 255, 0);</string>
 +             <string notr="true">color:#ccc;
 +background:none;</string>
              </property>
              <property name="text">
 -             <string>Tracking</string>
 +             <string>Invert</string>
              </property>
             </widget>
 -           <widget class="QLabel" name="txtAxisReverse">
 -            <property name="geometry">
 -             <rect>
 -              <x>110</x>
 -              <y>30</y>
 -              <width>101</width>
 -              <height>16</height>
 -             </rect>
 +          </item>
 +          <item row="0" column="3">
 +           <widget class="QLabel" name="lblInvert1_2">
 +            <property name="minimumSize">
 +             <size>
 +              <width>0</width>
 +              <height>0</height>
 +             </size>
 +            </property>
 +            <property name="maximumSize">
 +             <size>
 +              <width>30</width>
 +              <height>16777215</height>
 +             </size>
              </property>
              <property name="styleSheet">
 -             <string notr="true">border:none;
 -color: rgb(0, 255, 0);</string>
 +             <string notr="true">color:#ccc;
 +background:none;</string>
              </property>
              <property name="text">
 -             <string>Axis Reverse</string>
 +             <string>Invert</string>
              </property>
             </widget>
 -          </widget>
 -         </widget>
 -        </item>
 -       </layout>
 +          </item>
 +         </layout>
 +        </widget>
 +       </widget>
        </item>
        <item>
 -       <widget class="QWidget" name="widget" native="true">
 -        <property name="enabled">
 -         <bool>true</bool>
 -        </property>
 -        <property name="sizePolicy">
 -         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
 -          <horstretch>0</horstretch>
 -          <verstretch>0</verstretch>
 -         </sizepolicy>
 +       <spacer name="horizontalSpacer_4">
 +        <property name="orientation">
 +         <enum>Qt::Horizontal</enum>
          </property>
 -        <property name="minimumSize">
 +        <property name="sizeHint" stdset="0">
           <size>
 -          <width>400</width>
 -          <height>300</height>
 +          <width>40</width>
 +          <height>20</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>89</red>
 -              <green>89</green>
 -              <blue>89</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="ButtonText">
 -            <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>89</red>
 -              <green>89</green>
 -              <blue>89</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="Window">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>89</red>
 -              <green>89</green>
 -              <blue>89</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="Highlight">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>192</red>
 -              <green>192</green>
 -              <blue>192</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="HighlightedText">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>0</red>
 -              <green>0</green>
 -              <blue>0</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="AlternateBase">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>72</red>
 -              <green>72</green>
 -              <blue>72</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>89</red>
 -              <green>89</green>
 -              <blue>89</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="ButtonText">
 -            <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>89</red>
 -              <green>89</green>
 -              <blue>89</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="Window">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>89</red>
 -              <green>89</green>
 -              <blue>89</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="Highlight">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>192</red>
 -              <green>192</green>
 -              <blue>192</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="HighlightedText">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>0</red>
 -              <green>0</green>
 -              <blue>0</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="AlternateBase">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>72</red>
 -              <green>72</green>
 -              <blue>72</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -          </inactive>
 -          <disabled>
 -           <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>89</red>
 -              <green>89</green>
 -              <blue>89</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="ButtonText">
 -            <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>89</red>
 -              <green>89</green>
 -              <blue>89</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="Window">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>89</red>
 -              <green>89</green>
 -              <blue>89</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="Highlight">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>192</red>
 -              <green>192</green>
 -              <blue>192</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="HighlightedText">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>0</red>
 -              <green>0</green>
 -              <blue>0</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -           <colorrole role="AlternateBase">
 -            <brush brushstyle="SolidPattern">
 -             <color alpha="255">
 -              <red>72</red>
 -              <green>72</green>
 -              <blue>72</blue>
 -             </color>
 -            </brush>
 -           </colorrole>
 -          </disabled>
 -         </palette>
 -        </property>
 -        <property name="autoFillBackground">
 -         <bool>false</bool>
 -        </property>
 -        <property name="styleSheet">
 -         <string notr="true"/>
 -        </property>
 -        <property name="locale">
 -         <locale language="English" country="UnitedStates"/>
 -        </property>
 -        <layout class="QVBoxLayout" name="verticalLayout_4">
 -         <item>
 -          <layout class="QGridLayout" name="gridLayout_2">
 -           <item row="2" column="0">
 -            <layout class="QHBoxLayout" name="horizontalLayout_3">
 -             <property name="leftMargin">
 -              <number>10</number>
 -             </property>
 -             <property name="rightMargin">
 -              <number>10</number>
 -             </property>
 -             <item>
 -              <widget class="QGroupBox" name="groupProfile">
 -               <property name="minimumSize">
 -                <size>
 -                 <width>206</width>
 -                 <height>120</height>
 -                </size>
 -               </property>
 -               <property name="maximumSize">
 -                <size>
 -                 <width>210</width>
 -                 <height>120</height>
 -                </size>
 -               </property>
 -               <property name="title">
 -                <string>Profile</string>
 -               </property>
 -               <widget class="QComboBox" name="iconcomboProfile">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>20</y>
 -                  <width>180</width>
 -                  <height>22</height>
 -                 </rect>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="currentIndex">
 -                 <number>-1</number>
 -                </property>
 -                <property name="maxVisibleItems">
 -                 <number>10</number>
 -                </property>
 -               </widget>
 -               <widget class="QPushButton" name="btnSaveAs">
 -                <property name="enabled">
 -                 <bool>true</bool>
 -                </property>
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>80</y>
 -                  <width>180</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Save the INI-file under another name</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Save As ...</string>
 -                </property>
 -               </widget>
 -               <widget class="QPushButton" name="btnLoad">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>50</y>
 -                  <width>81</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Load an INI-file from a folder</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Load</string>
 -                </property>
 -               </widget>
 -               <widget class="QPushButton" name="btnSave">
 -                <property name="enabled">
 -                 <bool>true</bool>
 -                </property>
 -                <property name="geometry">
 -                 <rect>
 -                  <x>110</x>
 -                  <y>50</y>
 -                  <width>81</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Save the current INI-file</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Save</string>
 -                </property>
 -               </widget>
 -              </widget>
 -             </item>
 -             <item>
 -              <widget class="QGroupBox" name="groupGlobalSettings">
 -               <property name="minimumSize">
 -                <size>
 -                 <width>420</width>
 -                 <height>120</height>
 -                </size>
 -               </property>
 -               <property name="maximumSize">
 -                <size>
 -                 <width>16777215</width>
 -                 <height>120</height>
 -                </size>
 -               </property>
 -               <property name="title">
 -                <string>Global Settings</string>
 -               </property>
 -               <widget class="QWidget" name="gridLayoutWidget">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>9</x>
 -                  <y>20</y>
 -                  <width>171</width>
 -                  <height>80</height>
 -                 </rect>
 -                </property>
 -                <layout class="QGridLayout" name="gridLayout_3">
 -                 <item row="0" column="0">
 -                  <widget class="QLabel" name="lblSensYaw_4">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>25</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>150</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>Smoothing:</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="0" column="1">
 -                  <widget class="QLabel" name="label">
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>(samples)</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="1" column="0">
 -                  <widget class="QSlider" name="slideSmoothing">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>50</width>
 -                     <height>15</height>
 -                    </size>
 -                   </property>
 -                   <property name="minimum">
 -                    <number>1</number>
 -                   </property>
 -                   <property name="maximum">
 -                    <number>50</number>
 -                   </property>
 -                   <property name="pageStep">
 -                    <number>5</number>
 -                   </property>
 -                   <property name="value">
 -                    <number>10</number>
 -                   </property>
 -                   <property name="orientation">
 -                    <enum>Qt::Horizontal</enum>
 -                   </property>
 -                   <property name="tickPosition">
 -                    <enum>QSlider::NoTicks</enum>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="1" column="1">
 -                  <widget class="QSpinBox" name="spinSmoothing">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>35</width>
 -                     <height>22</height>
 -                    </size>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">background:none;</string>
 -                   </property>
 -                   <property name="minimum">
 -                    <number>1</number>
 -                   </property>
 -                   <property name="maximum">
 -                    <number>50</number>
 -                   </property>
 -                   <property name="value">
 -                    <number>10</number>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                </layout>
 -               </widget>
 -               <widget class="QWidget" name="gridLayoutWidget_2">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>190</x>
 -                  <y>20</y>
 -                  <width>211</width>
 -                  <height>81</height>
 -                 </rect>
 -                </property>
 -                <layout class="QGridLayout" name="gridLayout_4">
 -                 <item row="3" column="0">
 -                  <widget class="QLabel" name="lblSensRoll">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>25</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>150</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="layoutDirection">
 -                    <enum>Qt::RightToLeft</enum>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>Roll</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="3" column="1">
 -                  <widget class="QCheckBox" name="chkInvertRoll">
 -                   <property name="styleSheet">
 -                    <string notr="true">background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string/>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="3" column="2">
 -                  <widget class="QLabel" name="lblSensZ">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>25</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>150</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="layoutDirection">
 -                    <enum>Qt::RightToLeft</enum>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>Z</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="3" column="3">
 -                  <widget class="QCheckBox" name="chkInvertZ">
 -                   <property name="styleSheet">
 -                    <string notr="true">background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string/>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="2" column="0">
 -                  <widget class="QLabel" name="lblSensPitch">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>25</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>150</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="layoutDirection">
 -                    <enum>Qt::RightToLeft</enum>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>Pitch</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="2" column="1">
 -                  <widget class="QCheckBox" name="chkInvertPitch">
 -                   <property name="styleSheet">
 -                    <string notr="true">background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string/>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="2" column="2">
 -                  <widget class="QLabel" name="lblSensY">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>25</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>150</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="layoutDirection">
 -                    <enum>Qt::RightToLeft</enum>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>Y</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="2" column="3">
 -                  <widget class="QCheckBox" name="chkInvertY">
 -                   <property name="styleSheet">
 -                    <string notr="true">background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string/>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="1" column="0">
 -                  <widget class="QLabel" name="lblSensYaw">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>25</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>150</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="layoutDirection">
 -                    <enum>Qt::RightToLeft</enum>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>Yaw</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="1" column="1">
 -                  <widget class="QCheckBox" name="chkInvertYaw">
 -                   <property name="styleSheet">
 -                    <string notr="true">background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string/>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="1" column="2">
 -                  <widget class="QLabel" name="lblSensX">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>25</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>150</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="layoutDirection">
 -                    <enum>Qt::RightToLeft</enum>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>X</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="1" column="3">
 -                  <widget class="QCheckBox" name="chkInvertX">
 -                   <property name="styleSheet">
 -                    <string notr="true">background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string/>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="0" column="1">
 -                  <widget class="QLabel" name="lblInvert1_3">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>0</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>30</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>Invert</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                 <item row="0" column="3">
 -                  <widget class="QLabel" name="lblInvert1_2">
 -                   <property name="minimumSize">
 -                    <size>
 -                     <width>0</width>
 -                     <height>0</height>
 -                    </size>
 -                   </property>
 -                   <property name="maximumSize">
 -                    <size>
 -                     <width>30</width>
 -                     <height>16777215</height>
 -                    </size>
 -                   </property>
 -                   <property name="styleSheet">
 -                    <string notr="true">color:#ccc;
 -background:none;</string>
 -                   </property>
 -                   <property name="text">
 -                    <string>Invert</string>
 -                   </property>
 -                  </widget>
 -                 </item>
 -                </layout>
 -               </widget>
 -              </widget>
 -             </item>
 -             <item>
 -              <spacer name="horizontalSpacer_4">
 -               <property name="orientation">
 -                <enum>Qt::Horizontal</enum>
 -               </property>
 -               <property name="sizeHint" stdset="0">
 -                <size>
 -                 <width>40</width>
 -                 <height>20</height>
 -                </size>
 -               </property>
 -              </spacer>
 -             </item>
 -            </layout>
 -           </item>
 -           <item row="0" column="0">
 -            <layout class="QHBoxLayout" name="horizontalLayout_4">
 -             <item>
 -              <widget class="QWidget" name="bubbleSmallWidget_2" native="true">
 -               <property name="minimumSize">
 -                <size>
 -                 <width>500</width>
 -                 <height>67</height>
 -                </size>
 -               </property>
 -               <property name="maximumSize">
 -                <size>
 -                 <width>700</width>
 -                 <height>67</height>
 -                </size>
 -               </property>
 -               <property name="acceptDrops">
 -                <bool>true</bool>
 -               </property>
 -               <property name="styleSheet">
 -                <string notr="true">background:  url("UIElements/bubble_1_small.png") no-repeat;
 -opacity:100;</string>
 -               </property>
 -               <layout class="QVBoxLayout" name="verticalLayout_6">
 -                <property name="spacing">
 -                 <number>0</number>
 -                </property>
 -                <property name="leftMargin">
 -                 <number>15</number>
 -                </property>
 -                <property name="topMargin">
 -                 <number>10</number>
 -                </property>
 -                <property name="rightMargin">
 -                 <number>10</number>
 -                </property>
 -                <property name="bottomMargin">
 -                 <number>10</number>
 -                </property>
 -                <item>
 -                 <layout class="QHBoxLayout" name="horizontalLayout_5">
 -                  <item>
 -                   <layout class="QVBoxLayout" name="verticalLayout">
 -                    <item>
 -                     <widget class="QLabel" name="cameraName">
 -                      <property name="minimumSize">
 -                       <size>
 -                        <width>400</width>
 -                        <height>25</height>
 -                       </size>
 -                      </property>
 -                      <property name="maximumSize">
 -                       <size>
 -                        <width>600</width>
 -                        <height>30</height>
 -                       </size>
 -                      </property>
 -                      <property name="styleSheet">
 -                       <string notr="true">color:#ccc;
 -background:none;</string>
 -                      </property>
 -                      <property name="text">
 -                       <string>Camera Name</string>
 -                      </property>
 -                     </widget>
 -                    </item>
 -                    <item>
 -                     <widget class="QLabel" name="gameName">
 -                      <property name="minimumSize">
 -                       <size>
 -                        <width>400</width>
 -                        <height>20</height>
 -                       </size>
 -                      </property>
 -                      <property name="maximumSize">
 -                       <size>
 -                        <width>600</width>
 -                        <height>30</height>
 -                       </size>
 -                      </property>
 -                      <property name="styleSheet">
 -                       <string notr="true">color:#ccc;
 -background:none;</string>
 -                      </property>
 -                      <property name="text">
 -                       <string>Game Name</string>
 -                      </property>
 -                     </widget>
 -                    </item>
 -                   </layout>
 -                  </item>
 -                 </layout>
 -                </item>
 -               </layout>
 -              </widget>
 -             </item>
 -            </layout>
 -           </item>
 -           <item row="4" column="0">
 -            <layout class="QGridLayout" name="gridLayout_5">
 -             <property name="leftMargin">
 -              <number>10</number>
 -             </property>
 -             <property name="verticalSpacing">
 -              <number>6</number>
 -             </property>
 -             <item row="0" column="0">
 -              <widget class="QGroupBox" name="groupTrackerSource">
 -               <property name="minimumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="maximumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="styleSheet">
 -                <string notr="true"/>
 -               </property>
 -               <property name="title">
 -                <string>Tracker Source(1st = Master)</string>
 -               </property>
 -               <widget class="QComboBox" name="iconcomboTrackerSource">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>20</y>
 -                  <width>180</width>
 -                  <height>22</height>
 -                 </rect>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="currentIndex">
 -                 <number>-1</number>
 -                </property>
 -                <property name="maxVisibleItems">
 -                 <number>5</number>
 -                </property>
 -               </widget>
 -               <widget class="QPushButton" name="btnShowEngineControls">
 -                <property name="enabled">
 -                 <bool>true</bool>
 -                </property>
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>50</y>
 -                  <width>180</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Change tracker settings</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Settings</string>
 -                </property>
 -               </widget>
 -              </widget>
 -             </item>
 -             <item row="0" column="1">
 -              <widget class="QGroupBox" name="groupFilter">
 -               <property name="minimumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>70</height>
 -                </size>
 -               </property>
 -               <property name="maximumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="styleSheet">
 -                <string notr="true"/>
 -               </property>
 -               <property name="title">
 -                <string>Filter</string>
 -               </property>
 -               <widget class="QComboBox" name="iconcomboFilter">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>20</y>
 -                  <width>180</width>
 -                  <height>22</height>
 -                 </rect>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="currentIndex">
 -                 <number>-1</number>
 -                </property>
 -                <property name="maxVisibleItems">
 -                 <number>7</number>
 -                </property>
 -               </widget>
 -               <widget class="QPushButton" name="btnShowFilterControls">
 -                <property name="enabled">
 -                 <bool>true</bool>
 -                </property>
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>50</y>
 -                  <width>180</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Change game protocol settings</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Settings</string>
 -                </property>
 -               </widget>
 -              </widget>
 -             </item>
 -             <item row="0" column="2">
 -              <widget class="QGroupBox" name="groupGameProtocol">
 -               <property name="minimumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="maximumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="styleSheet">
 -                <string notr="true"/>
 -               </property>
 -               <property name="title">
 -                <string>Game protocol</string>
 -               </property>
 -               <widget class="QComboBox" name="iconcomboProtocol">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>20</y>
 -                  <width>180</width>
 -                  <height>22</height>
 -                 </rect>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="currentIndex">
 -                 <number>-1</number>
 -                </property>
 -                <property name="maxVisibleItems">
 -                 <number>7</number>
 -                </property>
 -               </widget>
 -               <widget class="QPushButton" name="btnShowServerControls">
 -                <property name="enabled">
 -                 <bool>true</bool>
 -                </property>
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>50</y>
 -                  <width>180</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Change game protocol settings</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Settings</string>
 -                </property>
 -               </widget>
 -              </widget>
 -             </item>
 -             <item row="1" column="1">
 -              <widget class="QGroupBox" name="groupStartStop">
 -               <property name="minimumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="maximumSize">
 -                <size>
 -                 <width>16777215</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="title">
 -                <string>GO!</string>
 -               </property>
 -               <widget class="QPushButton" name="btnStartTracker">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>20</y>
 -                  <width>81</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Start the Tracker</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Start</string>
 -                </property>
 -               </widget>
 -               <widget class="QPushButton" name="btnStopTracker">
 -                <property name="enabled">
 -                 <bool>false</bool>
 -                </property>
 -                <property name="geometry">
 -                 <rect>
 -                  <x>100</x>
 -                  <y>20</y>
 -                  <width>81</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Stop the Tracker</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Stop</string>
 -                </property>
 -               </widget>
 -              </widget>
 -             </item>
 -             <item row="1" column="0">
 -              <widget class="QGroupBox" name="groupBox_3">
 -               <property name="minimumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="maximumSize">
 -                <size>
 -                 <width>200</width>
 -                 <height>80</height>
 -                </size>
 -               </property>
 -               <property name="title">
 -                <string>Tracker Source (2nd)</string>
 -               </property>
 -               <widget class="QPushButton" name="btnShowSecondTrackerSettings">
 -                <property name="enabled">
 -                 <bool>true</bool>
 -                </property>
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>50</y>
 -                  <width>180</width>
 -                  <height>23</height>
 -                 </rect>
 -                </property>
 -                <property name="toolTip">
 -                 <string>Change tracker settings</string>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="text">
 -                 <string>Settings</string>
 -                </property>
 -               </widget>
 -               <widget class="QComboBox" name="cbxSecondTrackerSource">
 -                <property name="geometry">
 -                 <rect>
 -                  <x>10</x>
 -                  <y>20</y>
 -                  <width>180</width>
 -                  <height>22</height>
 -                 </rect>
 -                </property>
 -                <property name="styleSheet">
 -                 <string notr="true"/>
 -                </property>
 -                <property name="currentIndex">
 -                 <number>-1</number>
 -                </property>
 -                <property name="maxVisibleItems">
 -                 <number>5</number>
 -                </property>
 -               </widget>
 -              </widget>
 -             </item>
 -             <item row="0" column="3">
 -              <spacer name="horizontalSpacer_2">
 -               <property name="orientation">
 -                <enum>Qt::Horizontal</enum>
 -               </property>
 -               <property name="sizeHint" stdset="0">
 -                <size>
 -                 <width>40</width>
 -                 <height>20</height>
 -                </size>
 -               </property>
 -              </spacer>
 -             </item>
 -             <item row="1" column="2">
 -              <layout class="QVBoxLayout" name="verticalLayout_3">
 -               <item>
 -                <widget class="QPushButton" name="btnShortcuts">
 -                 <property name="minimumSize">
 -                  <size>
 -                   <width>52</width>
 -                   <height>38</height>
 -                  </size>
 -                 </property>
 -                 <property name="maximumSize">
 -                  <size>
 -                   <width>200</width>
 -                   <height>16777215</height>
 -                  </size>
 -                 </property>
 -                 <property name="cursor">
 -                  <cursorShape>PointingHandCursor</cursorShape>
 -                 </property>
 -                 <property name="toolTip">
 -                  <string>Edit the Keyboard and mouse shortcuts</string>
 -                 </property>
 -                 <property name="text">
 -                  <string>Shortkeys</string>
 -                 </property>
 -                 <property name="icon">
 -                  <iconset resource="FaceTrackNoIR.qrc">
 -                   <normaloff>:/UIElements/Tools.png</normaloff>:/UIElements/Tools.png</iconset>
 -                 </property>
 -                 <property name="iconSize">
 -                  <size>
 -                   <width>24</width>
 -                   <height>24</height>
 -                  </size>
 -                 </property>
 -                </widget>
 -               </item>
 -               <item>
 -                <widget class="QPushButton" name="btnEditCurves">
 -                 <property name="minimumSize">
 -                  <size>
 -                   <width>52</width>
 -                   <height>38</height>
 -                  </size>
 -                 </property>
 -                 <property name="maximumSize">
 -                  <size>
 -                   <width>200</width>
 -                   <height>16777215</height>
 -                  </size>
 -                 </property>
 -                 <property name="cursor">
 -                  <cursorShape>PointingHandCursor</cursorShape>
 -                 </property>
 -                 <property name="toolTip">
 -                  <string>Edit the Curve settings</string>
 -                 </property>
 -                 <property name="layoutDirection">
 -                  <enum>Qt::LeftToRight</enum>
 -                 </property>
 -                 <property name="styleSheet">
 -                  <string notr="true">background:none;</string>
 -                 </property>
 -                 <property name="text">
 -                  <string>Curves</string>
 -                 </property>
 -                 <property name="icon">
 -                  <iconset resource="FaceTrackNoIR.qrc">
 -                   <normaloff>:/UIElements/Curves.png</normaloff>:/UIElements/Curves.png</iconset>
 -                 </property>
 -                 <property name="iconSize">
 -                  <size>
 -                   <width>120</width>
 -                   <height>24</height>
 -                  </size>
 -                 </property>
 -                </widget>
 -               </item>
 -              </layout>
 -             </item>
 -            </layout>
 -           </item>
 -          </layout>
 -         </item>
 -        </layout>
 -       </widget>
 +       </spacer>
        </item>
       </layout>
 -    </item>
 -   </layout>
 +    </widget>
 +   </widget>
 +   <widget class="QFrame" name="video_frame">
 +    <property name="geometry">
 +     <rect>
 +      <x>0</x>
 +      <y>93</y>
 +      <width>250</width>
 +      <height>187</height>
 +     </rect>
 +    </property>
 +    <property name="sizePolicy">
 +     <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
 +      <horstretch>0</horstretch>
 +      <verstretch>0</verstretch>
 +     </sizepolicy>
 +    </property>
 +    <property name="minimumSize">
 +     <size>
 +      <width>250</width>
 +      <height>187</height>
 +     </size>
 +    </property>
 +    <property name="maximumSize">
 +     <size>
 +      <width>250</width>
 +      <height>187</height>
 +     </size>
 +    </property>
 +    <property name="frameShape">
 +     <enum>QFrame::NoFrame</enum>
 +    </property>
 +    <property name="frameShadow">
 +     <enum>QFrame::Sunken</enum>
 +    </property>
 +    <widget class="QWidget" name="widget4video" native="true">
 +     <property name="geometry">
 +      <rect>
 +       <x>0</x>
 +       <y>0</y>
 +       <width>250</width>
 +       <height>187</height>
 +      </rect>
 +     </property>
 +     <property name="sizePolicy">
 +      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 +       <horstretch>0</horstretch>
 +       <verstretch>0</verstretch>
 +      </sizepolicy>
 +     </property>
 +     <property name="minimumSize">
 +      <size>
 +       <width>250</width>
 +       <height>187</height>
 +      </size>
 +     </property>
 +     <property name="maximumSize">
 +      <size>
 +       <width>250</width>
 +       <height>187</height>
 +      </size>
 +     </property>
 +    </widget>
 +   </widget>
 +   <widget class="QWidget" name="headPoseWidget" native="true">
 +    <property name="geometry">
 +     <rect>
 +      <x>0</x>
 +      <y>280</y>
 +      <width>261</width>
 +      <height>141</height>
 +     </rect>
 +    </property>
 +    <property name="minimumSize">
 +     <size>
 +      <width>0</width>
 +      <height>100</height>
 +     </size>
 +    </property>
 +    <property name="maximumSize">
 +     <size>
 +      <width>16777215</width>
 +      <height>160</height>
 +     </size>
 +    </property>
 +    <property name="styleSheet">
 +     <string notr="true"/>
 +    </property>
 +    <widget class="QGroupBox" name="groupBox">
 +     <property name="geometry">
 +      <rect>
 +       <x>10</x>
 +       <y>50</y>
 +       <width>231</width>
 +       <height>169</height>
 +      </rect>
 +     </property>
 +     <property name="sizePolicy">
 +      <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
 +       <horstretch>0</horstretch>
 +       <verstretch>0</verstretch>
 +      </sizepolicy>
 +     </property>
 +     <property name="minimumSize">
 +      <size>
 +       <width>0</width>
 +       <height>0</height>
 +      </size>
 +     </property>
 +     <property name="title">
 +      <string>Raw Input</string>
 +     </property>
 +     <property name="flat">
 +      <bool>true</bool>
 +     </property>
 +     <widget class="QLCDNumber" name="lcdNumRotZ">
 +      <property name="geometry">
 +       <rect>
 +        <x>150</x>
 +        <y>60</y>
 +        <width>71</width>
 +        <height>21</height>
 +       </rect>
 +      </property>
 +      <property name="frameShape">
 +       <enum>QFrame::NoFrame</enum>
 +      </property>
 +      <property name="numDigits">
 +       <number>6</number>
 +      </property>
 +     </widget>
 +     <widget class="QLCDNumber" name="lcdNumRotX">
 +      <property name="geometry">
 +       <rect>
 +        <x>150</x>
 +        <y>20</y>
 +        <width>71</width>
 +        <height>21</height>
 +       </rect>
 +      </property>
 +      <property name="frameShape">
 +       <enum>QFrame::NoFrame</enum>
 +      </property>
 +      <property name="numDigits">
 +       <number>6</number>
 +      </property>
 +     </widget>
 +     <widget class="QLabel" name="label_4">
 +      <property name="geometry">
 +       <rect>
 +        <x>10</x>
 +        <y>20</y>
 +        <width>21</width>
 +        <height>16</height>
 +       </rect>
 +      </property>
 +      <property name="styleSheet">
 +       <string notr="true">border:none;
 +color:white</string>
 +      </property>
 +      <property name="text">
 +       <string>X</string>
 +      </property>
 +     </widget>
 +     <widget class="QLabel" name="label_5">
 +      <property name="geometry">
 +       <rect>
 +        <x>10</x>
 +        <y>40</y>
 +        <width>21</width>
 +        <height>16</height>
 +       </rect>
 +      </property>
 +      <property name="styleSheet">
 +       <string notr="true">border:none;
 +color:white;</string>
 +      </property>
 +      <property name="text">
 +       <string>Y</string>
 +      </property>
 +     </widget>
 +     <widget class="QLCDNumber" name="lcdNumZ">
 +      <property name="geometry">
 +       <rect>
 +        <x>30</x>
 +        <y>60</y>
 +        <width>61</width>
 +        <height>21</height>
 +       </rect>
 +      </property>
 +      <property name="frameShape">
 +       <enum>QFrame::NoFrame</enum>
 +      </property>
 +     </widget>
 +     <widget class="QLabel" name="label_6">
 +      <property name="geometry">
 +       <rect>
 +        <x>10</x>
 +        <y>60</y>
 +        <width>21</width>
 +        <height>16</height>
 +       </rect>
 +      </property>
 +      <property name="styleSheet">
 +       <string notr="true">color:white;
 +border:none;</string>
 +      </property>
 +      <property name="text">
 +       <string>Z</string>
 +      </property>
 +     </widget>
 +     <widget class="QLCDNumber" name="lcdNumY">
 +      <property name="geometry">
 +       <rect>
 +        <x>30</x>
 +        <y>40</y>
 +        <width>61</width>
 +        <height>21</height>
 +       </rect>
 +      </property>
 +      <property name="frameShape">
 +       <enum>QFrame::NoFrame</enum>
 +      </property>
 +     </widget>
 +     <widget class="QLabel" name="label_7">
 +      <property name="geometry">
 +       <rect>
 +        <x>108</x>
 +        <y>58</y>
 +        <width>31</width>
 +        <height>20</height>
 +       </rect>
 +      </property>
 +      <property name="styleSheet">
 +       <string notr="true">border:none;
 +color:white;</string>
 +      </property>
 +      <property name="text">
 +       <string>roll</string>
 +      </property>
 +     </widget>
 +     <widget class="QLabel" name="label_8">
 +      <property name="geometry">
 +       <rect>
 +        <x>109</x>
 +        <y>38</y>
 +        <width>31</width>
 +        <height>20</height>
 +       </rect>
 +      </property>
 +      <property name="styleSheet">
 +       <string notr="true">color:white;
 +border:none;</string>
 +      </property>
 +      <property name="text">
 +       <string>pitch</string>
 +      </property>
 +     </widget>
 +     <widget class="QLabel" name="label_9">
 +      <property name="geometry">
 +       <rect>
 +        <x>108</x>
 +        <y>18</y>
 +        <width>31</width>
 +        <height>20</height>
 +       </rect>
 +      </property>
 +      <property name="styleSheet">
 +       <string notr="true">border:none;
 +color:white;</string>
 +      </property>
 +      <property name="text">
 +       <string>yaw</string>
 +      </property>
 +     </widget>
 +     <widget class="QLCDNumber" name="lcdNumRotY">
 +      <property name="geometry">
 +       <rect>
 +        <x>150</x>
 +        <y>40</y>
 +        <width>71</width>
 +        <height>21</height>
 +       </rect>
 +      </property>
 +      <property name="frameShape">
 +       <enum>QFrame::NoFrame</enum>
 +      </property>
 +      <property name="numDigits">
 +       <number>6</number>
 +      </property>
 +     </widget>
 +     <widget class="QLCDNumber" name="lcdNumX">
 +      <property name="geometry">
 +       <rect>
 +        <x>30</x>
 +        <y>20</y>
 +        <width>61</width>
 +        <height>21</height>
 +       </rect>
 +      </property>
 +      <property name="frameShape">
 +       <enum>QFrame::NoFrame</enum>
 +      </property>
 +      <property name="numDigits">
 +       <number>5</number>
 +      </property>
 +     </widget>
 +    </widget>
 +    <widget class="QGroupBox" name="groupBox_2">
 +     <property name="geometry">
 +      <rect>
 +       <x>10</x>
 +       <y>0</y>
 +       <width>231</width>
 +       <height>50</height>
 +      </rect>
 +     </property>
 +     <property name="title">
 +      <string>Status</string>
 +     </property>
 +     <property name="flat">
 +      <bool>true</bool>
 +     </property>
 +     <widget class="QLabel" name="txtTracking">
 +      <property name="geometry">
 +       <rect>
 +        <x>110</x>
 +        <y>10</y>
 +        <width>101</width>
 +        <height>16</height>
 +       </rect>
 +      </property>
 +      <property name="styleSheet">
 +       <string notr="true">border:none;
 +color: rgb(0, 255, 0);</string>
 +      </property>
 +      <property name="text">
 +       <string>Tracking</string>
 +      </property>
 +     </widget>
 +     <widget class="QLabel" name="txtAxisReverse">
 +      <property name="geometry">
 +       <rect>
 +        <x>110</x>
 +        <y>30</y>
 +        <width>101</width>
 +        <height>16</height>
 +       </rect>
 +      </property>
 +      <property name="styleSheet">
 +       <string notr="true">border:none;
 +color: rgb(0, 255, 0);</string>
 +      </property>
 +      <property name="text">
 +       <string>Axis Reverse</string>
 +      </property>
 +     </widget>
 +    </widget>
 +   </widget>
 +   <widget class="QWidget" name="widget4logo" native="true">
 +    <property name="geometry">
 +     <rect>
 +      <x>1</x>
 +      <y>0</y>
 +      <width>250</width>
 +      <height>90</height>
 +     </rect>
 +    </property>
 +    <property name="minimumSize">
 +     <size>
 +      <width>250</width>
 +      <height>90</height>
 +     </size>
 +    </property>
 +    <property name="maximumSize">
 +     <size>
 +      <width>16777215</width>
 +      <height>90</height>
 +     </size>
 +    </property>
 +    <widget class="QPushButton" name="btnDonate">
 +     <property name="geometry">
 +      <rect>
 +       <x>100</x>
 +       <y>1</y>
 +       <width>145</width>
 +       <height>34</height>
 +      </rect>
 +     </property>
 +     <property name="cursor">
 +      <cursorShape>PointingHandCursor</cursorShape>
 +     </property>
 +     <property name="toolTip">
 +      <string>Please help us: make gaming fun...</string>
 +     </property>
 +     <property name="text">
 +      <string>Click here to 
 +Support FaceTrackNoIR!</string>
 +     </property>
 +     <property name="icon">
 +      <iconset resource="main-facetracknoir.qrc">
 +       <normaloff>:/uielements/donate.png</normaloff>:/uielements/donate.png</iconset>
 +     </property>
 +     <property name="iconSize">
 +      <size>
 +       <width>18</width>
 +       <height>18</height>
 +      </size>
 +     </property>
 +    </widget>
 +    <widget class="QLCDNumber" name="lcdNumOutputRotX">
 +     <property name="geometry">
 +      <rect>
 +       <x>196</x>
 +       <y>34</y>
 +       <width>50</width>
 +       <height>21</height>
 +      </rect>
 +     </property>
 +     <property name="autoFillBackground">
 +      <bool>false</bool>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="frameShape">
 +      <enum>QFrame::NoFrame</enum>
 +     </property>
 +     <property name="frameShadow">
 +      <enum>QFrame::Raised</enum>
 +     </property>
 +     <property name="numDigits">
 +      <number>5</number>
 +     </property>
 +     <property name="segmentStyle">
 +      <enum>QLCDNumber::Flat</enum>
 +     </property>
 +    </widget>
 +    <widget class="QLCDNumber" name="lcdNumOutputRotY">
 +     <property name="geometry">
 +      <rect>
 +       <x>196</x>
 +       <y>52</y>
 +       <width>50</width>
 +       <height>21</height>
 +      </rect>
 +     </property>
 +     <property name="autoFillBackground">
 +      <bool>false</bool>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="frameShape">
 +      <enum>QFrame::NoFrame</enum>
 +     </property>
 +     <property name="frameShadow">
 +      <enum>QFrame::Raised</enum>
 +     </property>
 +     <property name="numDigits">
 +      <number>5</number>
 +     </property>
 +     <property name="segmentStyle">
 +      <enum>QLCDNumber::Flat</enum>
 +     </property>
 +    </widget>
 +    <widget class="QLCDNumber" name="lcdNumOutputRotZ">
 +     <property name="geometry">
 +      <rect>
 +       <x>196</x>
 +       <y>70</y>
 +       <width>50</width>
 +       <height>21</height>
 +      </rect>
 +     </property>
 +     <property name="autoFillBackground">
 +      <bool>false</bool>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="frameShape">
 +      <enum>QFrame::NoFrame</enum>
 +     </property>
 +     <property name="frameShadow">
 +      <enum>QFrame::Raised</enum>
 +     </property>
 +     <property name="numDigits">
 +      <number>5</number>
 +     </property>
 +     <property name="segmentStyle">
 +      <enum>QLCDNumber::Flat</enum>
 +     </property>
 +    </widget>
 +    <widget class="QLCDNumber" name="lcdNumOutputPosX">
 +     <property name="geometry">
 +      <rect>
 +       <x>112</x>
 +       <y>34</y>
 +       <width>50</width>
 +       <height>21</height>
 +      </rect>
 +     </property>
 +     <property name="autoFillBackground">
 +      <bool>false</bool>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="frameShape">
 +      <enum>QFrame::NoFrame</enum>
 +     </property>
 +     <property name="frameShadow">
 +      <enum>QFrame::Raised</enum>
 +     </property>
 +     <property name="numDigits">
 +      <number>5</number>
 +     </property>
 +     <property name="segmentStyle">
 +      <enum>QLCDNumber::Flat</enum>
 +     </property>
 +    </widget>
 +    <widget class="QLCDNumber" name="lcdNumOutputPosY">
 +     <property name="geometry">
 +      <rect>
 +       <x>112</x>
 +       <y>52</y>
 +       <width>50</width>
 +       <height>21</height>
 +      </rect>
 +     </property>
 +     <property name="autoFillBackground">
 +      <bool>false</bool>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="frameShape">
 +      <enum>QFrame::NoFrame</enum>
 +     </property>
 +     <property name="frameShadow">
 +      <enum>QFrame::Raised</enum>
 +     </property>
 +     <property name="numDigits">
 +      <number>5</number>
 +     </property>
 +     <property name="segmentStyle">
 +      <enum>QLCDNumber::Flat</enum>
 +     </property>
 +    </widget>
 +    <widget class="QLCDNumber" name="lcdNumOutputPosZ">
 +     <property name="geometry">
 +      <rect>
 +       <x>112</x>
 +       <y>70</y>
 +       <width>50</width>
 +       <height>21</height>
 +      </rect>
 +     </property>
 +     <property name="autoFillBackground">
 +      <bool>false</bool>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="frameShape">
 +      <enum>QFrame::NoFrame</enum>
 +     </property>
 +     <property name="frameShadow">
 +      <enum>QFrame::Raised</enum>
 +     </property>
 +     <property name="numDigits">
 +      <number>5</number>
 +     </property>
 +     <property name="segmentStyle">
 +      <enum>QLCDNumber::Flat</enum>
 +     </property>
 +    </widget>
 +    <widget class="QLabel" name="lblX">
 +     <property name="geometry">
 +      <rect>
 +       <x>104</x>
 +       <y>35</y>
 +       <width>16</width>
 +       <height>16</height>
 +      </rect>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="text">
 +      <string>X</string>
 +     </property>
 +    </widget>
 +    <widget class="QLabel" name="lblY">
 +     <property name="geometry">
 +      <rect>
 +       <x>105</x>
 +       <y>55</y>
 +       <width>16</width>
 +       <height>16</height>
 +      </rect>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="text">
 +      <string>Y</string>
 +     </property>
 +    </widget>
 +    <widget class="QLabel" name="lblZ">
 +     <property name="geometry">
 +      <rect>
 +       <x>105</x>
 +       <y>74</y>
 +       <width>16</width>
 +       <height>16</height>
 +      </rect>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="text">
 +      <string>Z</string>
 +     </property>
 +    </widget>
 +    <widget class="QLabel" name="lblRotZ">
 +     <property name="geometry">
 +      <rect>
 +       <x>164</x>
 +       <y>74</y>
 +       <width>20</width>
 +       <height>16</height>
 +      </rect>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="text">
 +      <string>roll</string>
 +     </property>
 +    </widget>
 +    <widget class="QLabel" name="lblRotX">
 +     <property name="geometry">
 +      <rect>
 +       <x>166</x>
 +       <y>35</y>
 +       <width>20</width>
 +       <height>16</height>
 +      </rect>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="text">
 +      <string>yaw</string>
 +     </property>
 +    </widget>
 +    <widget class="QLabel" name="lblRotY">
 +     <property name="geometry">
 +      <rect>
 +       <x>164</x>
 +       <y>55</y>
 +       <width>25</width>
 +       <height>16</height>
 +      </rect>
 +     </property>
 +     <property name="styleSheet">
 +      <string notr="true">color: rgb(0, 255, 0);</string>
 +     </property>
 +     <property name="text">
 +      <string>pitch</string>
 +     </property>
 +    </widget>
 +   </widget>
    </widget>
    <widget class="QMenuBar" name="menuBar">
     <property name="geometry">
      <rect>
       <x>0</x>
       <y>0</y>
 -     <width>925</width>
 +     <width>920</width>
       <height>21</height>
      </rect>
     </property>
 @@ -2336,7 +2286,7 @@ background:none;</string>    <tabstop>iconcomboProtocol</tabstop>
   </tabstops>
   <resources>
 -  <include location="FaceTrackNoIR.qrc"/>
 +  <include location="main-facetracknoir.qrc"/>
   </resources>
   <connections>
    <connection>
 diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp index 5616915a..b1c53b8f 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp @@ -313,7 +313,7 @@ PDWORD_PTR MsgResult = 0;  // Returns 'true' if all seems OK.
  //
  //
 -bool FTNoIR_Protocol::checkServerInstallationOK( HANDLE handle )
 +bool FTNoIR_Protocol::checkServerInstallationOK()
  {   
  	QSettings settings("Freetrack", "FreetrackClient");							// Registry settings (in HK_USER)
  	QSettings settingsTIR("NaturalPoint", "NATURALPOINT\\NPClient Location");	// Registry settings (in HK_USER)
 @@ -392,7 +392,7 @@ bool FTNoIR_Protocol::checkServerInstallationOK( HANDLE handle )  	} catch(...) {
  		settings.~QSettings();
  	}
 -	return FTCreateMapping( handle );
 +	return FTCreateMapping();
  }
  //
 @@ -400,7 +400,7 @@ bool FTNoIR_Protocol::checkServerInstallationOK( HANDLE handle )  // It contains the tracking data, a handle to the main-window and the program-name of the Game!
  //
  //
 -bool FTNoIR_Protocol::FTCreateMapping( HANDLE handle )
 +bool FTNoIR_Protocol::FTCreateMapping()
  {
  bool bFirst = false;
 @@ -442,8 +442,8 @@ bool bFirst = false;  			if (bFirst) {
  				memset(pMemData, 0, sizeof(FTMemMap));			// Write zero's, if first...
  			}
 -			pMemData->handle = handle;	// The game uses the handle, to send a message that the Program-Name was set!
 -			hMainWindow = handle;
 +			pMemData->handle = 0;	// The game uses the handle, to send a message that the Program-Name was set!
 +			hMainWindow = 0;
  		}
  	    hFTMutex = CreateMutexA(NULL, false, FREETRACK_MUTEX);
  	}
 @@ -509,5 +509,5 @@ void FTNoIR_Protocol::getNameFromGame( char *dest )  extern "C" FTNOIR_PROTOCOL_BASE_EXPORT void* CALLING_CONVENTION GetConstructor()
  {
 -    return (IProtocol*) new FTNoIR_ProtocolDll;
 +    return (IProtocol*) new FTNoIR_Protocol;
  }
 diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.h b/ftnoir_protocol_ft/ftnoir_protocol_ft.h index 5b36ab5a..ca6be189 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.h +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.h @@ -54,12 +54,12 @@ public:  	void Release();
      void Initialize();
 -	bool checkServerInstallationOK( HANDLE handle );
 +	bool checkServerInstallationOK(  );
  	void sendHeadposeToGame( THeadPoseData *headpose, THeadPoseData *rawheadpose );
  	void getNameFromGame( char *dest );					// Take care dest can handle up to 100 chars...
  private:
 -	bool FTCreateMapping(HANDLE handle);
 +	bool FTCreateMapping();
  	void FTDestroyMapping();
  	importTIRViewsStart viewsStart;						// Functions inside TIRViews.dll
 @@ -136,7 +136,7 @@ public:  	void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("FreeTrack 2.0"); };
  	void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("Enhanced FreeTrack protocol"); };
 -	void getIcon(QIcon *icon) { *icon = QIcon(":/images/Freetrack.ico"); };
 +	void getIcon(QIcon *icon) { *icon = QIcon(":/images/freetrack.png"); };
  };
  | 
