View Full Version : [Qt4 - QTableWidget] thickness gridlines
Hi,
just a very short question, I don't think that it's possible, but I'll give it a shot here:
how can I make the lines of the grid of a QTableWidget thicker?
fanat9
27th June 2008, 13:03
Try setGridStyle( Qt::PenStyle style ) with Qt::CustomDashLine using QPainterPathStroker::setWidth( qreal width );
Thanks for your respond, but I've tried to figure out what you mean and how to use it...could you give a small sample (pseudo) code ?
standin000
22nd May 2013, 15:41
Thanks for your respond, but I've tried to figure out what you mean and how to use it...could you give a small sample (pseudo) code ?
I have the same confusing, could someone help us, thanks very much!
Santosh Reddy
23rd May 2013, 07:48
Refer QTBUG-11907 (https://bugreports.qt-project.org/browse/QTBUG-11907?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab)
standin000
27th May 2013, 13:36
Refer QTBUG-11907 (https://bugreports.qt-project.org/browse/QTBUG-11907?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab)
thanks very much, I'll try.
standin000
28th May 2013, 00:38
thanks very much, I'll try.
It seems don't need use delegate, use stylesheet instead.
QTableView::item {
border-left: 2px solid white;
border-top: 2px solid white;
}
QTableView{
border-bottom: 2px solid white;
border-right: 2px solid white;
}
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.