How to add an icon in QDialog, but not an icon on a frame, I need to put an icon in this dialog box.
You can use QLabel and set pixmap properties to display the image. This is not an icon, though
I do not use QT very much, so I canβt answer for sure, but here I found some examples:
http://www.trinitydesktop.org/docs/qt4/widgets-icons.html
Hope this helps you.
Source: https://habr.com/ru/post/903276/More articles:Why does C ++ allow but ignore the application of const types to functions? - c ++Binding a string array to a DropDownList? - c #HTML5 canvas: Elements drawn with / cached for drawImage are smoothed when scaled and / or moved - javascriptIs it possible to program the Intel Trusted Platform Module - cryptographyJQuery datepicker allows user to set year - jqueryWhat is the philosophy of creating default instance variables in Scala? - scalacpu_get_usage in php? - benchmarkingXAML - String Array as a Comma Separated String - .net10 second delay between login request and shell. - linuxAndroid: how to populate ListView with alphabetical index and fastscroll, as in contacts application.? - androidAll Articles