-
1 Attachment(s)
Customized Table
hi there
i have to develop a very custom table which looks like this one in the picture i've attached. and that's the problem. does anybody of you has a tip how i can do this. should i develop it form scratch, or derive form qtableview, qstandarddelgate whatever. what's the best way?
btw: i only have to display a few lines of data, no possibility to edit the data, just to mark a line in the table.
so thank you for any suggestions!!
patric
-
Re: Customized Table
Hmm... what is so custom in this table? You should use stylesheets or a custom style and maybe a custom delegate. No need to subclass QTableView, you can use it as it is.
-
Re: Customized Table
ok, custom was the wrong word...
so i got it. but was a pain. mixing stylesheets with subclassing (overwriting paintEvent). now it look similar to the designers draft.
-
Re: Customized Table
The point is you shouldn't need to override paintEvent. A custom delegate would do.