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. Different look of the main form.

Different look of the main form.

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 372 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
    Sabbjorn
    wrote on last edited by
    #1

    Re: [How to develop nice-looking](visually modern applications in QT?)

    Hello.
    Is it possible to create a different look of the main form of the program? For example, the form could look like a sheet of document or some image and have its shape (something like a splash screen).
    I don't want frames from a standard windows window ... no frames or edges.

    M 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Can you show an example of what you would like to render ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Sabbjorn

        Re: [How to develop nice-looking](visually modern applications in QT?)

        Hello.
        Is it possible to create a different look of the main form of the program? For example, the form could look like a sheet of document or some image and have its shape (something like a splash screen).
        I don't want frames from a standard windows window ... no frames or edges.

        M Offline
        M Offline
        mpergand
        wrote on last edited by mpergand
        #3

        @Sabbjorn said in Different look of the main form.:

        I don't want frames from a standard windows window ... no frames or edges.

        Seems you want a frameless window like this:
        https://forum.qt.io/topic/98385/does-qt-support-mac-style-pop-out-widgets/4

        1 Reply Last reply
        0
        • B Offline
          B Offline
          Bonnie
          wrote on last edited by Bonnie
          #4

          If you want a splash screen, you can simply use

          setWindowFlag(Qt::SplashScreen)
          

          But without the frame you'll not be able to move / resize your window by mouse.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sabbjorn
            wrote on last edited by Sabbjorn
            #5

            For example, I put a random picture from the browser.
            old_papyrus.jpg

            The main form of the program could look like this papyrus. Irregular shape, no window frame, no buttons (minimize, [X]).
            Note that in the upper right corner there is a my exit button.

            /edit
            Bonnie, thanks to your answer, I got the effect I wanted.

            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