Good Day, Masters of QT!
Look at the image attached below is a bug QT? The scrollbar does not have the scroll buttons, only the central bar. I am using the theme plastik, QT 4.3.4
Good Day, Masters of QT!
Look at the image attached below is a bug QT? The scrollbar does not have the scroll buttons, only the central bar. I am using the theme plastik, QT 4.3.4
I'd suspect that to be a layouting problem. Did you install a layout on the frame? Did you add the graphics view to that layout?
J-P Nurmi
Layou is ok.
Ok, can you attach a small test application which reproduces the problem?
J-P Nurmi
Ok, please change include header ui_Report.h in Report.h and create the basic main.cpp.
Thanks,
Marcelo E. Geyer
The problem is caused when using stylesheets in QGraphicsView. I found that now
Thank you, I decided the problem using setBackgroundBrush() in QGraphicsScene that gave me the same result. But this can be considered a bug?
Thanks,
Marcelo E. Geyer.
You must use selectors to avoid applying the style sheet to every child (including scroll bars). So instead of
use for exampleQt Code:
background-color: #CFCFCF;To copy to clipboard, switch view to plain text mode
Qt Code:
To copy to clipboard, switch view to plain text mode
J-P Nurmi
Bookmarks