[Interest] Build a Photos(Mac) copy with Qt Widgets

Hualet Wang mr.asianwang at gmail.com
Thu Jan 21 02:03:03 CET 2016


Hi Mironchik, your example is very helpful. It seems that QListView is just
what I want. I'll take a deeper loop at it. Thank you.

2016-01-20 23:36 GMT+08:00 Igor Mironchik <igor.mironchik at gmail.com>:

> Just to clarification.
>
> Don't forget to setWrapping( true ) on QListView. With such settings list
> view will be displayed as table. And you can play with scroll bars...
>
> On 20.01.2016 17:52, Hualet Wang wrote:
>
>> Really ? That’s quite good enough for me if it’s true. Thank you for you
>> suggestion, I’ll check
>> it out. :D
>>
>> 在 2016年1月20日,下午10:48,Igor Mironchik <igor.mironchik at gmail.com> 写道:
>>>
>>> Hi,
>>>
>>> On 20.01.2016 17:09, Hualet Wang wrote:
>>>
>>>> And one more, what about QTableWidget with icons? And why you decided
>>>>> that QTableView will not do the trick?
>>>>>
>>>> Because I’m not sure if QTableView is capable of re-layouting the items
>>>> after I delete one or more cells from it. And that’s the whole point of my
>>>> question.
>>>>
>>> Even more: you can use QListView with flow QListView::LeftToRight with
>>> resizeMode QListView::Adjust and proper delegate... And you are happy.
>>> Items will relayout automatically... And will be placed in the table...
>>>
>>> And QtMWidgets is for touch-devices...
>>>>>
>>>> I’m not targeting touch devices. The application will run on Linux.
>>>>
>>>
>


-- 
-- Hualet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160121/beca8f91/attachment.html>


More information about the Interest mailing list