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. How to make a customize messagebox ?
Forum Updated to NodeBB v4.3 + New Features

How to make a customize messagebox ?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 364 Views
  • 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.
  • C Offline
    C Offline
    chris_rookie
    wrote on last edited by
    #1

    How to make a customize messagebox ? It can resize for content.

    JonBJ 1 Reply Last reply
    0
    • C chris_rookie

      How to make a customize messagebox ? It can resize for content.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @chris_rookie
      Either try sending large text to QMessageBox and see what it looks like (it may resize, I don't know), or roll your own via QDialog which does whatever you want.

      C 1 Reply Last reply
      1
      • JonBJ JonB

        @chris_rookie
        Either try sending large text to QMessageBox and see what it looks like (it may resize, I don't know), or roll your own via QDialog which does whatever you want.

        C Offline
        C Offline
        chris_rookie
        wrote on last edited by
        #3

        @JonB
        It should, I wanna make a general customize messagebox. It can be used on all condition, just like the QMessageBox.
        I just how to resize QDialog's size dynamic。

        JonBJ 1 Reply Last reply
        0
        • C chris_rookie

          @JonB
          It should, I wanna make a general customize messagebox. It can be used on all condition, just like the QMessageBox.
          I just how to resize QDialog's size dynamic。

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @chris_rookie
          I believe you'll find that QDialog already has "dynamic" size/resizes to accommodate oversized content. Have you tried it?

          C 1 Reply Last reply
          0
          • JonBJ JonB

            @chris_rookie
            I believe you'll find that QDialog already has "dynamic" size/resizes to accommodate oversized content. Have you tried it?

            C Offline
            C Offline
            chris_rookie
            wrote on last edited by
            #5

            @JonB
            ok.
            I'll try it now.

            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