User:Dhaumann: Difference between revisions

From KDE TechBase
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
todo: integrate (+ validate for kde4) those pages into sane locations ;)
== Kate in KDE5 ==
* Common Programming Mistakes
: hey, the first one we have not ported yet. should be moved for kde4 into [[Development/Tutorials]] (TODO)
:: Thinking more about it, it could be an extension of [[Policies/Library_Code_Policy]], i.e. as subpage like [[Policies/Library_Code_Policy/Common Mistakes]] (although it's not only about libraries...)
* KDE Developer's Checklist
: looks very old. if migrated, please fix it for kde3 or even kde4 (TODO)
* What is Scripty?
: indeed a TODO :)


see: http://developer.kde.org/documentation/other/index.html
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 );


== Reviewed Articles ==
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.
* [[Development/Tutorials/KDE4 Porting Guide]]
* [[Development/Tutorials/CMake]]
* [[Development/Tutorials/Common Programming Mistakes]]
* [[Development/Tutorials/Using Qt Designer]]


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


{| border="1" cellpadding="5" cellspacing="0" style="border: gray solid 1px; border-collapse: collapse; text-align: left; width: 100%;"
== TODO ==
|- style="background: #ececec; text-align:center; font-weight:bold;"
* Excellent Articles
| Status
* Featured Articles
| Project
* http://de.wikipedia.org/wiki/Wikipedia:Wie_schreibe_ich_gute_Artikel
| style="width:100px"; | Description
* http://en.wikipedia.org/wiki/Wikipedia:Writing_better_articles
| Contact
* http://de.wikipedia.org/wiki/Wikipedia:Exzellente_Artikel
|-
* http://en.wikipedia.org/wiki/Wikipedia:Featured_articles
| style="text-align:center;" bgcolor="#ddffdd" | DONE
* http://en.wikibooks.org/wiki/MediaWiki_Administrator%27s_Handbook/Editing_in_the_MediaWiki_Namespace
| Kate
 
| Refactor some code.
== attic ==
| contact
[[/Compiling KDE4|Setup a KDE4 development environment]]
|-
| style="text-align:center;" bgcolor="#ffdead" | IN PROGRESS
| Kate
| Separate more functionality from KateDocument. Bla bla...
| Contact
|-
| style="text-align:center;" bgcolor="#ffabab" | TODO
| Kate
| Fix the code completion interface.
| Contact
|}

Latest revision as of 20:34, 25 June 2011

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.

Kate Cleanups

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

TODO

attic

Setup a KDE4 development environment