targetwidget.ui Example File | Qt Installer Framework Manual

Qt Installer Framework Manual | Dynamic Page Installer Example | targetwidget.ui Example File

# targetwidget.ui Example File

dynamicpage/packages/org.qtproject.ifw.example.dynamicpage/meta/targetwidget.ui

      <?xml version="1.0" encoding="UTF-8"?>
      <ui version="4.0">
       <class>TargetWidget</class>
       <widget class="QWidget" name="TargetWidget">
        <property name="geometry">
         <rect>
          <x>0</x>
          <y>0</y>
          <width>491</width>
          <height>190</height>
         </rect>
        </property>
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>491</width>
          <height>190</height>
         </size>
        </property>
        <property name="windowTitle">
         <string>Form</string>
        </property>
        <layout class="QVBoxLayout" name="verticalLayout">
         <item>
          <widget class="QLabel" name="label_2">
           <property name="text">
            <string>Please specify the folder where Dynamic Page Installer Example will be installed.</string>
           </property>
          </widget>
         </item>
         <item>
          <layout class="QHBoxLayout" name="horizontalLayout">
           <item>
            <widget class="QLineEdit" name="targetDirectory">
             <property name="readOnly">
              <bool>true</bool>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QToolButton" name="targetChooser">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="minimumSize">
              <size>
               <width>0</width>
               <height>0</height>
              </size>
             </property>
             <property name="text">
              <string>...</string>
             </property>
            </widget>
           </item>
          </layout>
         </item>
         <item>
          <spacer name="verticalSpacer">
           <property name="orientation">
            <enum>Qt::Vertical</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>122</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
       <resources/>
       <connections/>
      </ui>