> 1) quickly calculate/get the total number of items and return that value from
> rowCount() to let views properly configure their scroll bars;
is that a method one overrides? where is "rowCount()" defined?
do i override it by subclassing QSortFilterProxyModel?
> 2) load data in the background;
i
Here is my idea:
1) quickly calculate/get the total number of items and return that value from
rowCount() to let views properly configure their scroll bars;
2) load data in the background;
3) return some placeholder values from data() for items that have not been
loaded yet;
4) when a new batch o
> What did you try so far?
the other thing tried was showing the table without pre-loading it, but then
loading the rest in the background
but this has the problem that the user can't then pick up the scroll thumb and
drag it to the bottom, because not all the data is loaded. as soon as the use
>> alternately, if "loading only what you see" is just "how it's done", then
>> can i just set the scroll bar height to be the total height? so CAN still
>> grab the scroll thumb, and drag it to the end, and see the data at the end,
>> without waiting for all the unseen data to load?
>> i know
Il 04/06/20 21:12, David M. Cotter ha scritto:
alternately, if "loading only what you see" is just "how it's done", then can i
just set the scroll bar height to be the total height? so CAN still grab the scroll thumb, and
drag it to the end, and see the data at the end, without waiting for all
Hi all,
I have a question regarding Qt WASM. I would like to change between different
style sheets during run time in a WASM application. In the desktop version of
my application I just use QFile to access the .qss file included in my .qrc
file.
if(QApplication *pApp = qobject_cast(QApplicatio
say i have a few "playlists" that are really big, like 200k items, with many
columns
i'd like to be able to switch to them and have them be instantly loaded.
by that i mean the entire list, such that i can take the scroll thumb and drag
it to the bottom and see the last item, ie: no "loading b
Hi,
thanks for the patches. I created a bug report a couple of days ago:
https://bugreports.qt.io/browse/QTBUG-84576
In terms of linuxeployqt the following worked for me:
linuxdeployqt-continuous-x86_64.AppImage yourQt3DAppName
-extra-plugins=renderers
Best,
Lorenz
Von: Paul Lemire
Gesende
> I understand your problem. I've not been in your situation, but how about
>
> - Change server to emit before and after events, plus a cancel event.
>
> - Upon receiving a before event, call beginInsertRows,
>
> - Upon receiving an after event, call endInsertRows,
>
> - Upon receiving a cancel
Hi,
From what I can see the macdeployqt and windeployqt scripts weren't
updated to deploy the renderers plugin.
Hopefully these patches would fix that:
https://codereview.qt-project.org/c/qt/qttools/+/302945/1
https://codereview.qt-project.org/c/qt/qttools/+/302946/1
Paul
On 5/28/20 6:41 P
Den tors 4 juni 2020 kl 09:00 skrev Elvis Stansvik :
>
> Den ons 3 juni 2020 10:38Jonathan Purol skrev:
>>
>> Hello everyone,
>>
>> I've been in a bit of a tough spot recently with `QAbstractItemModel`.
>> I'll try to delineate my situation, then my problem, and then the
>> potential solutions and
Den ons 3 juni 2020 10:38Jonathan Purol skrev:
> Hello everyone,
>
> I've been in a bit of a tough spot recently with `QAbstractItemModel`.
> I'll try to delineate my situation, then my problem, and then the
> potential solutions and why I think they're all inferior to what I wish
> to have.
>
>
12 matches
Mail list logo