Bug 439210

Summary: Add in KNS3::DownloadDialog the ability to specify the category name and to hide the ComboBox for categories.
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Alexander Semke <alexander.semke>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexander Semke 2021-06-27 08:59:55 UTC
This feature requested resulted during the discussion in https://phabricator.kde.org/T14532 which on the other hand was triggered by the recent development in Cantor.

Cantor is supporting multiple computer algebra systems and languages ("backends") like Maxima, Octave, R, etc. and we want not to the provide documentation files for these backends via store.kde.org.

In the settings dialog of Cantor there is a dedicated section for every backend. When editing for example the settings of Maxima and downloading the documentation files from store.kde.org via KNS3::DownloadDialog, 
I'd like to automatically select the proper category and I want to see the content for the category "Cantor Documentation (Maxima)" only. To show the user the content from other categories for Octave, R, etc. when he/she is editing the settings for Maxima doesn't make much sense.

Can we add to the APIs of KNS3::DownloadDialog functions to pre-select the category and to hide that ComboBox?