Re: [Interest] submit policy

2012-05-23 Thread Stefan
Hi Diego, I am not using the QSqlTableMode, I am implementing my own QAbstractItemModel, wrapping some driver calls to an USB device. But even if I would use QSqlTableModel, I would run into the same problems, since "OnFieldChange" only makes sure that "All changes to the model will be applied

Re: [Interest] Hang while painting

2012-05-23 Thread R. Reucher
On Thursday 24 May 2012 08:38:08 Nishant Sharma wrote: > I am using QT-3.3.6 and get a hang on *only some machine* with following > trace after doing some operation. Please help !!! First of all, Qt 3 is too FAR out of date to expect any support. Please port your code to Qt 4 or 5. Secondly, with

[Interest] Hang while painting

2012-05-23 Thread Nishant Sharma
Hi, I am using QT-3.3.6 and get a hang on *only some machine* with following trace after doing some operation. Please help !!! #0 0x00309e67197a in _int_malloc () from /lib64/libc.so.6 #1 0x00309e672e8d in malloc () from /lib64/libc.so.6 #2 0x2b89cd5dbebf in QTextEngine::QTextEngi

Re: [Interest] Very vague QML ListView issue

2012-05-23 Thread Bradley Smith
I believe the reason you can drag an item up but not down in the ListView is because the item being dragged is interfering with the dataView.indexAt(mouseX, mouseY). It appears that the items in the ListView are searched in order. Since the drag item moves with the mouse, it is always under the mou

[Interest] Very vague QML ListView issue

2012-05-23 Thread Mark
Hi, I'm trying to make a sortable ListView and so far it's progressing nicely (not finished!). It's quite difficult since drag/drop stuff doesn't really seem that easy like other stuff is in QML. What i tried is to make one list view with one mousearea on top of it. Yes, one mousearea instead of a

Re: [Interest] submit policy

2012-05-23 Thread Diego Schulz
On Mon, May 21, 2012 at 9:15 AM, Stefan wrote: > Hello, > > this question is about the submit policy in QDataWidgetMapper. > > There is an AutoSubmit, which submits to the itemModel on focus lost. > Also, there is a ManualSubmit, submitting only when called programatically. > I prefer to use the a

Re: [Interest] Toolbar size and icon color

2012-05-23 Thread Sensei
On 5/23/12 5:02pm, Bill Crocker wrote: > This works for me: > > void > MyApp::setAllIconSizes( QSize sz ) { > foreach( QWidget *wp, qApp->topLevelWidgets() ) { > foreach( QToolBar *bp, wp->findChildren() ) { > bp->setIconSize( sz ); > } > foreach(

Re: [Interest] Toolbar size and icon color

2012-05-23 Thread Bill Crocker
On 05/23/2012 10:51 AM, Sensei wrote: > On 5/23/12 4:12pm, Konstantin Tokarev wrote: > >> Are your icons large enough for your size? They won't be scaled up. > > Actually, I'm trying to use smaller icons. > This works for me: void MyApp::setAllIconSizes( QSize sz ) { foreach( QWidget *wp, qA

Re: [Interest] Toolbar size and icon color

2012-05-23 Thread Sensei
On 5/23/12 4:12pm, Konstantin Tokarev wrote: > Are your icons large enough for your size? They won't be scaled up. Actually, I'm trying to use smaller icons. I have the original 60x60 icons, and I scaled them to 48, 36, and 28. I'd like to see which size is visually better. However, I always e

Re: [Interest] Toolbar size and icon color

2012-05-23 Thread Konstantin Tokarev
23.05.2012, 18:08, "Sensei" : > Dear all, > > I'd like to create a toolbar for a main window, customizing it. However, > using setIconSize isn't affecting the toolbar size or the icons in it. > > Am I trying hopelessly? Are your icons large enough for your size? They won't be scaled up. > > Ano

[Interest] New ICSNetwork Webcast Released: Exporting C++ Models to QML

2012-05-23 Thread Lynn Gray
The latest ICSNetwork webcast, *Exporting C++ Models to QML,* is currently available for download at www.ics.com/icsnetwork. This webcast shows how to export C++ models to QML for use with Qt Quick views such as ListView. A small application is created in two ways. T

[Interest] Toolbar size and icon color

2012-05-23 Thread Sensei
Dear all, I'd like to create a toolbar for a main window, customizing it. However, using setIconSize isn't affecting the toolbar size or the icons in it. Am I trying hopelessly? Another related topic is this: is it possible to use black icons? The reason I'm asking this possibly naive question

Re: [Interest] Creating an aux library

2012-05-23 Thread Sensei
On 5/22/12 7:12pm, Till Oliver Knoll wrote: > Don't you have the same problem (how to automate the moc/ui step > within XCode) when building an executable? Well, if I simply use a text editor, I'd rely on the console. That would be "automated" by qmake. However, with Xcode, things might get easi