How does QT achieve the effect of MFC Edit Brower Control?
-
How does QT achieve the effect of MFC Edit Brower Control? As shown below,
-
What exactly do you mean? The push button at the end? You have to compose it by your own (QLineEdit + QPushButton)
-
What exactly do you mean? The push button at the end? You have to compose it by your own (QLineEdit + QPushButton)
@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.
-
Hi,
Beside the suggestion of @Christian-Ehrlicher, you can also use the specialized addAction of QLineEdit for that purpose.
-
Hi,
Beside the suggestion of @Christian-Ehrlicher, you can also use the specialized addAction of QLineEdit for that purpose.
@SGaist I knew there was something like this but did not find it :)