Changeset 3006
- Timestamp:
- 06/17/06 05:16:03 (3 years ago)
- Files:
-
- hydranode/hngui/customheader.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hydranode/hngui/customheader.cpp
r2947 r3006 45 45 } 46 46 47 QPainter p( this);47 QPainter p(viewport()); 48 48 p.setBrush(QColor(201, 238, 253, 183)); 49 // p.setPen(QColor(0, 0, 9, 183));50 49 p.setPen(Qt::black); 51 50 p.drawRect(0, 0, width(), height() - 1); … … 72 71 ); 73 72 74 /*75 p->setBrush(QColor(201, 238, 253, 183));76 p->setPen(QColor(201, 238, 253, 183));77 78 p->drawRect(rect.x(), rect.y(), rect.width(), rect.height() - 1);79 80 p->setPen(QColor(0, 0, 0, 183));81 p->drawLine(rect.bottomLeft(), rect.bottomRight());82 p->drawLine(rect.topLeft(), rect.topRight());83 p->setPen(QColor(0, 0, 0, 50));84 */85 73 QString text( 86 74 model()->headerData( … … 98 86 return; 99 87 } 100 // if (visualIndexAt(logicalIndex) > 0) { 101 // p->drawPixmap(rect.x(), 0, sep); 102 // } 88 103 89 if (visualIndexAt(logicalIndex) < count() - hiddenSectionCount()) { 104 90 p->drawPixmap(rect.x() + rect.width() - 1, 0, sep); … … 146 132 setSectionHidden(col, true); 147 133 } else { 148 // setStretchLastSection(false);149 134 setSectionHidden(col, false); 150 135 QString key("/" + objectName() + "/%1");
