Results 1 to 14 of 14

Thread: Direct connection in QML

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2013
    Location
    Prague
    Posts
    7
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Direct connection in QML

    Hello,

    I am connecting QML object signal to a slot like so:
    Qt Code:
    1. onSignal: slot
    To copy to clipboard, switch view to plain text mode 

    It creates
    Qt Code:
    1. Qt::QueuedConnection
    To copy to clipboard, switch view to plain text mode 
    between the two objects.
    But I want to create
    Qt Code:
    1. Qt::DirectConnection
    To copy to clipboard, switch view to plain text mode 
    between them.

    How can I achieve it? Or is there a code in QML engine that I can tweak?

    Thank you.

    Michal
    Last edited by mfojtak; 14th February 2013 at 15:40.

Similar Threads

  1. Direct QwtPlot painting
    By ssample in forum Qwt
    Replies: 1
    Last Post: 23rd January 2013, 06:41
  2. Replies: 0
    Last Post: 11th November 2011, 19:18
  3. Replies: 1
    Last Post: 2nd April 2010, 06:42
  4. Qt + WINAPI + direct painting
    By JovianGhost in forum Qt Programming
    Replies: 8
    Last Post: 26th March 2010, 05:10
  5. How to use Signal through direct connection
    By santosh.kumar in forum Qt Programming
    Replies: 1
    Last Post: 14th December 2007, 07:07

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.