[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    kcontrol patch #4
From:       Carlo Robazza <yoamwmvs () umail ! corel ! com>
Date:       2001-03-26 21:52:17
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi there,

I have five patches to kcontrol that I will be posting to this email
list. I have had to split the work I did into separate patches for each
feature. The original discussion of these features took place in
kde-look but I was asked to post the patches to this list for further
discussion.


Patch #1
------

I have removed the Help tab. Help is still available through each
module's help button. This brings up a dialog box with the help
information.


Patch #2
------

I have removed the Search tab and replaced it with a Search button. The
search button then brings up a dialog box. Unfortunately, the process of
splitting out the patches has slightly broken this feature in that the
search list isn't populated. It worked before and I can't figure out why
it doesn't now. Perhaps someone could take a look at it and figure out
why.


Patch #3
------
I removed the Modules menu as this menu was found to be redundant during
our usability studies. The same list appears in the index tree view.


Patch #4
------

I removed the View menu thereby removing the Icon view mode. The icon
view mode was found to be unintuitive.


Patch #5
------

Display a list of the modules under a category when a category is
selected. This uses a modified AboutWidget that lists the Category and
sub-modules when a category is selected. If a category is selected after
changes were made to a module, the standard message box pops up to let
the user accept or forget their changes. There is one minor bug with
this that I haven't been able to figure out which has to do with
resizing the AboutWidget when a category is selected. If a category is
selected after a module, then the resizing is correct. If a category is
selected on startup or after another category, there is a resizing
problem. However, resizing kcontrol as a whole by dragging an edge
causes a proper resize.


Thanks,

Carlo.
Corel.


[Attachment #5 (text/html)]

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<pre>
Hi there,</pre>
I have five patches to kcontrol that I will be posting to this email list.
I have had to split the work I did into separate patches for each feature.
The original discussion of these features took place in kde-look but I
was asked to post the patches to this list for further discussion.
<br>&nbsp;
<p>Patch #1
<br>------
<p>I have removed the Help tab. Help is still available through each module's
help button. This brings up a dialog box with the help information.
<br>&nbsp;
<p>Patch #2
<br>------
<p>I have removed the Search tab and replaced it with a Search button.
The search button then brings up a dialog box. Unfortunately, the process
of splitting out the patches has slightly broken this feature in that the
search list isn't populated. It worked before and I can't figure out why
it doesn't now. Perhaps someone could take a look at it and figure out
why.
<br>&nbsp;
<p>Patch #3
<br>------
<br>I removed the Modules menu as this menu was found to be redundant during
our usability studies. The same list appears in the index tree view.
<br>&nbsp;
<p>Patch #4
<br>------
<p>I removed the View menu thereby removing the Icon view mode. The icon
view mode was found to be unintuitive.
<br>&nbsp;
<p>Patch #5
<br>------
<p>Display a list of the modules under a category when a category is selected.
This uses a modified AboutWidget that lists the Category and sub-modules
when a category is selected. If a category is selected after changes were
made to a module, the standard message box pops up to let the user accept
or forget their changes. There is one minor bug with this that I haven't
been able to figure out which has to do with resizing the AboutWidget when
a category is selected. If a category is selected after a module, then
the resizing is correct. If a category is selected on startup or after
another category, there is a resizing problem. However, resizing kcontrol
as a whole by dragging an edge causes a proper resize.
<br>&nbsp;
<p>Thanks,
<p>Carlo.
<br>Corel.
<br>&nbsp;</html>

["remove_view_menu.diff" (text/plain)]

? kcontrol.vtg
? kcontrol.vpj
? remove_view_menu.diff
? toplevel.cpp.diff-modulesMenu
Index: kcontrolui.rc
===================================================================
RCS file: /home/kde/kdebase/kcontrol/kcontrol/kcontrolui.rc,v
retrieving revision 1.10
diff -u -w -r1.10 kcontrolui.rc
--- kcontrolui.rc	2001/03/17 01:18:15	1.10
+++ kcontrolui.rc	2001/03/19 16:37:38
@@ -1,16 +1,5 @@
 <!DOCTYPE kpartgui>
 <kpartgui name="kcontrol" version="1">
 <MenuBar>
-    <Menu name="view"><text>&amp;View</text>
-        <Menu name="view_mode"><text>&amp;Mode</text>
-            <Action name="activate_iconview"/>
-            <Action name="activate_treeview"/>
-        </Menu>
-        <Menu name="view_iconsize"><text>Icon &amp;size</text>
-            <Action name="activate_smallicons"/>
-            <Action name="activate_mediumicons"/>
-            <Action name="activate_largeicons"/>
-        </Menu>
-    </Menu>
 </MenuBar>
 </kpartgui>
Index: toplevel.cpp
===================================================================
RCS file: /home/kde/kdebase/kcontrol/kcontrol/toplevel.cpp,v
retrieving revision 1.82
diff -u -w -r1.82 toplevel.cpp
--- toplevel.cpp	2001/03/17 01:18:15	1.82
+++ toplevel.cpp	2001/03/19 16:37:38
@@ -226,7 +226,7 @@
 
   // add menu with the modules
   ModuleMenu *menu = new ModuleMenu(_modules, this);
-  menuBar()->insertItem(i18n("&Modules"), menu, -1, 2);
+  menuBar()->insertItem(i18n("&Modules"), menu, -1, 1);
   connect(menu, SIGNAL(moduleActivated(ConfigModule*)),
           this, SLOT(moduleActivated(ConfigModule*)));
 }


-- 
The address in the headers is not the poster's real email address.  Do not send
private mail to the poster using your mailer's "reply" feature.  CC's of mail 
to mailing lists are OK.  Problem reports to "postmaster@umail.corel.com".  
The poster's email address is "carlor@corel.com".


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic