瀏覽代碼

Setting alternate row colors instead of using a grid

Andreas Fetzer 11 年之前
父節點
當前提交
22d7e1ea94
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      Libs/DICOM/Widgets/Resources/UI/ctkDICOMTableView.ui

+ 12 - 0
Libs/DICOM/Widgets/Resources/UI/ctkDICOMTableView.ui

@@ -59,9 +59,21 @@
    </item>
    <item>
     <widget class="QTableView" name="tblDicomDatabaseView">
+     <property name="styleSheet">
+      <string notr="true">font: 75 10pt &quot;Lucida Grande&quot;;</string>
+     </property>
+     <property name="alternatingRowColors">
+      <bool>true</bool>
+     </property>
      <property name="selectionBehavior">
       <enum>QAbstractItemView::SelectRows</enum>
      </property>
+     <property name="showGrid">
+      <bool>false</bool>
+     </property>
+     <property name="gridStyle">
+      <enum>Qt::SolidLine</enum>
+     </property>
      <attribute name="horizontalHeaderStretchLastSection">
       <bool>true</bool>
      </attribute>