[Interest] Modal Dialog with QQuickView in Qt5

2013-09-06 Thread Mitchell Verter
In Qt4, I was able to implement a modal Keyboard Dialog by doing ModalKeyboard::ModalKeyboard(QWidget *parent) : QDialog(parent) { setModal(false); keyboard = new QDeclarativeView(this); keyboard->setSource(QUrl::fromLocalFile("qml/main.qml")); keyboardObject = keyboard->rootOb

Re: [Interest] QML Presentation System, detailed docs & roadmap?

2013-09-06 Thread Alan Alpert
I can't speak for Gunnar, but where it's at right now meets basic technical needs* for when you want to present with QML. The initial concept was more for when you want to present with some embedded QML than a full presentation suite. Which means that if you want to take it and run with it, you sho

Re: [Interest] Modal Dialog with QQuickView in Qt5

2013-09-06 Thread Mitchell Verter
got it! use eventloop instead! sorry for clogging up the list! On Fri, Sep 6, 2013 at 6:18 PM, Mitchell Verter wrote: > In Qt4, I was able to implement a modal Keyboard Dialog by doing > > ModalKeyboard::ModalKeyboard(QWidget *parent) : > QDialog(parent) > { > setModal(false); > ke

Re: [Interest] Making an ORM Library

2013-09-06 Thread Muhammad Bashir Al-Noimi
On 09/06/2013 03:32 PM, Michael Dougras Silva wrote: > Hi, > > I am making an ORM library for Qt using the meta-object system to > store informations about the classes to be mapped. I am using defines > like Q_PROPERTY() with parameters that generates inline functions > returning the meta inform

[Interest] QML Presentation System, detailed docs & roadmap?

2013-09-06 Thread Charley Bay
Gunnar's post on his "QML Presentation System" in 2011 was absolutely inspiring, IMHO: http://blog.qt.digia.com/blog/2011/05/30/a-qml-presentation-system/ At the time, (and still now), I viewed this as a *brilliant* application of QML that would ultimately be a better approach for creating present

Re: [Interest] QML-plugins problems, pragmatic development questions

2013-09-06 Thread Alan Alpert
I don't deploy on Windows, but on a related note when I deploy plugins for my mobile apps I usually just set the QML2_IMPORT_PATH to my application directory and install my plugins there. So the application is run like "QML2_IMPORT_PATH=appdir appbinary" and the appdir looks like: appdir/appbinary

Re: [Interest] Compiler Error from moc_MainWindow.cpp

2013-09-06 Thread Karl Ruetz
For your particular case, you should be able to just us a "#undef Bool" after the #include line. Or, if you use Xlib.h in many modules, you can create your own mitchsXlib.h and put this in there. Or, you could grep the Qt4 sources for Xlib.h and see how they did it. Karl On 2013-09-06 1

Re: [Interest] Compiler Error from moc_MainWindow.cpp

2013-09-06 Thread Mitchell Verter
Thanks for your response, Thiago. So your intutiion was correct: the error is coming from exacty a line that says #define Bool int However, this line is located in the the X11 libraries, in Xlib.h. I was using X11 to inject mouse clicks into the application. I had no problems using Xlib.h whe

Re: [Interest] Compiler Error from moc_MainWindow.cpp

2013-09-06 Thread Mitchell Verter
Thanks so much for the hints. I will try to implement these suggestions. On Fri, Sep 6, 2013 at 1:25 PM, Andreas Pakulat wrote: > Hi, > > On Fri, Sep 6, 2013 at 7:09 PM, Mitchell Verter > wrote: > >> Thanks for your response, Thiago. >> >> So your intutiion was correct: the error is coming f

Re: [Interest] Compiler Error from moc_MainWindow.cpp

2013-09-06 Thread Andreas Pakulat
Hi, On Fri, Sep 6, 2013 at 7:09 PM, Mitchell Verter wrote: > Thanks for your response, Thiago. > > So your intutiion was correct: the error is coming from exacty a line > that says > > #define Bool int > > However, this line is located in the the X11 libraries, in Xlib.h. > > I was using X11 to

[Interest] QML-plugins problems, pragmatic development questions

2013-09-06 Thread Charley Bay
I'm having a lot of trouble importing my C++ plugins into my QML files (Win7, Qt5.1.1). With many configurations that I think "should" work, the "import MyPlugin 1.0" within a QML file generates the runtime error message (at the `qmlscene` command line, or within QtCreator): module "MyPlugin" is

Re: [Interest] Qt Webkit and HTML5 geolocation

2013-09-06 Thread Thiago Macieira
On sexta-feira, 6 de setembro de 2013 12:13:32, Tom Isaacson wrote: > I tried running the Qt demo browser in Windows 7 and Linux and neither > worked, but ultimately I want it to work on our embedded Linux device. > We're using Qt 4.8.2 on the device but I can't find any reference to > QtLocation i

Re: [Interest] Breaking news, App steals keyboard focus.

2013-09-06 Thread Thiago Macieira
On sexta-feira, 6 de setembro de 2013 08:25:53, william.croc...@analog.com wrote: > When my app starts up and appears on the screen it steals the > keyboard focus away from whoever has it. (I do not currently > call QWidget::activateWindow()). > > Since this involves the window manager, there is

Re: [Interest] Gestures

2013-09-06 Thread Rutledge Shawn
On 6 Sep 2013, at 3:30 PM, Brad Pepers wrote: > Should it be possible to get gesture events using Qt 5.1.1 on a MacBook Pro > and with a QAbstractScrollArea? I've tried all the combinations I can think > of and none seem to work. The laptop has the nice touch pad where I can do > pinching ge

Re: [Interest] Making an ORM Library

2013-09-06 Thread Bo Thorsen
Den 06-09-2013 15:57, Konstantin Tokarev skrev: > > 06.09.2013, 17:32, "Michael Dougras Silva" : >> Hi, >> >> I am making an ORM library for Qt using the meta-object system to store >> informations about the classes to be mapped. I am using defines like >> Q_PROPERTY() with parameters that genera

Re: [Interest] Making an ORM Library

2013-09-06 Thread Konstantin Tokarev
06.09.2013, 17:32, "Michael Dougras Silva" : > Hi, > > I am making an ORM library for Qt using the meta-object system to store > informations about the classes to be mapped. I am using defines like > Q_PROPERTY() with parameters that generates inline functions returning the > meta information,

Re: [Interest] Making an ORM Library

2013-09-06 Thread Mitch Curtis
On 09/06/2013 03:32 PM, Michael Dougras Silva wrote: > This works for now, but I thinking that all classes to be mapped have to > be QObject derivated, thus store this classes in Qt containers isn't > possible. You could store (smart) pointers to those objects, then they could be stored in Qt con

[Interest] Making an ORM Library

2013-09-06 Thread Michael Dougras Silva
Hi, I am making an ORM library for Qt using the meta-object system to store informations about the classes to be mapped. I am using defines like Q_PROPERTY() with parameters that generates inline functions returning the meta information, helping me to register this informations on meta-object syst

[Interest] Gestures

2013-09-06 Thread Brad Pepers
Should it be possible to get gesture events using Qt 5.1.1 on a MacBook Pro and with a QAbstractScrollArea? I've tried all the combinations I can think of and none seem to work. The laptop has the nice touch pad where I can do pinching gestures and such but I never get a gesture event in my co

[Interest] Breaking news, App steals keyboard focus.

2013-09-06 Thread william.croc...@analog.com
Hello: When my app starts up and appears on the screen it steals the keyboard focus away from whoever has it. (I do not currently call QWidget::activateWindow()). Since this involves the window manager, there is probably not one answer. I am currently running under Gnome on RedHat Enterprise Linu

Re: [Interest] Qt Webkit and HTML5 geolocation

2013-09-06 Thread Tom Isaacson
I tried running the Qt demo browser in Windows 7 and Linux and neither worked, but ultimately I want it to work on our embedded Linux device. We're using Qt 4.8.2 on the device but I can't find any reference to QtLocation in the documentation. Is there something I need to enable, a plug-in I nee

Re: [Interest] how to put several widgets in a row of QListView?

2013-09-06 Thread Sven Putze
Hi, > I plan to use a list view to display mp3 music info. So each row, I'd like to > show > - the song album cover as a picture (Qlabel) > - song title (Qlabel) > - one button for user to download the song > Why not use a QTableView? Best. Sven __