Esempio n. 1
0
 private void updateBrushes()
 {
     headerBrush           = Style.GetHeaderRowBrush(textHeight, 0);
     selectedRowBrush      = Style.GetSelectedRowBrush(textHeight, 0);
     selectedRowHoverBrush = Style.GetSelectedHoverRowBrush(textHeight, 0);
     hoverBrush            = Style.GetHoverRowBrush(textHeight, 0);
 }
Esempio n. 2
0
        static QListView()
        {
            rowHeight = Styles.TextHeight;

            headerBrush           = Style.GetHeaderRowBrush(rowHeight, 0);
            selectedRowBrush      = Style.GetSelectedRowBrush(rowHeight, 0);
            selectedRowHoverBrush = Style.GetSelectedHoverRowBrush(rowHeight, 0);
            hoverBrush            = Style.GetHoverRowBrush(rowHeight, 0);
        }