some include removing

Update the nice design document Enrico produced

svn path=/trunk/kdegraphics/kpdf/; revision=344031
remotes/origin/kpdf-experiments
Albert Astals Cid 22 years ago
parent 4d2969d57e
commit 83d875d84f
  1. 8
      DESIGN.kpdf
  2. 7
      kpdf/kpdf_pagewidget.cc
  3. 7
      kpdf/kpdf_pagewidget.h
  4. 2
      kpdf/kpdf_part.h
  5. 4
      kpdf/kpdf_shell.cpp
  6. 2
      kpdf/kpdf_shell.h
  7. 2
      kpdf/thumbnaillist.h

@ -12,7 +12,7 @@ all virtuals from the interface and draws text/image into an inner pixmap.
the rendering of a page is finished (and some other features such as collection
of per-page text that permits to implement search).
- Kpdf's QOutputDevPixmap returns a pixmap containing a single redered page.
- Kpdf's QOutputDevPixmap returns a image containing a single redered page.
*** Architecture:
@ -44,12 +44,14 @@ keys, scrolling and scrollbars as well. This widget is a qscrollview.
Architecture::Part:CentralWidget:ThumbnailList (kpdf_pagewidget.cc/.h)
Note: This may change.
This widget is a vertical single column table where cells are thumbnails. This
supports thumbnail scaling and emits a signal when a page is selected between
the list of thumbnails.
the list of thumbnails. That widget also generates the thumbnails of the
document using the ThumbnailCreator class.
*** Last Revisions to this document:
2004-10-04 : 0.2 - Albert Astals Cid <tsdgeos@terra.es>
- ThumbnailList creates the thumbnails itself
2004-10-04 : 0.1 - Enrico Ros <eros.kde@email.it>
- just read the code and created this file

@ -13,21 +13,18 @@
* (at your option) any later version. *
***************************************************************************/
#include "QOutputDevPixmap.h"
#include <kglobal.h>
#include <qcursor.h>
#include <qpainter.h>
#include <qmutex.h>
#include <kdebug.h>
#include <kurldrag.h>
#include <kglobalsettings.h>
#include <kurldrag.h>
#include "PDFDoc.h"
#include "kpdf_pagewidget.h"
#include "kpdf_pagewidget.moc"
#include "QOutputDevPixmap.h"
namespace KPDF
{

@ -15,15 +15,14 @@
#ifndef _KPDF_PAGEWIDGET_H_
#define _KPDF_PAGEWIDGET_H_
#include <qpixmap.h>
#include <qwidget.h>
#include <qscrollview.h>
#include <kurl.h>
#include "CharTypes.h"
class KURL;
class QMutex;
class QWidget;
class LinkAction;
class PDFDoc;

@ -22,8 +22,6 @@
#include <kparts/browserextension.h>
#include <kparts/part.h>
#include "QOutputDev.h"
class QWidget;
class KAboutData;

@ -24,17 +24,15 @@
#include "kpdf_pagewidget.h"
#include <kaction.h>
#include <kapplication.h>
#include <kconfig.h>
#include <kedittoolbar.h>
#include <kfiledialog.h>
#include <kkeydialog.h>
#include <klibloader.h>
#include <kmessagebox.h>
#include <kstdaction.h>
#include <kurl.h>
#include <kdebug.h>
#include <klocale.h>
#include <kmainwindow.h>
#include <kmenubar.h>
#include <kpopupmenu.h>
#include <kparts/componentfactory.h>

@ -20,10 +20,8 @@
#include <config.h>
#endif
#include <kapplication.h>
#include <kparts/mainwindow.h>
class KPopupMenu;
class KAction;
namespace KPDF
{

@ -13,8 +13,6 @@
#include <qtable.h>
#include "GString.h"
class QImage;
class PDFDoc;

Loading…
Cancel
Save