Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. ms paint in qml
Forum Updated to NodeBB v4.3 + New Features

ms paint in qml

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 505 Views 3 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.
  • S Offline
    S Offline
    satyanarayana143
    wrote on last edited by
    #1

    Hi friends,

    I want to embed ms paint in qml application how to embed any suggestions.
    or embed Qwidget in qml any code

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I want to embed ms paint in qml application how to embed any suggestions.

      You mean to embed an actual MS Paint application? Or just to do "something like MS Paint" in QML?

      If the former - I have no idea.

      If the latter - take a look at QML Canvas or (better) use QQuickPaintedItem. You can also get good results with base QQuickItem but it will be much harder to do.

      or embed Qwidget in qml any code

      This is not supported, as far as I know. You can get something to work, though, see: https://forum.qt.io/topic/63057/using-a-qt-5-widget-within-a-qml-application/5

      (Z(:^

      1 Reply Last reply
      1
      • S Offline
        S Offline
        satyanarayana143
        wrote on last edited by
        #3

        @sierdzio said in ms paint in qml:

        MS Paint application

        actual MS Paint application in qml

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          It's probably impossible, then.

          (Z(:^

          1 Reply Last reply
          0
          • fcarneyF Offline
            fcarneyF Offline
            fcarney
            wrote on last edited by
            #5

            You could launch ms paint to edit a file from within your application (or any paint program). Then when it closes you can load the edited file into your app. This makes a lot of assumptions about what the user does with the paint application though. You would need a way to monitor the paint app (QProcess).

            C++ is a perfectly valid school of magic.

            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