[kde-doc-english] [kolourpaint] doc: remove unused entities kappname + package

2016-07-25 Thread Burkhard Lück
Git commit 936754cbc2cb9ac5c4b908cd95abaa6844813016 by Burkhard Lück.
Committed on 26/07/2016 at 04:52.
Pushed by lueck into branch 'master'.

remove unused entities kappname + package
bump date + releaseinfo
remove obsolete appendix
screenshot already updated
proofread
REVIEW:128516

M  +3-34   doc/index.docbook

http://commits.kde.org/kolourpaint/936754cbc2cb9ac5c4b908cd95abaa6844813016

diff --git a/doc/index.docbook b/doc/index.docbook
index b80cca7..f9f3778 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1,13 +1,11 @@
 
 
   ClarenceDang">
   d...@kde.org">
   ThurstonDang">
   thurston_d...@users.sourceforge.net">
-  
   
   
 ]>
@@ -48,12 +46,12 @@
 
 &FDLNotice;
 
-2011-04-03
-&kde; 4.7
+2016-07-25
+Applications 16.08
 
 
 
-&kolourpaint; is a free, easy-to-use paint program for &kde;.
+&kolourpaint; is a free, easy-to-use paint program by &kde;.
 
 
 
@@ -1487,35 +1485,6 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
SUCH DAMAGE.
 
 
 
-
-Installation
-
-How to obtain &kolourpaint;
-
-&install.intro.documentation;
-
-More frequent releases with support for previous versions of &kde; are
-available at http://kolourpaint.sourceforge.net/";>http://kolourpaint.sourceforge.net/.
-
-
-
-
-Compilation and Installation
-
-
-
-If you are reading this help in the &khelpcenter;, then &kolourpaint; has 
already been
-installed on this system and you do not need to follow these generic 
instructions.
-
-
-
-&install.compile.documentation;
-
-
-
-
-
 &documentation.index;
 
 
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kolourpaint/frameworks] /: Merge branch 'master' into frameworks

2015-09-24 Thread Alexander Potashev
Git commit 6aa2d5104810978311d5ef6b57aabeda5c8cb9b0 by Alexander Potashev.
Committed on 25/09/2015 at 02:49.
Pushed by aspotashev into branch 'frameworks'.

Merge branch 'master' into frameworks

M  +241  -419  CMakeLists.txt
M  +3-0doc/index.docbook
M  +2-0mainWindow/kpMainWindow.h
M  +3-1mainWindow/kpMainWindowPrivate.h
M  +14   -19   mainWindow/kpMainWindow_File.cpp

http://commits.kde.org/kolourpaint/6aa2d5104810978311d5ef6b57aabeda5c8cb9b0

diff --cc CMakeLists.txt
index 8cf343a,d311063..eb299e5
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@@ -27,6 -7,17 +27,17 @@@ find_package(KF5 REQUIRED COMPONENT
  find_package(QImageBlitz REQUIRED)
  add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
  
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules)
 -find_package(KSane)
++# find_package(KSane)
+ 
+ if(KSANE_FOUND)
+ include_directories(${KSANE_INCLUDE_DIR})
+ add_definitions(-DHAVE_KSANE=1)
+ else(KSANE_FOUND)
+ add_definitions(-DHAVE_KSANE=0)
+ endif(KSANE_FOUND)
+ 
+ 
  include_directories(
  
  # GENERATED BY ./gen_cmake_include_dirs
@@@ -200,135 -203,145 +209,146 @@@ set(kolourpaint_lib1_SRC
  )   # kolourpaint_lib1_SRCS
  
  set(kolourpaint_lib2_SRCS
- ${CMAKE_CURRENT_SOURCE_DIR}/kolourpaint.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/kpThumbnail.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/kpViewScrollableContainer.cpp
- 
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpAbstractImageSelection.cpp
- 
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpEllipticalImageSelection.cpp
- 
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpFreeFormImageSelection.cpp
- 
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpImageSelectionTransparency.cpp
- 
${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpRectangularImageSelection.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpAbstractSelection.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpSelectionDrag.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpSelectionFactory.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection_Cursor.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection_Paint.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextStyle.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpPreeditText.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/layers/tempImage/kpTempImage.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Colors.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Edit.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_File.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Image.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Settings.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_StatusBar.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Text.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Tools.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View_Thumbnail.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View_Zoom.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_DrawShapes.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_GetSetPixmapParts.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_Transforms.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolBrush.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolColorEraser.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolEraser.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowBase.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowPixmapBase.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolPen.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolSpraycan.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolAction.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolColorPicker.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Drawing.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolFloodFill.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_KeyboardEvents.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_MouseEvents.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_OtherEvents.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_UserNotifications.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Utilities.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolZoom.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolCurve.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolLine.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolygonalBase.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolygon.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolyline.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolEllipse.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolRectangle.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/tools/r

[kde-doc-english] [kolourpaint] doc: Add Copy to File documentation as it was ointed by Henry Schaffer

2015-08-24 Thread Yuri Chornoivan
Git commit b2b86aa8ed84fface57165cc221f5e9959a8e051 by Yuri Chornoivan.
Committed on 24/08/2015 at 14:00.
Pushed by yurchor into branch 'master'.

Add Copy to File documentation as it was ointed by Henry Schaffer

M  +3-0doc/index.docbook

http://commits.kde.org/kolourpaint/b2b86aa8ed84fface57165cc221f5e9959a8e051

diff --git a/doc/index.docbook b/doc/index.docbook
index c0cc8e8..522e7e3 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -754,6 +754,9 @@ setting other than Exact.
 You can apply Image Effects to a selection - see the Image Effects section for more
 information.
+
+It is possible to save selection to file using the Copy to 
File... item from the selection context menu or 
EditCopy to 
File... item from the main menu.
+
 
 
 
___
kde-doc-english mailing list
kde-doc-english@kde.org
https://mail.kde.org/mailman/listinfo/kde-doc-english


[kde-doc-english] [kolourpaint/frameworks] doc: Fix docbook

2014-12-31 Thread Montel Laurent
Git commit fc5706ecfba86f73988134b17931b2de34e547e6 by Montel Laurent.
Committed on 31/12/2014 at 08:17.
Pushed by mlaurent into branch 'frameworks'.

Fix docbook

M  +1-1doc/index.docbook

http://commits.kde.org/kolourpaint/fc5706ecfba86f73988134b17931b2de34e547e6

diff --git a/doc/index.docbook b/doc/index.docbook
index c0cc8e8..256375c 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1,5 +1,5 @@
 
-
   ClarenceDang">


[kde-doc-english] KolourPaint

2014-12-29 Thread Freek de Kruijf
Op maandag 29 december 2014 19:13:17 schreef Ivor West:
> When a KolourPaint image is pasted into a text document and the document is
> then closed, why does the image appear with a border around it when the
> document is re-opened? I want unbordered images.


This mail list is about English KDE documentation and does not cover the 
subject of your question. Try another mail list where people help each other 
with these questions.

-- 
fr.gr.

Freek de Kruijf



[kde-doc-english] KolourPaint

2014-12-29 Thread Ivor West
An HTML attachment was scrubbed...
URL: 



[kde-doc-english] [kolourpaint/KDE/4.12] doc: minimum allowed zoom level for the grid was changed from 600% to 400%

2013-12-24 Thread Burkhard Lück
Git commit 7b0900130ed1469258554edb89883b948341399f by Burkhard L?ck.
Committed on 29/11/2013 at 14:28.
Pushed by lueck into branch 'KDE/4.12'.

minimum allowed zoom level for the grid was changed from 600% to 400%
(cherry picked from commit 9b482b142c072077cdd9707b8dce0becb86454cd)
backport to 4.12.1

M  +1-1doc/index.docbook

http://commits.kde.org/kolourpaint/7b0900130ed1469258554edb89883b948341399f

diff --git a/doc/index.docbook b/doc/index.docbook
index 68c7e8c..c0cc8e8 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -993,7 +993,7 @@ At zoom levels that aren't multiples of 100%, parts of the 
image may appear to m
 
 
 
-At zoom levels of 600% or greater that are also multiples of 100%, you 
can Show Grid to more accurately edit individual 
pixels.
+At zoom levels of 400% or greater that are also multiples of 100%, you 
can Show Grid to more accurately edit individual 
pixels.
 
 
 


[kde-doc-english] [kolourpaint] doc: minimum allowed zoom level for the grid was changed from 600% to 400%

2013-11-29 Thread Burkhard Lück
Git commit 9b482b142c072077cdd9707b8dce0becb86454cd by Burkhard L?ck.
Committed on 29/11/2013 at 14:28.
Pushed by lueck into branch 'master'.

minimum allowed zoom level for the grid was changed from 600% to 400%

M  +1-1doc/index.docbook

http://commits.kde.org/kolourpaint/9b482b142c072077cdd9707b8dce0becb86454cd

diff --git a/doc/index.docbook b/doc/index.docbook
index 68c7e8c..c0cc8e8 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -993,7 +993,7 @@ At zoom levels that aren't multiples of 100%, parts of the 
image may appear to m
 
 
 
-At zoom levels of 600% or greater that are also multiples of 100%, you 
can Show Grid to more accurately edit individual 
pixels.
+At zoom levels of 400% or greater that are also multiples of 100%, you 
can Show Grid to more accurately edit individual 
pixels.
 
 
 


[kde-doc-english] [kolourpaint] /: Add "screenshot" action to file menu

2011-03-26 Thread Martin Koller
Git commit 6108bd8343c14f58e9d6c9df500066d6b44f4f6a by Martin Koller.
Committed on 25/03/2011 at 23:15.
Pushed by mkoller into branch 'master'.

Add "screenshot" action to file menu

FEATURE: 179658
GUI:

M  +0-2CMakeLists.txt 
M  +2-5kolourpaintui.rc 
M  +0-2mainWindow/kpMainWindow.cpp 
M  +2-15   mainWindow/kpMainWindow.h 
M  +1-1mainWindow/kpMainWindowPrivate.h 
M  +38   -11   mainWindow/kpMainWindow_File.cpp 
D  +0-223  mainWindow/kpMainWindow_Help.cpp 

http://commits.kde.org/kolourpaint/6108bd8343c14f58e9d6c9df500066d6b44f4f6a

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 39b00cc..4b8cdbb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -212,7 +212,6 @@ 
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Colors.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Edit.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_File.cpp
-${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Help.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Image.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Settings.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_StatusBar.cpp
@@ -434,7 +433,6 @@ 
${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Colors.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Edit.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_File.cpp
-${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Help.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Image.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Settings.cpp
 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_StatusBar.cpp
diff --git a/kolourpaintui.rc b/kolourpaintui.rc
index e7ed0fc..e8b550b 100644
--- a/kolourpaintui.rc
+++ b/kolourpaintui.rc
@@ -4,7 +4,7 @@ SYNC: Do not change the number of quotes before the version 
number
   - it is parsed by the KolourPaint wrapper shell script (in standalone
   backport releases of KolourPaint)
 -->
-
+
 
 
 
 
+
 
 
 
@@ -115,10 +116,6 @@ SYNC: Check for duplicate actions in menus caused by some 
of our actions
 
 
 
-
-
-
-
 
 
 
diff --git a/mainWindow/kpMainWindow.cpp b/mainWindow/kpMainWindow.cpp
index 1439dec..a159509 100644
--- a/mainWindow/kpMainWindow.cpp
+++ b/mainWindow/kpMainWindow.cpp
@@ -607,7 +607,6 @@ void kpMainWindow::setupActions ()
 setupImageMenuActions ();
 setupColorsMenuActions ();
 setupSettingsMenuActions ();
-setupHelpMenuActions ();
 
 setupTextToolBarActions ();
 setupToolActions ();
@@ -624,7 +623,6 @@ void kpMainWindow::enableDocumentActions (bool enable)
 enableImageMenuDocumentActions (enable);
 enableColorsMenuDocumentActions (enable);
 enableSettingsMenuDocumentActions (enable);
-enableHelpMenuDocumentActions (enable);
 }
 
 //-
diff --git a/mainWindow/kpMainWindow.h b/mainWindow/kpMainWindow.h
index 586d1a4..b0ad9a9 100644
--- a/mainWindow/kpMainWindow.h
+++ b/mainWindow/kpMainWindow.h
@@ -346,6 +346,8 @@ private slots:
 void slotScan ();
 void slotScanned (const QImage &image, int);
 
+void slotScreenshot();
+
 void slotProperties ();
 
 bool save (bool localOnly = false);
@@ -700,23 +702,8 @@ public:
 void setTextStyle (const kpTextStyle &textStyle_);
 int settingTextStyle () const;
 
-
-//
-// Help Menu
-//
-
-private:
-void setupHelpMenuActions ();
-void enableHelpMenuDocumentActions (bool enable = true);
-
-private slots:
-void slotHelpTakingScreenshots ();
-void slotHelpTakingScreenshotsFollowLink (const QString &link);
-
-
 private:
 struct kpMainWindowPrivate *d;
 };
 
-
 #endif  // KP_MAIN_WINDOW_H
diff --git a/mainWindow/kpMainWindowPrivate.h b/mainWindow/kpMainWindowPrivate.h
index 322b12e..a0f5d9d 100644
--- a/mainWindow/kpMainWindowPrivate.h
+++ b/mainWindow/kpMainWindowPrivate.h
@@ -120,7 +120,7 @@ struct kpMainWindowPrivate
 
 QAction *actionNew, *actionOpen;
 KRecentFilesAction *actionOpenRecent;
-KAction *actionScan, *actionProperties,
+KAction *actionScan, *actionScreenshot, *actionProperties,
 *actionSave, *actionSaveAs, *actionExport,
 *actionReload,
 *actionPrint, *actionPrintPreview,
diff --git a/mainWindow/kpMainWindow_File.cpp b/mainWindow/kpMainWindow_File.cpp
index b7de7d8..b2e4417 100644
--- a/mainWindow/kpMainWindow_File.cpp
+++ b/mainWindow/kpMainWindow_File.cpp
@@ -37,8 +37,9 @@
 #include 
 #include 
 #include 
-#include 
-#include 
+#include 
+#include 
+#include 
 
 #include 
 #include 
@@ -100,9 +101,13 @@ void kpMainWindow::setupFileMenuActions ()
 connect(d->actionExport, SIGNAL(triggered(bool) ), SLOT (slotExport ()));
 
 d->actionScan = ac->addAction("file_scan");
-d->actionSca

[kde-doc-english] [kolourpaint] mainWindow: make the screenshot configurable (delay seconds, hide window)

2011-03-26 Thread Martin Koller
Git commit 59cc5c4b7a487e4ef9a302365486e2e99c3455e9 by Martin Koller.
Committed on 26/03/2011 at 22:23.
Pushed by mkoller into branch 'master'.

make the screenshot configurable (delay seconds, hide window)

GUI:

M  +1-0mainWindow/kpMainWindow.h 
M  +53   -8mainWindow/kpMainWindow_File.cpp 

http://commits.kde.org/kolourpaint/59cc5c4b7a487e4ef9a302365486e2e99c3455e9

diff --git a/mainWindow/kpMainWindow.h b/mainWindow/kpMainWindow.h
index b0ad9a9..b45e49c 100644
--- a/mainWindow/kpMainWindow.h
+++ b/mainWindow/kpMainWindow.h
@@ -347,6 +347,7 @@ private slots:
 void slotScanned (const QImage &image, int);
 
 void slotScreenshot();
+void slotMakeScreenshot();
 
 void slotProperties ();
 
diff --git a/mainWindow/kpMainWindow_File.cpp b/mainWindow/kpMainWindow_File.cpp
index b2e4417..d1516d6 100644
--- a/mainWindow/kpMainWindow_File.cpp
+++ b/mainWindow/kpMainWindow_File.cpp
@@ -40,13 +40,18 @@
 #include 
 #include 
 #include 
+#include 
+#include 
+#include 
+#include 
 
-#include 
+#include 
 #include 
 #include 
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -639,15 +644,55 @@ void kpMainWindow::slotScanned (const QImage &image, int)
 
 void kpMainWindow::slotScreenshot()
 {
-toolEndShape ();
-QPixmap pixmap = QPixmap::grabWindow(QApplication::desktop()->winId());
+  toolEndShape();
 
-kpDocument *doc = new kpDocument(pixmap.width(), pixmap.height(),
- documentEnvironment());
-doc->setImage(pixmap.toImage());
+  KDialog *dialog = new KDialog(this);
+  dialog->setButtons(KDialog::Ok | KDialog::Cancel);
 
-// Send document to current or new window.
-setDocumentChoosingWindow(doc);
+  QLabel *label = new QLabel(i18n("Snapshot Delay"));
+  KIntSpinBox *seconds = new KIntSpinBox;
+  seconds->setRange(0, 99);
+  seconds->setSuffix(ki18np(" second", " seconds"));
+  seconds->setSpecialValueText(i18n("No delay"));
+
+  QCheckBox *hideWindow = new QCheckBox(i18n("Hide Main Window"));
+  hideWindow->setChecked(true);
+
+  QVBoxLayout *vbox = new QVBoxLayout(dialog->mainWidget());
+  vbox->addWidget(label);
+  vbox->addWidget(seconds);
+  vbox->addWidget(hideWindow);
+
+  if ( dialog->exec() == KDialog::Rejected )
+  {
+delete dialog;
+return;
+  }
+
+  if ( hideWindow->isChecked() )
+hide();
+
+  // at least 1 seconds to make sure the window is hidden and the hide effect 
already stopped
+  QTimer::singleShot((seconds->value() + 1) * 1000, this, 
SLOT(slotMakeScreenshot()));
+
+  delete dialog;
+}
+
+//-
+
+void kpMainWindow::slotMakeScreenshot()
+{
+  QCoreApplication::processEvents();
+  QPixmap pixmap = QPixmap::grabWindow(QApplication::desktop()->winId());
+
+  kpDocument *doc = new kpDocument(pixmap.width(), pixmap.height(),
+   documentEnvironment());
+  doc->setImage(pixmap.toImage());
+
+  // Send document to current or new window.
+  setDocumentChoosingWindow(doc);
+
+  show();  // in case we hid the mainwindow, show it again
 }
 
 //-


[kde-doc-english] KolourPaint Documentation Screenshots

2005-02-06 Thread Thurston
Hi!

A few days ago I updated the KolourPaint Handbook, however, the 
pictures have 
not been and are still in the Keramik widget style.

I would like to update them to reflect the change in theme (Plastik 
widget 
style), but I am also aware that, as it is not to cover new features and we 
are during a CVS freeze, I should submit the changes here for approval (and 
later committing).

In this instance, I am concerned whether it is appropriate to send the 
pictures here, as they are collectively ~500kb.

Thanks!

Regards,
Thurston



[kde-doc-english] KolourPaint Documentation Screenshots

2005-02-06 Thread Tom Albers
Op Sunday 6 February 2005 11:54, schreef Thurston:
>  A few days ago I updated the KolourPaint Handbook, however, the pictures
> have not been and are still in the Keramik widget style.
>
>  I would like to update them to reflect the change in theme (Plastik widget
> style), but I am also aware that, as it is not to cover new features and we
> are during a CVS freeze, I should submit the changes here for approval (and
> later committing).

I don't think updating screenies will form a problem for anyone. If a language 
does not have that screenshot then the yours will be used. If they have that 
screenshot, then theirs will be used anyhow, so I guess nobody objects. It 
will be a different case when you change the name or the place of the 
screenshots (no changes in the *.docbook).

Tom
-- 
http://www.kde.nl | irc: {toma} | jabber: toma at jabber.kovoks.nl
Fingerprint: 0A86 039A 2393 9A86 51DC 2628 7204 244F D185 450F



[kde-doc-english] &kolourpaint; documentation

2004-05-06 Thread Thurston Dang
Hi,

I'm Thurston, and I've been writing (as promised) the KolourPaint 
documentation. I'm posting here to make sure there's no work duplication, and 
also to announce that you can now get a copy of the documentation in the 
KolourPaint 1.0.2 package at kolourpaint.sourceforge.net.

It should be suitable for inclusion in kde-docs. It's been reviewed for 
technical (and semantic) accuracy by the development team. The only change 
that's needed is to use entities (but the contributor.entities file lurks 
deep within the halls of KDE CVS, and the author daren't change it. Also note 
that the kolourpaint entity in general.entities actually incorrectly 
capitalises KolourPaint.)

Regards,
Thurston

P.S. Please cc me any replies as I'm not subscribed to this ML. Thanks!



[kde-doc-english] KolourPaint Documentation B2

2004-03-26 Thread Philip Rodrigues
Hi Virgil,
> I need a screen shot of the toolbar, because, for some reason, I don't know
> why, I can't see the icons on the toolbar in my version (off the cvs).

Sounds odd. I'll have a look when I get a CVS checkout.

> How close is the toolbar section to the way you think it should be?

As a reference section, it looks fine. I've changed the markup slightly. 

> Did I do right in putting my name on the front page (under the app name)?
> What
> about the documentation copyright? Is everything copyright to Pamela
> Roberts,
> or do I put my name there? If so, what's the copyright date?
> how's date and time structured? -DD-MM?

See:
http://i18n.kde.org/doc/markup/book-and-bookinfo.html

The short answer is that you should add a credit for yourself, and leave the 
existing one intact. In the old version of the document, the copyright  
for Pamela is listed as 2001, 2002, but in the Credits and License section, 
it's 2003-2004. Can you confirm which is correct?

> If you see something inaccurate, be sure to tell me.

I'll take a thorough look through once you feel it's finished, but I didn't 
notice anything obviously incorrect,

Regards,
Phil
-- next part --
A non-text attachment was scrubbed...
Name: index1.docbook
Type: text/docbook
Size: 17457 bytes
Desc: not available
Url : 
http://mail.kde.org/pipermail/kde-doc-english/attachments/20040326/603fa18d/attachment.bin
 
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : 
http://mail.kde.org/pipermail/kde-doc-english/attachments/20040326/603fa18d/attachment.sig
 


[kde-doc-english] KolourPaint Documentation B2

2004-03-26 Thread virgil
Thanks for all your help, I actually got it to compile now. Ok... here's the   
second beta of the documentation. Still has some issues... but pretty much   
there.  
  
I need a screen shot of the toolbar, because, for some reason, I don't know   
why, I can't see the icons on the toolbar in my version (off the cvs).  
  
How close is the toolbar section to the way you think it should be?   
  
Did I do right in putting my name on the front page (under the app name)?  
What   
about the documentation copyright? Is everything copyright to Pamela  
Roberts,   
or do I put my name there? If so, what's the copyright date?  
  
how's date and time structured? -DD-MM?  
  
If you see something inaccurate, be sure to tell me.  
  
Thanks,  
Virgil  
-- next part --
A non-text attachment was scrubbed...
Name: index1.docbook
Type: text/docbook
Size: 17764 bytes
Desc: not available
Url : 
http://mail.kde.org/pipermail/kde-doc-english/attachments/20040326/3661d939/attachment.bin