Source: scribus/vruler.h


Annotated List
Files
Globals
Hierarchy
Index
/***************************************************************************
                          vruler.h  -  description
                             -------------------
    begin                : Wed Apr 11 2001
    copyright            : (C) 2001 by Franz Schmid
    email                : Franz.Schmid@altmuehlnet.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef VRULER_H
#define VRULER_H

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include "scribusdoc.h"
/**Vertikales Lineal
  *@author Franz Schmid
  */

class Vruler : public QWidget  {
Q_OBJECT
public: 
	Vruler(QScrollView *pa, ScribusDoc *doc);
	~Vruler() {};
	void paintEvent(QPaintEvent *);
	void mousePressEvent(QMouseEvent *);
	void mouseReleaseEvent(QMouseEvent *);
	void mouseMoveEvent(QMouseEvent *m);
	int offs;
	int Markp;
	int oldMark;
	bool Mpressed;
  QFont rfont;
private: // Private attributes
  /** Zeichensatz des Lineals */
  ScribusDoc *doku;
public slots: // Public slots
  /** Zeichnet den Pfeil */
  void Draw(int wo);
};

#endif

Generated by: paul on ahnews.music.salford.ac.uk on Tue Oct 21 16:33:32 2003, using kdoc 2.0a54.