Results 1 to 3 of 3

Thread: what`s this special document?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2012
    Posts
    248
    Thanks
    29
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default what`s this special document?

    Hi!

    I came across this decompiler product today, which is written in Qt. It`s using a very nice ways of displaying code and cross references, using a couple of advanced text-features i`d like to use in my product, too:

    first pic:
    https://gs1.wac.edgecastcdn.net/8019...fvro1_1280.png

    Note how the column in the textbox are nicely aligned <address><hex numbers><instruction text>. How can i have formatted text columns like that?

    2)
    https://gs1.wac.edgecastcdn.net/8019...fvro3_1280.png
    a control graph. We are using graphs in our toool, too, using QgraphicsScene + graphvic, etc. However, the connections are not as .... elegant as here. Does anyone know what the author used?

    3)
    http://hopperapp.tumblr.com/image/21642432684
    here you can see advanced hover-over, where another portion of the textbox content is shown when hovering over a link of some sort in the tooltip:
    -how to create such a link and how to show the hover-over like that?

    And the most important question: see the cross-reference lines on the left side of the textbox? Pretty amazing, how can i visualize connection between single rows like that!? Right now we are using a seperate, custom drawn widget to display these lines and draw them int he paintevent().


    I had a look at the QDocument(), QTextDocumetn(), QTextFrame(), QTextFrameFormat.., etc and the examples that ship with QtCreator 260, but didnt really find anything.
    I am looking for classes of the qt framework that were used to create this.

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

    Default Re: what`s this special document?

    Quote Originally Posted by tuli View Post
    Note how the column in the textbox are nicely aligned <address><hex numbers><instruction text>. How can i have formatted text columns like that?
    Fixed width font and tabulations or HTML.

    a control graph. We are using graphs in our toool, too, using QgraphicsScene + graphvic, etc. However, the connections are not as .... elegant as here. Does anyone know what the author used?
    Hard to say, it can be anything ranging from a custom widget, QGraphicsView to a custom graphing library.

    here you can see advanced hover-over, where another portion of the textbox content is shown when hovering over a link of some sort in the tooltip:
    -how to create such a link and how to show the hover-over like that?
    It's probably a regular tooltip containing HTML shown using QToolTip::showText() from within tooltip event handler.

    And the most important question: see the cross-reference lines on the left side of the textbox? Pretty amazing, how can i visualize connection between single rows like that!?
    It's probably a custom widget placed on the left of the viewport of the text edit.
    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
    Jul 2012
    Posts
    248
    Thanks
    29
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: what`s this special document?

    thanks, i ll have a look at all that.

Similar Threads

  1. document collaboration
    By shaan in forum Qt-based Software
    Replies: 1
    Last Post: 15th November 2010, 05:31
  2. Help document
    By weixj2003ld in forum Qt Programming
    Replies: 5
    Last Post: 17th May 2009, 12:04
  3. open a document
    By peace_comp in forum Qt Programming
    Replies: 5
    Last Post: 30th June 2008, 07:08
  4. Special Dialog
    By avis_phoenix in forum Qt Programming
    Replies: 2
    Last Post: 29th September 2006, 06:05

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.