update settings to use new model
This commit is contained in:
		@@ -16,6 +16,12 @@
 | 
			
		||||
  <layout class="QGridLayout" name="gridLayout_3">
 | 
			
		||||
   <item row="0" column="0">
 | 
			
		||||
    <widget class="QScrollArea" name="scrollArea">
 | 
			
		||||
     <property name="sizePolicy">
 | 
			
		||||
      <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
 | 
			
		||||
       <horstretch>0</horstretch>
 | 
			
		||||
       <verstretch>0</verstretch>
 | 
			
		||||
      </sizepolicy>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="widgetResizable">
 | 
			
		||||
      <bool>true</bool>
 | 
			
		||||
     </property>
 | 
			
		||||
@@ -24,14 +30,28 @@
 | 
			
		||||
       <rect>
 | 
			
		||||
        <x>0</x>
 | 
			
		||||
        <y>0</y>
 | 
			
		||||
        <width>659</width>
 | 
			
		||||
        <height>634</height>
 | 
			
		||||
        <width>673</width>
 | 
			
		||||
        <height>554</height>
 | 
			
		||||
       </rect>
 | 
			
		||||
      </property>
 | 
			
		||||
      <layout class="QGridLayout" name="gridLayout_2">
 | 
			
		||||
       <item row="0" column="0">
 | 
			
		||||
        <layout class="QGridLayout" name="gridLayout">
 | 
			
		||||
         <item row="14" column="1">
 | 
			
		||||
         <item row="1" column="1">
 | 
			
		||||
          <widget class="QCheckBox" name="printHeaderCheckBox">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string/>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="2" column="0">
 | 
			
		||||
          <widget class="QLabel" name="print_total_label">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Print total</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="3" column="1">
 | 
			
		||||
          <widget class="QComboBox" name="languageComboBox">
 | 
			
		||||
           <item>
 | 
			
		||||
            <property name="text">
 | 
			
		||||
@@ -45,161 +65,52 @@
 | 
			
		||||
           </item>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="7" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_14">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods quantity alias</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="7" column="1">
 | 
			
		||||
          <widget class="QLineEdit" name="goodsQuantityAliasEdit"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="4" column="1">
 | 
			
		||||
          <widget class="QSpinBox" name="goodsPricePerUnitPositionSpin"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="2" column="1">
 | 
			
		||||
          <widget class="QSpinBox" name="goodsNamePositionSpin"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="8" column="1">
 | 
			
		||||
          <widget class="QSpinBox" name="goodsNetWeightPositionSpin"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="5" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_12">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods price per unit alias</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="11" column="1">
 | 
			
		||||
          <widget class="QLineEdit" name="goodsTotalAliasEdit"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="12" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_2">
 | 
			
		||||
         <item row="1" column="0">
 | 
			
		||||
          <widget class="QLabel" name="print_header_label">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Print header</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="6" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_13">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods quantity position</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="10" column="1">
 | 
			
		||||
          <widget class="QSpinBox" name="goodsTotalPositionSpin"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="8" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_15">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods net weight position</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="0" column="1">
 | 
			
		||||
          <widget class="QSpinBox" name="dateNamePositionSpin"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="5" column="1">
 | 
			
		||||
          <widget class="QLineEdit" name="goodsPricePerUnitAliasEdit"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="2" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_9">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods name position</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="13" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_3">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Print total</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="0" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Date name position</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="4" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_11">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods price per unit position</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="13" column="1">
 | 
			
		||||
         <item row="2" column="1">
 | 
			
		||||
          <widget class="QCheckBox" name="printTotalCheckBox">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string/>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="10" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_17">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods total position</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="6" column="1">
 | 
			
		||||
          <widget class="QSpinBox" name="goodsQuantityPositionSpin"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="3" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_10">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods name alias</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="9" column="1">
 | 
			
		||||
          <widget class="QLineEdit" name="goodsNetWeightAliasEdit"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="11" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_18">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods total alias</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="3" column="1">
 | 
			
		||||
          <widget class="QLineEdit" name="goodsNameAliasEdit"/>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="12" column="1">
 | 
			
		||||
          <widget class="QCheckBox" name="printHeaderCheckBox">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string/>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="14" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_4">
 | 
			
		||||
          <widget class="QLabel" name="language_label">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Language</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="9" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_16">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Goods net weight alias</string>
 | 
			
		||||
         <item row="0" column="0" colspan="2">
 | 
			
		||||
          <widget class="QListView" name="outputOptionsListView">
 | 
			
		||||
           <property name="sizePolicy">
 | 
			
		||||
            <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
 | 
			
		||||
             <horstretch>0</horstretch>
 | 
			
		||||
             <verstretch>0</verstretch>
 | 
			
		||||
            </sizepolicy>
 | 
			
		||||
           </property>
 | 
			
		||||
           <property name="dragEnabled">
 | 
			
		||||
            <bool>true</bool>
 | 
			
		||||
           </property>
 | 
			
		||||
           <property name="dragDropMode">
 | 
			
		||||
            <enum>QAbstractItemView::DragDropMode::InternalMove</enum>
 | 
			
		||||
           </property>
 | 
			
		||||
           <property name="defaultDropAction">
 | 
			
		||||
            <enum>Qt::DropAction::TargetMoveAction</enum>
 | 
			
		||||
           </property>
 | 
			
		||||
           <property name="alternatingRowColors">
 | 
			
		||||
            <bool>true</bool>
 | 
			
		||||
           </property>
 | 
			
		||||
           <property name="selectionBehavior">
 | 
			
		||||
            <enum>QAbstractItemView::SelectionBehavior::SelectRows</enum>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="1" column="0">
 | 
			
		||||
          <widget class="QLabel" name="label_5">
 | 
			
		||||
           <property name="text">
 | 
			
		||||
            <string>Date name alias</string>
 | 
			
		||||
           </property>
 | 
			
		||||
          </widget>
 | 
			
		||||
         </item>
 | 
			
		||||
         <item row="1" column="1">
 | 
			
		||||
          <widget class="QLineEdit" name="dateNameAliasEdit"/>
 | 
			
		||||
         </item>
 | 
			
		||||
        </layout>
 | 
			
		||||
       </item>
 | 
			
		||||
      </layout>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user