KMDI

Andras Mantia amantia at kde.org
Sat Apr 3 23:06:04 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

  I've added locally a feature to KMDI, namely to control if the toolviews
have icons, text or both in non-IDEAl mode. I did it by creating a new
method, KMdiMainFrm::setToolviewStyle, added a KMdi::ToolviewStyle enum. See
the attachement.
 Due to the fact that KDockMainWindow::readDockConfig() reads the icons and
the tab labels from the config file, it means that it's not enough if we
don't set the label/icon when we create the dockwidget, so the label/icon is
cleared in the setToolviewStyle. That may be extended so it puts back the
label/icon. In the current state this must be called after the readDockConfig
while the application is starting up.
 A further idea would be to merge this new method with setIDEAlModeStyle, and
do the correct action depending of the current MDI mode.
 Do you mind if I include such a method in KMDI? Or more generally: does
anybody mind if I work on KMDI? I need some features that are not yet
available and would like to make KMDI more flexible (and of course stable).

Andras

PS: That read/writeDockConfig starts to eat my nerves...
PS2: Take this as a base, I'll make a better version if you agree that I may 
work on KMDI.

- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAbydqTQdfac6L/08RAh8EAKDlwHRFykTlO80QhOgfDyr/F6sKjwCfb9uI
R4zUX32R2NNr64IwTEH4YCQ=
=pJSq
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolviewstyle.cpp
Type: text/x-c++src
Size: 977 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20040403/918a973b/attachment.cpp>


More information about the KDevelop-devel mailing list