Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Porting Graphics App from wxWidgets
Forum Updated to NodeBB v4.3 + New Features

Porting Graphics App from wxWidgets

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 261 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mike Moreton
    wrote on last edited by
    #1

    I have a sort of drawing/painting program that I wrote using wxWidgets but I'm now trying to port across to Qt because there are just too many bugs in wxWidgets.

    The core of the program is displaying and interacting with a 2d graphics area that can be scrolled and resized under user control. There are a large number of different graphics items, some of which are vector type graphics drawn by the program, and some of which are bitmap images.

    Performance is important - well response time to the user. So for example on resize I was doing a "quick and dirty" resize of images, with a more higher quality resize of images happening in a background thread.

    Anti-aliasing and transparency (alpha channel) is also a must. There are no moving graphic elements.

    So I'm pretty new to all this Qt stuff. I think I can handle all the widgets based UI, but I'd really appreciate any pointers on where I should be looking for the graphics side of things. There seem so many options!

    Pl45m4P 1 Reply Last reply
    0
    • M Mike Moreton

      I have a sort of drawing/painting program that I wrote using wxWidgets but I'm now trying to port across to Qt because there are just too many bugs in wxWidgets.

      The core of the program is displaying and interacting with a 2d graphics area that can be scrolled and resized under user control. There are a large number of different graphics items, some of which are vector type graphics drawn by the program, and some of which are bitmap images.

      Performance is important - well response time to the user. So for example on resize I was doing a "quick and dirty" resize of images, with a more higher quality resize of images happening in a background thread.

      Anti-aliasing and transparency (alpha channel) is also a must. There are no moving graphic elements.

      So I'm pretty new to all this Qt stuff. I think I can handle all the widgets based UI, but I'd really appreciate any pointers on where I should be looking for the graphics side of things. There seem so many options!

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @Mike-Moreton said in Porting Graphics App from wxWidgets:

      So I'm pretty new to all this Qt stuff. I think I can handle all the widgets based UI, but I'd really appreciate any pointers on where I should be looking for the graphics side of things. There seem so many options!

      Start here:

      • https://doc.qt.io/qt-6/graphicsview.html

      check out the QGraphicsView examples:

      • https://doc.qt.io/qt-6/examples-graphicsview.html

      And this one for painting on Widgets:

      • https://doc.qt.io/qt-6/qtwidgets-widgets-scribble-example.html

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved