Re: [Interest] mapToGlobal and mapToLocal

2013-09-17 Thread Mitchell Verter
The first code is: if (button->geometry().contains( button->mapFromGlobal( QPoint(kinect_x, kinect_y This is failing in the nav bar. I made a mistake when I cut and pasted to this email. No error in the code though On Tue, Sep 17, 2013 at 4:47 PM, Mitchell Verter wrote: > I

[Interest] mapToGlobal and mapToLocal

2013-09-17 Thread Mitchell Verter
I have been having issues using mapToLocal and mapToLocal I am wondering whether there are issues with using these functions within laidout components? Laidout within the brower is a navigation bar; laidout within the navigation bar are a series of QPushButtons. Consistently, there is a 100-pixe

[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] 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) > { >

Re: [Interest] Compiler Error from moc_MainWindow.cpp

2013-09-06 Thread Mitchell Verter
when I was using Qt4 but I am having problems in Qt5. Why would this be? What should I do to rectify it? I am reluctant to start chopping away at X11 header files. thanks mitchell On Fri, Aug 30, 2013 at 9:02 PM, Thiago Macieira wrote: > On sexta-feira, 30 de agosto de 2013 16:41:12, Mitch

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

[Interest] How do Events Cascade to Child Widgets

2013-09-04 Thread Mitchell Verter
Hi. I need to inject mouse events into my application. How do I determine where they are occuring? The event will have a specific (x,y) location. So I suppose that I can construct a multilemma conditional to compare the coordinates with the geometry of each Widget. Does that seem right? Will par

[Interest] Compiler Error from moc_MainWindow.cpp

2013-08-30 Thread Mitchell Verter
I am getting errors when the Makefile tries to compile moc_MainWindow.o from moc_MainWindow.cpp. moc_MainWindow.cpp is a generated file so I'm not clear why I am not seeing any errors in previous code. I am using Qt5.1.1 The errors are: moc_MainWindow.cpp:104:50: error: expected unqualified-id b

Re: [Interest] QDeclarativeView in a QDialog

2013-08-26 Thread Mitchell Verter
I meant that my exec was like this: void ModalKeyboard::exec() {keyboard->show(); QDialog::exec(); } and the dialog blocks the keyboard On Mon, Aug 26, 2013 at 5:46 PM, Mitchell Verter wrote: > Hi all, > > So I would like to implement the functionality of QDi

[Interest] QDeclarativeView in a QDialog

2013-08-26 Thread Mitchell Verter
Hi all, So I would like to implement the functionality of QDialog using a QDeclarativeView widget. The input will be coming from my Keyboard and I would like the application to wait until my input is finished. Therefore, I would like to do something like a call to exec(). My constructor is some

[Interest] QML Virtual Keyboard + QWebview Text Inputs?

2013-08-23 Thread Mitchell Verter
Hi. I have designed a Virtual Keyboard using QML and am trying to use it in conjunction with a Qt (not QML) Webview. I've been following the clues given in this posting http://qt-project.org/forums/viewthread/11237 . Namely: (1) Create a custom object and then addToJavaScriptWindowObject

[Interest] Simulating Mouse Click Event?

2013-08-21 Thread Mitchell Verter
How do i simulate a mouse click event from a device that is not the mouse? I can set the mouse position with a motion sensor. Then I would like to send a Left Button Press after one second hover in aspot. However, none of the GUI elements are reacting to the event. = MainWindow voi