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. Using QFontDialog
Qt 6.11 is out! See what's new in the release blog

Using QFontDialog

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 243 Views 2 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.
  • O Offline
    O Offline
    oneeyeman1
    wrote on last edited by
    #1

    Hi,
    How do I create QFontDialog without buttons?

    I have a notebook where one of the panels should contain such control.

    The notebook is placed on the dialog which will have OK, Cancel and Apply buttons so there is no need for buttons.

    The usage in the docs will display buttons.

    Thank you.

    jsulmJ 1 Reply Last reply
    0
    • O oneeyeman1

      Hi,
      How do I create QFontDialog without buttons?

      I have a notebook where one of the panels should contain such control.

      The notebook is placed on the dialog which will have OK, Cancel and Apply buttons so there is no need for buttons.

      The usage in the docs will display buttons.

      Thank you.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @oneeyeman1 https://doc.qt.io/qt-6/qfontdialog.html#setOption
      QFontDialog::NoButtons

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • O Offline
        O Offline
        oneeyeman1
        wrote on last edited by
        #3

        Hi,
        I called that.

        However when I called the dialog with that notebook, the font dialog with buttons shows up first as modal and then my dialog shows with empty panels shows.

        Thank you.

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

          Hi,

          Please provide a minimal compilable example that shows that behavior.

          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

          • Login

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