Results 1 to 9 of 9

Thread: QTextEdit Help Please

  1. #1
    Join Date
    May 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Question QTextEdit Help Please

    I am trying to create a tabbed command line for windows. I have found example code on how to pipe from one console program to another. but I can't get the program to display the windows command line in a console box, which is basically an empty class at the moment that inherits from QTextEdit.

    Any Help would be greatly appreciated,
    Raystorm
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2006
    Posts
    172
    Thanks
    30
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTextEdit Help Please

    Quote Originally Posted by Raystorm
    I am trying to create a tabbed command line for windows.
    what do you mean "tabbed command line"? could you please highlight more?

    Thanks

  3. #3
    Join Date
    Jan 2006
    Location
    South Carolina, USA
    Posts
    34
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTextEdit Help Please

    Quote Originally Posted by nupul
    what do you mean "tabbed command line"? could you please highlight more?

    Thanks
    I believe they mean something like konsole in KDE. Instead of opening individual command prompt windows they want to be able to have one window open with each command prompt process in its own tab.

  4. #4
    Join Date
    May 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QTextEdit Help Please

    What I am trying to do is make a tabbed interface where each tab has its own command line. I'm tired of having to open multiple command line windows, in M$ Window$. So I'm writing a program where I wont have to anymore.

    sorry I wasn't clear enough earlier

  5. #5
    Join Date
    Jan 2006
    Location
    South Carolina, USA
    Posts
    34
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTextEdit Help Please

    Raystorm, I thought this might interest you....


    http://www.promptpal.com/

  6. #6
    Join Date
    May 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Cool Re: QTextEdit Help Please

    That is an odd program but not what I was looking for. If I get Mine it working will be avilable free and open source. But thanks for the Link I'll be sure and take a closer look later.

  7. #7
    Join Date
    Jan 2006
    Location
    South Carolina, USA
    Posts
    34
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTextEdit Help Please

    Quote Originally Posted by Raystorm
    That is an odd program but not what I was looking for. If I get Mine it working will be avilable free and open source. But thanks for the Link I'll be sure and take a closer look later.
    I hope you are successfull
    Last edited by michael; 11th May 2006 at 04:11.

  8. #8
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTextEdit Help Please

    The true problem with M$ window$ is that you can't use the underlying software like in Unix...

    Konsole is just a convenient interface for various shells (which can be performed quite easily through QProcess) while M$ command.com (or cmd.exe, depends on your version of window$) doesn't allow such an interaction AFAIK, at least I failed in implementing it in an earlier version of DevQt and I swear I tried everything I could...
    Current Qt projects : QCodeEdit, RotiDeCode

  9. #9
    Join Date
    May 2006
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Post Re: QTextEdit Help Please

    I've got code that should be farely close to working. I'm using open source QT and DevC++ and I've gotten it down to one lone error message dealing with namespace in my console.h class file. Here is the most current version of my project.

    Thanks for anything/everything,
    Raystorm
    Attached Files Attached Files
    Last edited by Raystorm; 17th May 2006 at 04:53.

Similar Threads

  1. QTextEdit Performance handling large paragraphs
    By netuno in forum Qt Programming
    Replies: 14
    Last Post: 1st September 2010, 22:58
  2. Drawing on QTextEdit
    By jgrauman in forum Qt Programming
    Replies: 3
    Last Post: 7th February 2009, 09:40
  3. QTextEdit slow to insert text
    By thomaspu in forum Qt Programming
    Replies: 4
    Last Post: 10th January 2008, 12:05
  4. QTextEdit API questions (plain text)
    By Gaspar in forum Qt Programming
    Replies: 4
    Last Post: 16th May 2006, 06:03
  5. Obtaining clean (x)html from QTextEdit
    By ccf_h in forum Qt Programming
    Replies: 1
    Last Post: 5th February 2006, 14:47

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.