Scribus
Open source desktop publishing at your fingertips
markinsert.h
1 #ifndef MARKINSERT_H
2 #define MARKINSERT_H
3 
4 #include <QDialog>
5 #include <scribusapi.h>
6 
7 class NotesStyle;
8 class Mark;
9 class PageItem;
10 
11 class SCRIBUS_API MarkInsert : public QDialog
12 {
13  Q_OBJECT
14 
15 public:
16  MarkInsert(const QList<Mark*>&, QWidget *parent = 0) : QDialog(parent) {}
17  MarkInsert(const Mark*, QWidget *parent = 0) : QDialog(parent) {}
18  MarkInsert(const QList<NotesStyle*>&, QWidget *parent = 0) : QDialog(parent) {}
19  MarkInsert(QWidget *parent = 0) : QDialog(parent) {}
20  ~MarkInsert() {}
21 
22  virtual void values(QString &label) {}
23  virtual void values(QString &label, PageItem* &item) {}
24  virtual Mark* values(QString& label, QString& text) { return NULL; }
25  virtual void values(QString& label, Mark* &mrk) {}
26  virtual NotesStyle* values() { return NULL; }
27 
28  virtual void setValues(const QString label) {}
29  virtual void setValues(const QString label, const QString text) {}
30  virtual void setValues(const QString label, const PageItem* ptr) {}
31  virtual void setValues(const QString label, const Mark* ptr) {}
32  virtual void setValues(const NotesStyle* defaultStyle) {}
33 
34 signals:
35 
36 public slots:
37 
38 };
39 
40 #endif // MARKINSERT_H
Definition: markinsert.h:11
Definition: notesstyles.h:28
Definition: marks.h:40
Definition: pageitem.h:92