kdeprint Library API Documentation

MarginPreview Class Reference

Inheritance diagram for MarginPreview:

Inheritance graph
[legend]
Collaboration diagram for MarginPreview:

Collaboration graph
[legend]
List of all members.

Public Types

enum  StateType {
  Fixed = -1, None = 0, TMoving, BMoving,
  LMoving, RMoving
}

Public Slots

void enableRubberBand (bool on)

Signals

void marginChanged (int type, float value)

Public Member Functions

 MarginPreview (QWidget *parent=0, const char *name=0)
 ~MarginPreview ()
void setPageSize (float w, float h)
void setMargins (float t, float b, float l, float r)
void setNoPreview (bool on)
void setSymetric (bool on)

Protected Member Functions

void paintEvent (QPaintEvent *)
void resizeEvent (QResizeEvent *)
void mouseMoveEvent (QMouseEvent *)
void mousePressEvent (QMouseEvent *)
void mouseReleaseEvent (QMouseEvent *)
int locateMouse (const QPoint &p)
void drawTempLine (QPainter *)

Detailed Description

Definition at line 25 of file marginpreview.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdeprint Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jul 20 12:48:39 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003