To get this popup dialog about unreadable directories:

https://raw.githubusercontent.com/shundhammer/qdirstat/master/screenshots/QDirStat-unreadable-dirs-window.png

XML designer .ui file:

https://github.com/shundhammer/qdirstat/blob/master/src/unreadable-dirs-window.ui

"uic" generates this C++ code from it:

https://paste.opensuse.org/5973882

Usage in my own C++ class:

https://github.com/shundhammer/qdirstat/blob/master/src/UnreadableDirsWindow.h
https://github.com/shundhammer/qdirstat/blob/master/src/UnreadableDirsWindow.cpp


Notice how little Qt-related code is left over in that class; and it's even relatively much because I have my own custom item class for that list widget.


Kind regards
--
Stefan Hundhammer  <[email protected]>
YaST Developer

SUSE Linux GmbH
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)

Reply via email to