Results 1 to 2 of 2

Thread: Copy program with Qt syntax highlighted

  1. #1
    Join Date
    May 2017
    Posts
    6
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Windows

    Question Copy program with Qt syntax highlighted

    Hi everyone,
    I'm asking you if it is possible to copy my code and paste it in Microsoft Word with the highlighted colors like in Qt.
    If it is possible tell me how can i do it.

    Thank you!!

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Copy program with Qt syntax highlighted

    Just copy & paste, it should be the default behaviour, if not try (control+command) / (ctrl+win) + v and select HTML format.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Help with highlighted text implementation
    By JohnToddSr in forum Newbie
    Replies: 0
    Last Post: 13th November 2014, 05:57
  2. How to know whether a pushbutton is highlighted?
    By AmulyaT in forum Qt Programming
    Replies: 10
    Last Post: 5th April 2013, 23:55
  3. How to prevent an icon being highlighted?
    By Stobie in forum Qt Programming
    Replies: 1
    Last Post: 28th January 2010, 10:24
  4. I need run only one copy of program.
    By ivi2501 in forum Qt Programming
    Replies: 2
    Last Post: 28th January 2009, 10:54
  5. QomboBox - activated(), highlighted()
    By Salazaar in forum Newbie
    Replies: 10
    Last Post: 14th June 2007, 12:50

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.