mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 01:10:53 +01:00
Apparition d'un ensemble Cadre + cartouche (classe BorderInset)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@43 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
14
schema.h
14
schema.h
@@ -2,9 +2,11 @@
|
||||
#define SCHEMA_H
|
||||
#define GRILLE_X 10
|
||||
#define GRILLE_Y 10
|
||||
#define MARGIN 5.0
|
||||
#include <QtGui>
|
||||
#include <QtXml>
|
||||
#include <qetapp.h>
|
||||
#include "qetapp.h"
|
||||
#include "borderinset.h"
|
||||
class Element;
|
||||
class Borne;
|
||||
class Schema : public QGraphicsScene {
|
||||
@@ -24,15 +26,11 @@
|
||||
QImage toImage(int = -1, int = -1, bool = true);
|
||||
QSize imageSize() const;
|
||||
QDomDocument toXml(bool = true);
|
||||
bool fromXml(QDomDocument &, QPointF = QPointF());
|
||||
bool fromXml(QDomDocument &, QPointF = QPointF(), bool = true);
|
||||
QGraphicsItem *getElementById(uint id);
|
||||
inline void setAffichageGrille(bool ddg) { doit_dessiner_grille = ddg; }
|
||||
// elements du cartouche
|
||||
QString auteur;
|
||||
QDate date;
|
||||
QString titre;
|
||||
QString folio; // vraiment necessaire ce truc ?
|
||||
QString nom_fichier; // meme remarque
|
||||
BorderInset border_and_inset;
|
||||
QRectF border() const;
|
||||
|
||||
private:
|
||||
QGraphicsLineItem *poseur_de_conducteur;
|
||||
|
||||
Reference in New Issue
Block a user