Difference between revisions of "User:Dhaumann"

Jump to: navigation, search
m
(Kate in KDE5)
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
My scratch pad :) This is just my personal todo and notes page for now, otherwise I'll forget important things.
+
== Kate in KDE5 ==
  
 +
Use Okular / [https://projects.kde.org/projects/extragear/multimedia/amarok/repository/revisions/master/annotate/src/widgets/Osd.h Amarok's] passive popup class to display things like "13 replacements done" or "Document successfully loaded". The needed class is PageViewMessage in the files [https://projects.kde.org/projects/kde/kdegraphics/okular/repository/revisions/master/entry/ui/pageviewutils.cpp pageviewutils.cpp] and [https://projects.kde.org/projects/kde/kdegraphics/okular/repository/revisions/master/entry/ui/pageviewutils.h pageview.h]. Maybe it is a good idea to alter the function slightly from
 +
void display( const QString & message, const QString & details = QString(), Icon icon = Info, int durationMs = 4000 );
 +
to
 +
void display( const QString & message, const QString & details = QString(), Icon icon = Info, Qt::Corner corner = Qt::TopLeft, durationMs = 4000 );
  
syntax highlighting for code blocks.
+
Maybe [http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKPassivePopup.html KPassivePopup] works, too. It can show arbitrary widgets as content. But it's more ugly.
<nowiki>
+
 
<highlightSyntax language="cpp">
+
== Kate Cleanups ==
</highlightSyntax>
+
KateDocManager derives from QStandardItemModel. Since the view is a plugin now, this should be converted back to a simple list.
</nowiki>
+
 
 +
== TODO ==
 +
* Excellent Articles
 +
* Featured Articles
 +
* http://de.wikipedia.org/wiki/Wikipedia:Wie_schreibe_ich_gute_Artikel
 +
* http://en.wikipedia.org/wiki/Wikipedia:Writing_better_articles
 +
* http://de.wikipedia.org/wiki/Wikipedia:Exzellente_Artikel
 +
* http://en.wikipedia.org/wiki/Wikipedia:Featured_articles
 +
* http://en.wikibooks.org/wiki/MediaWiki_Administrator%27s_Handbook/Editing_in_the_MediaWiki_Namespace
 +
 
 +
== attic ==
 +
[[/Compiling KDE4|Setup a KDE4 development environment]]

Latest revision as of 21:34, 25 June 2011

Contents

[edit] Kate in KDE5

Use Okular / Amarok's passive popup class to display things like "13 replacements done" or "Document successfully loaded". The needed class is PageViewMessage in the files pageviewutils.cpp and pageview.h. Maybe it is a good idea to alter the function slightly from

void display( const QString & message, const QString & details = QString(), Icon icon = Info, int durationMs = 4000 );

to

void display( const QString & message, const QString & details = QString(), Icon icon = Info, Qt::Corner corner = Qt::TopLeft, durationMs = 4000 );

Maybe KPassivePopup works, too. It can show arbitrary widgets as content. But it's more ugly.

[edit] Kate Cleanups

KateDocManager derives from QStandardItemModel. Since the view is a plugin now, this should be converted back to a simple list.

[edit] TODO

[edit] attic

Setup a KDE4 development environment


This page was last modified on 25 June 2011, at 21:34. This page has been accessed 30,062 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal