Difference between revisions of "User:Dhaumann"

Jump to: navigation, search
(Kate in KDE5)
Line 1: Line 1:
 
== Kate in KDE5 ==
 
== 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 [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
+
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 );
 
  void display( const QString & message, const QString & details = QString(), Icon icon = Info, int durationMs = 4000 );
 
to
 
to

Revision as of 21:17, 7 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 );

TODO

attic

Setup a KDE4 development environment


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal