![]() KDE Developer ![]()
|
I had heard that, but always assumed it was Gnomish trolling. The only differences I can see between kcontrol and system settings are tree view versus modified icon view. Do people really get frightened by the sight of tree views?
Don't look back! (Or you might see the giants whose shoulders we stand on)
|
![]() Manager ![]()
|
the search in kcontrol is much better (example: if you're in the 'general' tab and search for 'login' nothing will be returned) and the split between 'general' and 'advanced' is too subjective. |
![]() Registered Member ![]()
|
I'm not sure if this is due to differences between system-settings/kcontrol or something else, but in KDE3.x times I always found it most convenient and easiest to find the module I needed by using the Settings submenu in the Kmenu. The one where there's one menu-entry with subfolders for the different categories. As far as I know, that's not possible in KDE4 (not yet anyway).
OpenSUSE 11.4, 64-bit with KDE 4.6.4
Proud to be a member of KDE forums since 2008-Oct. |
![]() KDE Developer ![]()
|
There was one for KDE3, but it hasn't been ported yet: http://extragear.kde.org/apps/kconfigeditor/ Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
![]() Administrator ![]()
|
msoeken: Thanks, will take a look ( when I find some time )
Last edited by bcooksley on Tue Feb 03, 2009 9:40 am, edited 1 time in total.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Administrator ![]()
|
I took a look at it, and it looked pretty good Msoeken. I will look into making it more fully functional.
Last edited by bcooksley on Thu Feb 05, 2009 8:19 am, edited 1 time in total.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Administrator ![]()
|
There is no way two settings applications will be made available in main line. I propose creating a new system settings, with greater flexability ( view is a plugin )
I have created the following structure:
Unfortunately, I have only a small template, and no svn access currently. ( will commit later tomorrow )
Last edited by bcooksley on Thu Feb 05, 2009 9:21 am, edited 1 time in total.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Administrator ![]()
|
The above structure changed a bit. I now have a fully working TreeView. ( It has General and Advanced however, working on fixing that )
I can still not embed Control Modules as of yet.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Mentor ![]()
|
Can you commit it already?
![]() [size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
![]() Administrator ![]()
|
Oops. Done now. revision 922630. Added the directory "src" under your existing one.
Quick Explanation of structure: Core - Library shared between kcontrol4 and its views. currently contains BaseMode ( plugin base ), MenuTree ( Model of control modules ), MenuItem ( Control Module / Category item ), ModuleView ( unimplemented - will handle displaying KCM from MenuItem ) App - Contains kcontrol4 itself. Classic - Contains the classic tree view Icons - Contains the new KDE 4 icon view
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Administrator ![]()
|
I just committed 922652, which fixes the Classic Tree View fully. Now all are needed is a module to display ( or a nice looking view similar to when you click on a category in KInfoCenter )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Mentor ![]()
|
The BaseMode should fire a moduleRequested signal and have a displayModule slot which can be connected. But the creation of the module should not be handeled there. The design problem is, that we do not have a central place for the module page because it is handled in two different ways by the icon and the classic mode.
![]() [size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
![]() Administrator ![]()
|
I agree that the Control Module display should be centralised. However the Tree View just requires the display of one module, while the Icon View has a bar along the side containing all the modules under the selected category.
I am sure there are other design methods as well ( tabs on top/bottom for instance ). Therefore I don't think it can be centralised, but sharing a common class ( ModuleView ) should eliminate the majority of the code duplication. Also a Page with the contained modules needs to be generated when a Category is clicked on for the Tree View. This requires heavy integration with the Tree View. This was why ModuleView was created, so that each one would instantiate it, and pass it the needed MenuItem. They would then handle SideTabs, Category pages, etc. themselves.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Administrator ![]()
|
I looked at KPageDialog, and it turns out that by default, unless forced, it does not display the Side Bar, unless more than one Page has been added. I will look into making it part of core, and controlled by app.
Updates: - The about dialog is now implemented - Views now need to provide the currently selected module or NULL ( for about dialog )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Mentor ![]()
|
Great, how can we share work? Did you already start with ModuleView. If not, I can have a look at it and implement it. I think I got your idea.
![]() [size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size] |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]