Re: QTreeWidget + ScrollBar
Quote:
Can somebody tell me why the horizontal Scrollbar never appears on my Tree?
As far as I can see the horizontal scrollbar only appears when you drag beyond the first column of the tree widget.
Could you try making it as small as posszible to see what happens?
Cheers
1 Attachment(s)
Re: QTreeWidget + ScrollBar
Hi Everall
Here the result:
Re: QTreeWidget + ScrollBar
there has been a bug filed in task tracker :
Quote:
103904 - QTreeWidget with 1 column never shows a horizontal scrollbar
Scheduled for?
4.2.0
Description
A QTreeWidget with 1 column never shows a horizontal scrollbar. A vertical scrollbar shows up when the items total height exceeds the widgets' height, but this never happens for a horizontal scrollbar, even though the policy is set to Qt::ScrollBarAsNeeded, the resizeMode to custom and the stretching of the last column to false.
Update:
Fixing this will change behavior that other customers are relying on. Will be fixed in Qt 4.2.
Re: QTreeWidget + ScrollBar
Hi :o
Ok, so i will have to wait..
You dont know when this release will be downloadable?
Re: QTreeWidget + ScrollBar
Quote:
You dont know when this release will be downloadable?
you could keep an eye on t ask tracker and use the latest snapshot when the bug is resolved.
Cheers
Re: QTreeWidget + ScrollBar
Guys dont forget that free windows version has some limitation :mad:
Re: QTreeWidget + ScrollBar
Quote:
Originally Posted by zlatko
Guys dont forget that free windows version has some limitation :mad:
Before I got a commercial license for Qt I was using the OpenSource version with MinGW, which worked fine against my PostgreSQL database. After I installed the commercial version I compiled against Oracle without changing the code (except for aggregate sum selects), and that worked fine also.
Aside from lacking drivers for Oracle, SQL Sever, etc... what limitations would those be?:
Re: QTreeWidget + ScrollBar
Its not limitation as such, but there is available some disagreeable bugs, that occasionally surface in different qt forums, and support only by free windows version :D
Re: QTreeWidget + ScrollBar
Quote:
Originally Posted by zlatko
Its not limitation as such, but there is available some disagreeable bugs, that occasionally surface in different qt forums, and support only by free windows version :D
Are you talking about Qt 4 Open Source Edition or Q..3/Windows Free Edition?
Re: QTreeWidget + ScrollBar
Re: QTreeWidget + ScrollBar
Quote:
Originally Posted by zlatko
I mean Qt4 open source
Do you have any examples of such bugs?
Re: QTreeWidget + ScrollBar
Hi everybody!!
I am back again :p
I have installed QT 4.1.3 on my Windows Machine..
I have the same problem with my Scrollbar( just the horizontal one). Should this bug not be solved with QT 4.1.3?
Please see my first post :crying:
Trolltech:
Code:
Fixed some drag and drop issues.
Fixed a bug where the check state of an item was unchanged after an
itemClicked() signal was emitted.
Made decision to show scrollbars independent of the previous
scrollbar state.
Fixed a bug causing horizontal scrolling when only vertically
scrolling should occur.
Fixed painting of parent-child hierarchy decorations.
Fixed scrollbar visibility bug.
Fixed branch indicator painting error in right-to-left mode.
Fixed painting issues when using reverse layout on hidden headers.
Fixed a bug preventing the view from being scrolled when column 0 was
hidden.
Fixed a bug causing some custom index widgets to be incorrectly
placed.