MarginPreview Class Reference

Inheritance diagram for MarginPreview:

QWidget List of all members.

Detailed Description

Definition at line 25 of file marginpreview.h.


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 *)

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys