The path of the image attributes, but also can choose, how to implement QtPropertyBrowser
CodePudding user response:
I before QT code to load the pictures, so is:QString src_file0="";
Src_file0=UI - & gt; LineEdit_src - & gt; The text ();//file path name
QImage * image01=new QImage (src_file0);
Can an operating system file path directly,
CodePudding user response:
The code reference QIcon managerTheir overloaded corresponding factory manager and editor, and then set the factory and the manager to the attributes above the browser instance
CodePudding user response:
Specific zha get ah, is there any sample code, a great godCodePudding user response:
Need a custom controls, and then set the propertybrowsermanager then you can refer to https://doc.qt.io/archives/qq/qq18-propertybrowser.html#extendingtheframework