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. Substitute of QDesktopWidget

Substitute of QDesktopWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.2k Views 1 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.
  • J Offline
    J Offline
    Jeronimo
    wrote on last edited by Jeronimo
    #1

    Hi i am trying to show my photos in my program developed in QT. But this example is outdate i'm using QDesktopWidget for qt 5.7. So which is the new class you recommend me? Sorry it's because i want to edit my pictures with QT and take some type of effects.
    Code:

    imagen1 = new QImage(QApplication::desktop()->width(),QApplication::desktop()->height(),QImage::Format_RGB32);
        imagen1->fill(QColor(0,0,0).rgba());
        sincroniza = 0;
    

    Good bye!

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! What do you mean by "outdated"? Looking at http://doc.qt.io/qt-5/qdesktopwidget.html, QDesktopWidget looks okay to me.

      J 1 Reply Last reply
      2
      • ? A Former User

        Hi! What do you mean by "outdated"? Looking at http://doc.qt.io/qt-5/qdesktopwidget.html, QDesktopWidget looks okay to me.

        J Offline
        J Offline
        Jeronimo
        wrote on last edited by Jeronimo
        #3

        @Wieland I was thinking that the class was outdated but not.

        1 Reply Last reply
        0

        • Login

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