Re: [Interest] Amazon / Classic Mac OS-like menus (Tognazzini and Batson)?

2013-05-30 Thread Rutledge Shawn
Den 31 May 2013 kl. 12:32 AM skrev John Lee: > Hi > > Has anybody implemented this sort of menu using Qt? > > http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown > > The idea is to avoid the problem of child menus that close before the user > manages to navigate to them, beca

[Interest] delete effect not immediate QFileSystemModel

2013-05-30 Thread Sujan Dasmahapatra
I am deleting one item from QFileSystemModel but it's not updated immediately, when I click on other item then I can see that it's deleted from the model. QFileSystemModel *model = new QFileSystemModel; model->setRootPath(QDir::currentPath()); QTreeView *tree = new QTreeView(this); tree->setmodel(

[Interest] QFileSystemModel name enable to be edited

2013-05-30 Thread Sujan Dasmahapatra
I have QFileSystemModel in my QTreeView. When click on a directory in the model I want to enable the name to be edited just like windows folders. How can I make it enabled and let user write the new name. Any help is appreciated. -- Thanks & Regards Sujan _

[Interest] (no subject)

2013-05-30 Thread Sujan Dasmahapatra
I have QFileSystemModel in my QTreeView. When click on a directory in the model I want to enable the name to be edited just like windows folders. How can I make it enabled and let user write the new name. Any help is appreciated. -- Thanks & Regards Sujan _

[Interest] QT Touch

2013-05-30 Thread Francisco Ortega
Hello, I wasn't sure if to send this to development or here. I have a few questions about qt touch. I have been looking at fingerpaint (example) and the api docs as well as the code found in event.h and event.cpp 1) Where is the code that interacts with the Windows Touch Device drivers... I have

[Interest] Amazon / Classic Mac OS-like menus (Tognazzini and Batson)?

2013-05-30 Thread John Lee
Hi Has anybody implemented this sort of menu using Qt? http://bjk5.com/post/44698559168/breaking-down-amazons-mega-dropdown The idea is to avoid the problem of child menus that close before the user manages to navigate to them, because their mouse movement is not sufficiently horizontally con

[Interest] how to not activate an application when clicking on it

2013-05-30 Thread Vincent Boucher
Hello, I would like that by clicking on a given window of a Qt application, the application is not activated on Mac OS X while still being able to interact with it. Why? Apple Keynote and MS PowerPoint fullscreen/presentation mode is exited when an always on top window is clicked. The fullscre

Re: [Interest] QSqlDatabase and threads

2013-05-30 Thread Mark Brand
> On Thursday 30 May 2013 18:03:15 Witold E Wolski wrote: > > > I am using threading to speed up compuation. Each thread produces some > results which I would like to store in a sqlite file. > > > > My idea is to have something like an monitor object which has an > QSqlDatabase member and a i

Re: [Interest] QSqlDatabase and threads

2013-05-30 Thread Soroush R
In the case that your computation is massive, you may want to change your concurrency design. You can add a writer thread to be the only one who talks to database. Other threads write their manipulated data into a mutex-guarded shared data structure (say a queue). Then the writer thread can write d

Re: [Interest] QSqlDatabase and threads

2013-05-30 Thread Karl Ruetz
Both the documentation and my own experience say what you are after is not possible: http://qt-project.org/doc/qt-4.8/threads-modules.html#threads-and-the-sql-module I do a similar thing only with MySQL. I am forced to create a QSqlDatabase object with each thread. If I do not, I get dead lo

Re: [Interest] QSqlDatabase and threads

2013-05-30 Thread Lorenz Haas
AFAIK what you are trying is not possible: http://qt-project.org/doc/qt-4.8/threads-modules.html#threads-and-the-sql-module Best, Lorenz Am 30.05.2013 18:03, schrieb Witold E Wolski: > I am using threading to speed up compuation. Each thread produces some > results which I would like to store in

[Interest] QSqlDatabase and threads

2013-05-30 Thread Witold E Wolski
I am using threading to speed up compuation. Each thread produces some results which I would like to store in a sqlite file. My idea is to have something like an monitor object which has an QSqlDatabase member and a insert method which is synchronized using a mutex. The problem I am actually run

Re: [Interest] PDF creation issues with QT5

2013-05-30 Thread Israel Brewster
On May 29, 2013, at 9:33 PM, Rutledge Shawn wrote: > > Den 29 May 2013 kl. 8:01 PM skrev Israel Brewster: >> Well, after some effort and tweaking, I managed to get the QPrinter based >> approach working under Qt 5.1 - actually with code almost identical to my >> original code. I had to make th

Re: [Interest] State of the art of TUIO integration

2013-05-30 Thread Andrea Franceschini
On 2013/5/29 Casimiro, Daniel C CIV NUWC NWPT : > If I remember correctly, there was not a one-to-one mapping between the TUIO > specification and Qt types To the best of my knowledge, I think you're right: of course Qt should not need to handle fiducials, so it makes sense that it lacks support

[Interest] QFileSystemModel expand indicator

2013-05-30 Thread Sujan Dasmahapatra
I have a QFileSystemModel which set to my QTreeView as model. Somefolder structure is present in the root. When some folder does not have any child folder still the expand indicator(Triangle shape) is appearing left side. How can I stop it not to appear if no folder is present. Any help is highly