[Interest] [Qt-4.8] Subclassing QAbstractItemModel

2013-02-09 Thread Christian Quast
Dear All, I currently get to know the Qt Model/View classes. So I went on and created a subclass of QAbstractItemModel to provide the data for the different views in Qt. As my structure is tree like, I followed the SimpleTreeModel example that comes with Qt. At first, I had some problems

Re: [Interest] [Qt-4.8] Subclassing QAbstractItemModel

2013-02-09 Thread Иван Комиссаров
Are you using QTreeView? It is quite slow and yes, it has quite a lot of repaints. However, in worst case, only viewport is repainted (i.e. only indexes that are visible at the moment). But, view might need to know additional information about other (invisible at the current moment) indexes -

Re: [Interest] Design idioms for QtCore applications

2013-02-09 Thread Till Oliver Knoll
Am 08.02.2013 um 17:27 schrieb K. Frank kfrank2...@gmail.com: Hello Jason! ... Obviously, that would add a bit of a layer of complications, but as Thiago said, using console input is not Qt-approved, so some level of complication is to be expected. To give you some ideas you might run

Re: [Interest] Design idioms for QtCore applications

2013-02-09 Thread K. Frank
Hi Oliver! On Sat, Feb 9, 2013 at 9:13 AM, Till Oliver Knoll till.oliver.kn...@gmail.com wrote: Am 08.02.2013 um 17:27 schrieb K. Frank kfrank2...@gmail.com: Hello Jason! ... Obviously, that would add a bit of a layer of complications, but as Thiago said, using console input is not

[Interest] How to update resource file before every building project

2013-02-09 Thread Николай Шатохин
Hello. My QML files in resource file (.qrc). So, when I editing qml I need change something in resource file and save it for apply changes to qml files. How to do this automatically before build? Best regards, Nick ___ Interest mailing list

Re: [Interest] [Qt-4.8] Subclassing QAbstractItemModel

2013-02-09 Thread Christian Quast
Hi, thanks for the fast and thorough reply. On Samstag 09 Februar 2013 17:35:38 Иван Комиссаров wrote: Are you using QTreeView? It is quite slow and yes, it has quite a lot of repaints. However, in worst case, only viewport is repainted (i.e. only indexes that are visible at the moment). But,

Re: [Interest] How to update resource file before every building project

2013-02-09 Thread Oleg Shparber
Hi, Running qmake should help. -- Oleg On Sat, Feb 9, 2013 at 7:21 PM, Николай Шатохин n.shatok...@gmail.comwrote: Hello. My QML files in resource file (.qrc). So, when I editing qml I need change something in resource file and save it for apply changes to qml files. How to do this

Re: [Interest] How to update resource file before every building project

2013-02-09 Thread Николай Шатохин
Didn't help. 2013/2/9 Oleg Shparber troll...@gmail.com Hi, Running qmake should help. -- Oleg On Sat, Feb 9, 2013 at 7:21 PM, Николай Шатохин n.shatok...@gmail.comwrote: Hello. My QML files in resource file (.qrc). So, when I editing qml I need change something in resource file

Re: [Interest] How to update resource file before every building project

2013-02-09 Thread Scott Aron Bloom
A custom target in qmake would be required... From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of ??? ??? Sent: Saturday, February 9, 2013 2:15 PM To: Oleg Shparber Cc: interest@qt-project.org

Re: [Interest] How to update resource file before every building project

2013-02-09 Thread Thiago Macieira
On sábado, 9 de fevereiro de 2013 19.21.26, Николай Шатохин wrote: Hello. My QML files in resource file (.qrc). So, when I editing qml I need change something in resource file and save it for apply changes to qml files. How to do this automatically before build? That's already the automatic