~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to kugar/kudesigner_lib/cline.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                          cline.h  -  description
 
3
                             -------------------
 
4
    begin                : 07.06.2002
 
5
    copyright            : (C) 2002 by Alexander Dymo
 
6
    email                : cloudtemple@mksat.net
 
7
 ***************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
 *                                                                         *
 
11
 *   This program is free software; you can redistribute it and/or modify  *
 
12
 *   it under the terms of the GNU Library General Public License as       *
 
13
 *   published by the Free Software Foundation; either version 2 of the    *
 
14
 *   License, or (at your option) any later version.                       *
 
15
 *                                                                         *
 
16
 ***************************************************************************/
 
17
#ifndef CLINE_H
 
18
#define CLINE_H
 
19
 
 
20
#include "canvdefs.h"
 
21
#include "creportitem.h"
 
22
 
 
23
class CanvasLine: public CanvasReportItem{
 
24
public:
 
25
    CanvasLine(int x, int y, int width, int height, QCanvas * canvas);
 
26
    virtual int rtti() const { return KuDesignerRttiCanvasLine; }
 
27
    virtual QString getXml();
 
28
    virtual void draw(QPainter &painter);
 
29
        
 
30
    virtual void updateGeomProps();
 
31
    virtual void setSection(CanvasBand *section);
 
32
private:
 
33
    QPen getPenForShape();
 
34
};
 
35
 
 
36
#endif