mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-03 19:10:53 +01:00
revamp conductorautonumerotation and add autonumerotation class
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2142 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
22
sources/autonumerotation.h
Normal file
22
sources/autonumerotation.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef AUTONUMEROTATION_H
|
||||
#define AUTONUMEROTATION_H
|
||||
|
||||
#include "diagram.h"
|
||||
|
||||
class AutoNumerotation: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
AutoNumerotation(Diagram *);
|
||||
virtual void numerate() = 0;
|
||||
|
||||
public slots:
|
||||
virtual void applyText(QString) = 0;
|
||||
|
||||
protected:
|
||||
Diagram *diagram_;
|
||||
NumerotationContext num_context;
|
||||
};
|
||||
|
||||
#endif // AUTONUMEROTATION_H
|
||||
Reference in New Issue
Block a user