Results 1 to 6 of 6

Thread: Can we make PlaintextEdit a console window?

  1. #1
    Join Date
    Nov 2013
    Posts
    46
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    6

    Default Can we make PlaintextEdit a console window?

    I have two PlaintextEdit’s A and B in my project. A for writing program and for B for displaying output , so I want to make plainTextEdit a console window is it possible?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Can we make PlaintextEdit a console window?

    A QPlainTextEdit can be used to display text. A console window shows text. Conclusion: yes

    Cheers,
    _

  3. #3
    Join Date
    Nov 2013
    Posts
    46
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    6

    Default Re: Can we make PlaintextEdit a console window?

    I mean i want to make B PlaintextEdit a terminal emulator like Qt Command prompt and system Command prompt

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: Can we make PlaintextEdit a console window?

    Doesn't change the fact that this is possible, so the answer to your question is still: yes

    Cheers,
    _

  5. #5
    Join Date
    Nov 2013
    Posts
    46
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    6

    Default Re: Can we make PlaintextEdit a console window?

    So Sir what is the procedure to convert QplaintextEdit to console window?

  6. #6
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 284 Times in 279 Posts

    Default Re: Can we make PlaintextEdit a console window?

    Quote Originally Posted by parulkalra14 View Post
    So Sir what is the procedure to convert QplaintextEdit to console window?
    Uncle Google does not bite. Look at this project

Similar Threads

  1. Console Window In GUI App
    By Hellocat in forum Newbie
    Replies: 1
    Last Post: 26th February 2011, 15:08
  2. Console window?
    By waynew in forum Qt Programming
    Replies: 6
    Last Post: 22nd April 2010, 22:27
  3. Why there is not console window?
    By HelloDan in forum Qt Programming
    Replies: 2
    Last Post: 8th April 2009, 16:02
  4. How to make plainTextEdit autofill to parent window?
    By kid2000 in forum Qt Programming
    Replies: 7
    Last Post: 17th February 2009, 09:59
  5. qt without console window
    By jh in forum Qt Programming
    Replies: 3
    Last Post: 28th January 2006, 20:01

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
  •  
Qt is a trademark of The Qt Company.