full rework of the output order
This commit is contained in:
		@@ -21,20 +21,6 @@
 | 
			
		||||
     </property>
 | 
			
		||||
    </widget>
 | 
			
		||||
   </item>
 | 
			
		||||
   <item row="0" column="1">
 | 
			
		||||
    <widget class="QPushButton" name="chooseFileButton">
 | 
			
		||||
     <property name="text">
 | 
			
		||||
      <string>Choose</string>
 | 
			
		||||
     </property>
 | 
			
		||||
    </widget>
 | 
			
		||||
   </item>
 | 
			
		||||
   <item row="1" column="0">
 | 
			
		||||
    <widget class="QCheckBox" name="printHeaderCheckBox">
 | 
			
		||||
     <property name="text">
 | 
			
		||||
      <string>Print header</string>
 | 
			
		||||
     </property>
 | 
			
		||||
    </widget>
 | 
			
		||||
   </item>
 | 
			
		||||
   <item row="2" column="0">
 | 
			
		||||
    <widget class="QCheckBox" name="printTotalCheckBox">
 | 
			
		||||
     <property name="text">
 | 
			
		||||
@@ -42,30 +28,15 @@
 | 
			
		||||
     </property>
 | 
			
		||||
    </widget>
 | 
			
		||||
   </item>
 | 
			
		||||
   <item row="4" column="2">
 | 
			
		||||
    <widget class="QDialogButtonBox" name="buttonBox">
 | 
			
		||||
     <property name="orientation">
 | 
			
		||||
      <enum>Qt::Orientation::Horizontal</enum>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="standardButtons">
 | 
			
		||||
      <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
 | 
			
		||||
   <item row="0" column="3">
 | 
			
		||||
    <widget class="QPushButton" name="chooseFileButton">
 | 
			
		||||
     <property name="text">
 | 
			
		||||
      <string>Choose</string>
 | 
			
		||||
     </property>
 | 
			
		||||
    </widget>
 | 
			
		||||
   </item>
 | 
			
		||||
   <item row="3" column="0" colspan="3">
 | 
			
		||||
    <widget class="TableWidgetMovable" name="tableWidget">
 | 
			
		||||
     <property name="sizePolicy">
 | 
			
		||||
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
 | 
			
		||||
       <horstretch>0</horstretch>
 | 
			
		||||
       <verstretch>0</verstretch>
 | 
			
		||||
      </sizepolicy>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="acceptDrops">
 | 
			
		||||
      <bool>true</bool>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="sizeAdjustPolicy">
 | 
			
		||||
      <enum>QAbstractScrollArea::SizeAdjustPolicy::AdjustToContentsOnFirstShow</enum>
 | 
			
		||||
     </property>
 | 
			
		||||
    <widget class="QListView" name="listView">
 | 
			
		||||
     <property name="dragEnabled">
 | 
			
		||||
      <bool>true</bool>
 | 
			
		||||
     </property>
 | 
			
		||||
@@ -76,137 +47,35 @@
 | 
			
		||||
      <enum>QAbstractItemView::DragDropMode::InternalMove</enum>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="defaultDropAction">
 | 
			
		||||
      <enum>Qt::DropAction::MoveAction</enum>
 | 
			
		||||
      <enum>Qt::DropAction::TargetMoveAction</enum>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="alternatingRowColors">
 | 
			
		||||
      <bool>true</bool>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="selectionMode">
 | 
			
		||||
      <enum>QAbstractItemView::SelectionMode::SingleSelection</enum>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="selectionBehavior">
 | 
			
		||||
      <enum>QAbstractItemView::SelectionBehavior::SelectRows</enum>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="gridStyle">
 | 
			
		||||
      <enum>Qt::PenStyle::SolidLine</enum>
 | 
			
		||||
    </widget>
 | 
			
		||||
   </item>
 | 
			
		||||
   <item row="4" column="2" colspan="2">
 | 
			
		||||
    <widget class="QDialogButtonBox" name="buttonBox">
 | 
			
		||||
     <property name="orientation">
 | 
			
		||||
      <enum>Qt::Orientation::Horizontal</enum>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="sortingEnabled">
 | 
			
		||||
      <bool>false</bool>
 | 
			
		||||
     <property name="standardButtons">
 | 
			
		||||
      <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
 | 
			
		||||
     </property>
 | 
			
		||||
     <property name="wordWrap">
 | 
			
		||||
      <bool>true</bool>
 | 
			
		||||
    </widget>
 | 
			
		||||
   </item>
 | 
			
		||||
   <item row="1" column="0">
 | 
			
		||||
    <widget class="QCheckBox" name="printHeaderCheckBox">
 | 
			
		||||
     <property name="text">
 | 
			
		||||
      <string>Print header</string>
 | 
			
		||||
     </property>
 | 
			
		||||
     <row>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Date</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </row>
 | 
			
		||||
     <row>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Goods name</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </row>
 | 
			
		||||
     <row>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Goods price</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </row>
 | 
			
		||||
     <row>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Goods quantity</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </row>
 | 
			
		||||
     <row>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Goods net weight</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </row>
 | 
			
		||||
     <row>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Goods total</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </row>
 | 
			
		||||
     <column>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>position</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </column>
 | 
			
		||||
     <column>
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>name</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </column>
 | 
			
		||||
     <item row="0" column="0">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>1</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="0" column="1">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Date</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="1" column="0">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>2</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="1" column="1">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Name</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="2" column="0">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>3</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="2" column="1">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Price</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="3" column="0">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>4</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="3" column="1">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Quantity</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="4" column="0">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>5</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="4" column="1">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Net weight</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="5" column="0">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>6</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
     <item row="5" column="1">
 | 
			
		||||
      <property name="text">
 | 
			
		||||
       <string>Total price</string>
 | 
			
		||||
      </property>
 | 
			
		||||
     </item>
 | 
			
		||||
    </widget>
 | 
			
		||||
   </item>
 | 
			
		||||
  </layout>
 | 
			
		||||
 </widget>
 | 
			
		||||
 <customwidgets>
 | 
			
		||||
  <customwidget>
 | 
			
		||||
   <class>TableWidgetMovable</class>
 | 
			
		||||
   <extends>QTableWidget</extends>
 | 
			
		||||
   <header>widgets/tablewidgetmovable.hpp</header>
 | 
			
		||||
  </customwidget>
 | 
			
		||||
 </customwidgets>
 | 
			
		||||
 <resources/>
 | 
			
		||||
 <connections>
 | 
			
		||||
  <connection>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user