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

List:       kde-commits
Subject:    kdegraphics/kpdf
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2005-04-13 19:16:52
Message-ID: 20050413191652.D3701492 () office ! kde ! org
[Download RAW message or body]

CVS commit by aacid: 

messageboxes explaining how to get of the presentation mode and why the document is \
going to be launched on presentation mode, of couse they have the typical "don't show \
again". Checking of the wording from a good english speaker would be cool


  M +3 -0      part.cpp   1.37
  M +3 -0      ui/presentationwidget.cpp   1.28


--- kdegraphics/kpdf/part.cpp  #1.36:1.37
@@ -345,5 +345,8 @@ bool Part::openFile()
     // if the 'StartFullScreen' flag is set, start presentation
     if ( m_document->getMetaData( "StartFullScreen" ) == "yes" )
+    {
+        KMessageBox::information(m_presentationWidget, i18n("The document is going \
to be launched on presentation mode because the file requested it."), QString::null, \
"autoPresentationWarning");  slotShowPresentation();
+    }
 
     return true;

--- kdegraphics/kpdf/ui/presentationwidget.cpp  #1.27:1.28
@@ -21,4 +21,5 @@
 #include <kiconloader.h>
 #include <kimageeffect.h>
+#include <kmessagebox.h>
 #include <kwin.h>
 
@@ -280,4 +281,6 @@ void PresentationWidget::paintEvent( QPa
         if ( Settings::slidesShowSummary() )
             generatePage();
+
+        KMessageBox::information(this, i18n("There are two ways of exiting \
presentation mode, you can press either ESC key or click with the quit button that \
appears when placing the mouse in the top-right corner. Of course you can cycle \
windows (Alt+TAB by default)"), QString::null, "presentationInfo");  }
 


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

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