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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
__
22 matches
Mail list logo