To get this popup dialog about unreadable directories: https://raw.githubusercontent.com/shundhammer/qdirstat/master/screenshots/QD... XML designer .ui file: https://github.com/shundhammer/qdirstat/blob/master/src/unreadable-dirs-wind... "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... https://github.com/shundhammer/qdirstat/blob/master/src/UnreadableDirsWindow... 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 <shundhammer@suse.de> YaST Developer SUSE Linux GmbH GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)