Explorar el Código

TSVEditor - Ajout du tri (#17)

olivier.massot hace 7 años
padre
commit
88054cb862
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      core/tsv_editor.ui

+ 6 - 0
core/tsv_editor.ui

@@ -52,6 +52,9 @@
       <property name="gridStyle">
        <enum>Qt::DotLine</enum>
       </property>
+      <property name="sortingEnabled">
+       <bool>true</bool>
+      </property>
       <attribute name="horizontalHeaderCascadingSectionResizes">
        <bool>true</bool>
       </attribute>
@@ -61,6 +64,9 @@
       <attribute name="horizontalHeaderMinimumSectionSize">
        <number>30</number>
       </attribute>
+      <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
+       <bool>true</bool>
+      </attribute>
       <attribute name="verticalHeaderVisible">
        <bool>false</bool>
       </attribute>