Registered Member
|
How to create standart kde KConfigDialog for pyhton plasmoid?.
C++ API have slot: virtual void createConfigurationInterface (KConfigDialog *parent), rewrite it, and you'll get KConfigDialog object. Python slot createConfigurationInterface(self, parent) don't work, slot showConfigurationInterface(self) work, but it don't give KConfigDialog object. Another way: I try to make configuration with KConfig XT & ui files - all good, it show standart kde config dialog with two sections: settings and hot keys, but how to connect ok & apply buttons to any slot? Analog of C++ slot: virtual void configChanged () - don't work. Even showConfigurationInterface(self) - stop work's, after creation KConfig XT & UI files. Is there way to make python plasmoid with standart kde configuration dialog? |
Registered Member
|
I'm find the way. Use KConfig XT & ui files, for make action when configuration changed write somthing like:
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell