Results 1 to 3 of 3

Thread: Copy a log file

  1. #1
    Join Date
    Aug 2009
    Posts
    16
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Copy a log file

    So currently, after my program programs a certain a text file, it writes out a log file that is displayed on a dialog that pops up after programming is done.

    I created a "copy button" in designer to will allow the user to copy the log whenever the button is clicked.

    I'm having a hard time determining code to do this.



    ----

    Also, what's a good way to format the text in html once it populates in the log file dialog.

    Thank you,

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Copy a log file

    To do what exactly? To program the button or to copy the log?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Dec 2006
    Posts
    849
    Thanks
    6
    Thanked 163 Times in 151 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Copy a log file

    and what do you mean with "copy"?
    make a file copy of the log file?, copy it to clipboard (ctrl+c, ctrl+v ...)?

Similar Threads

  1. Windows file copy in progress, how can I tell?
    By tgreaves in forum Qt Programming
    Replies: 4
    Last Post: 23rd February 2009, 17:42
  2. Copy a File over the Network
    By raphaelf in forum Qt Programming
    Replies: 4
    Last Post: 17th June 2008, 12:36
  3. copy and run a .exe file in another system
    By sabeesh in forum Installation and Deployment
    Replies: 3
    Last Post: 22nd August 2007, 10:05
  4. Copy a file?
    By whitefurrows in forum Qt Programming
    Replies: 2
    Last Post: 27th July 2007, 21:05
  5. Replies: 4
    Last Post: 24th February 2006, 10:30

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.