On quinta-feira, 4 de agosto de 2016 04:21:44 PDT Uwe Rathmann wrote:
> Having to write this code without nested loops ( f.e. QDialog::exec() )
> leads to 3 method ...
>
> - before askForOption
> - between askForOption and doYouReallyWantTo
> - after doYouReallyWantTo
>
> ... where you always ha
On Wed, 03 Aug 2016 13:41:51 -0700, Thiago Macieira wrote:
> It's still a source of errors because the nesting counter can be
> incremented in different ways, depending on what triggered the event. So
> the recommendation remains: avoid nesting like the plague.
void doIt()
{
...
int opti
On quinta-feira, 4 de agosto de 2016 00:41:59 PDT Scott Aron Bloom wrote:
> Im playing with the new Bash/WSL for windows 10, and want to create a Qt
> package.
>
> There is no X available, its only CLI based, what configuration options are
> the best for this setup?
The XCB plugin is optional. Ju
Im playing with the new Bash/WSL for windows 10, and want to create a Qt
package.
There is no X available, its only CLI based, what configuration options are the
best for this setup?
Scott
___
Interest mailing list
Interest@qt-project.org
http://lists
On quarta-feira, 3 de agosto de 2016 22:25:32 PDT Konstantin Shegunov wrote:
> On Wed, Aug 3, 2016 at 8:58 PM, Thiago Macieira
>
> wrote:
> > On quarta-feira, 3 de agosto de 2016 11:22:36 PDT Jorge Fierro wrote:
> > > - If QEventLoop::exec() spins the main loop then any event at all can
> > > be
On Wed, Aug 3, 2016 at 8:58 PM, Thiago Macieira
wrote:
> On quarta-feira, 3 de agosto de 2016 11:22:36 PDT Jorge Fierro wrote:
> > - If QEventLoop::exec() spins the main loop then any event at all can
> > be generated. Is this why one must use it very carefully to avoid
> > reentrancy issues?
>
> Sent: Wednesday, August 03, 2016 at 1:22 PM
> From: "Jorge Fierro"
> To: interest@qt-project.org
> Subject: [Interest] Relationship between a QEventLoop and
> QCoreApplication::exec().
>
> Hi. I've been reading through the documentation and mailing list
> archives and I haven't found an autho
On quarta-feira, 3 de agosto de 2016 11:22:36 PDT Jorge Fierro wrote:
> What exactly is the relationship between an event loop entered by
> calling QEventLoop::exec() and *the* main event loop (the one running
> when you can QCoreApplication::exec())?
Both functions as well as QThread::exec() are
Hi. I've been reading through the documentation and mailing list
archives and I haven't found an authoritative and/or conclusive answer to
the following question:
What exactly is the relationship between an event loop entered by
calling QEventLoop::exec() and *the* main event loop (the one running
> Sent: Wednesday, August 03, 2016 at 12:45 PM
> From: "Murphy, Sean"
> To: "interest@qt-project.org"
> Subject: Re: [Interest] Display XML in tree view
>
> > I think that's where you will need to use Roles, if you want different
> > colors
> > for different types of tree elements (element, at
> I think that's where you will need to use Roles, if you want different colors
> for different types of tree elements (element, attibute, cdata, text, etc)
> You'll set item.setData(color, colorRole, and the custom delegate will need to
> extract the color role and draw the text in that color.
I
> For bonus points, I'd love to modify the text colors for syntax highlighting
> tag
> names vs. attribute names vs. attribute values, etc. I don't know if how easy
> it
> is to have multiple colors in a single QModelIndex? A quick search says I
> might
> need to use a delegate for that.
I thin
Hi!
I was just playing around with the "Accessible" attached property and
Mac OS X Voice Over as a screen reader.
The result: It doesn’t work at all.
Neither the focus rectangle is properly displayed nor does changing
the focus trigger any status update on the accessibility side.
I’ve also trie
> That's all right. I wasn't sure if you wanted to display "widget" or something
> else. Something you write previously made me think that might not be what
> you wanted.
Basically I want to just show the raw XML file, in its entirety, but allowing
the
user to expand/collapse the XML nodes.
If y
On Wednesday 03 August 2016 11:29:08 Marco Piccolino wrote:
> Hello,
>
> I was wondering whether Qt3D could be well suited to implement a position-
> and camera-based augmented reality system. Would it be trivial to
> synchronise the camera, sensors and drawing with current APIs or is a lot
> of w
> Sent: Wednesday, August 03, 2016 at 11:26 AM
> From: "Murphy, Sean"
> To: "interest@qt-project.org"
> Subject: Re: [Interest] Display XML in tree view
>
> > Look at Roles. In your case, the displayRole (role 0, default) is "widget"
> > You
> > can add your own roles starting with Qt::UserRol
> Keep in mind that XML files can have sections. Because of
> these and also different encodings etc., it would be quite hard to (always
> correctly) determine the tree-structure of an XML file on a purely textual
> level without actually parsing it.
Yep, thanks for pointing that out, and indeed
> Look at Roles. In your case, the displayRole (role 0, default) is "widget" You
> can add your own roles starting with Qt::UserRole. See roleNames() roles are
> additional data you can attach to the model items.
I'm not sure what roles gets me? Since I'm trying to display a read-only
representat
Keep in mind that XML files can have sections. Because of
these and also different encodings etc., it would be quite hard to (always
correctly) determine the tree-structure of an XML file on a purely textual
level without actually parsing it.
So Jasons suggestion seems to be the best approach to
> Sent: Wednesday, August 03, 2016 at 10:29 AM
> From: "Murphy, Sean"
> To: "interest@qt-project.org"
> Subject: Re: [Interest] Display XML in tree view
>
> > > I'm assuming this solution already exists, but either my google-fu isn't
> > working today, or it doesn't: I'd like to display an XML
> > I'm assuming this solution already exists, but either my google-fu isn't
> working today, or it doesn't: I'd like to display an XML in a tree view, much
> like many XML editing software applications do. All I'm looking for is display
> the raw XML in a read-only tree view, but have the nodes be
> Sent: Tuesday, August 02, 2016 at 11:36 AM
> From: "Murphy, Sean"
> To: "interest@qt-project.org"
> Subject: [Interest] Display XML in tree view
>
> I'm assuming this solution already exists, but either my google-fu isn't
> working today, or it doesn't: I'd like to display an XML in a tree vie
Hello,
I was wondering whether Qt3D could be well suited to implement a position-
and camera-based augmented reality system. Would it be trivial to
synchronise the camera, sensors and drawing with current APIs or is a lot
of work required?
Could it also be done in QML?
thanks
Marco Piccolino
23 matches
Mail list logo