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 does QT achieve the effect of MFC Edit Brower Control?
QtWS25 Last Chance

How does QT achieve the effect of MFC Edit Brower Control?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 315 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.
  • K Offline
    K Offline
    Kevin_Zhou
    wrote on last edited by
    #1

    How does QT achieve the effect of MFC Edit Brower Control? As shown below,

    170055d9-f14a-4dfc-b28c-c8dbe4b83806-image.png

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      What exactly do you mean? The push button at the end? You have to compose it by your own (QLineEdit + QPushButton)

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      K 1 Reply Last reply
      3
      • Christian EhrlicherC Christian Ehrlicher

        What exactly do you mean? The push button at the end? You have to compose it by your own (QLineEdit + QPushButton)

        K Offline
        K Offline
        Kevin_Zhou
        wrote on last edited by
        #3

        @Christian-Ehrlicher The CMFCEditBrowseCtrl class supports the edit browse control, which is an editable text box that optionally contains a browse button. When the user clicks the browse button, the control performs a custom action or displays a standard dialog box that contains a file browser or a folder browser.

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

          Hi,

          Beside the suggestion of @Christian-Ehrlicher, you can also use the specialized addAction of QLineEdit for that purpose.

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

          Christian EhrlicherC 1 Reply Last reply
          4
          • SGaistS SGaist

            Hi,

            Beside the suggestion of @Christian-Ehrlicher, you can also use the specialized addAction of QLineEdit for that purpose.

            Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @SGaist I knew there was something like this but did not find it :)

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            2

            • Login

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