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. Custom window
Forum Updated to NodeBB v4.3 + New Features

Custom window

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.0k 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.
  • B Offline
    B Offline
    beowulf
    wrote on last edited by
    #1

    Hello everyone.

    I want to know how i can make a custom window like that (Photoshop):

    Look the close, widgets:

    !http://i.minus.com/jqEL0RcPMKH69.jpg(http://i.minus.com/jqEL0RcPMKH69.jpg)!

    -- 0x00

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

      You need to either turn off system frame and implement your own (a lot of work), or use platform-specific APIs to do it separately on each supported window manager (a lot of work + not cross-platform). At least that is my current understanding of the matter.

      (Z(:^

      1 Reply Last reply
      0
      • B Offline
        B Offline
        beowulf
        wrote on last edited by
        #3

        Can anyone give me examples, documentation or something to help me?
        I searched and found nothing.

        -- 0x00

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You might find some inspiration in "This thread":http://qt-project.org/forums/viewthread/3331/ or "This thread":http://qt-project.org/forums/viewthread/9134

          Also search the forums and web for keywords like "non-client painting" or "WM_NCPAINT" if you're interested in windows. There's a lot of material about it although not very Qt related since this is always platform dependent task.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            beowulf
            wrote on last edited by
            #5

            Maybe putting the window as splash screen and manipulating events like drag form, resizing, among others. (a difficult job)

            I'll try, new post soon.

            -- 0x00

            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