19 #pragma once |
19 #pragma once |
20 #include <QDialog> |
20 #include <QDialog> |
21 #include "../main.h" |
21 #include "../main.h" |
22 #include "../linetypes/modelobject.h" |
22 #include "../linetypes/modelobject.h" |
23 |
23 |
24 class NewPartDialog : public QDialog, HierarchyElement |
24 class NewPartDialog : public QDialog |
25 { |
25 { |
26 Q_OBJECT |
26 Q_OBJECT |
|
27 |
27 public: |
28 public: |
28 NewPartDialog (QWidget *parent); |
29 NewPartDialog (QWidget *parent); |
|
30 ~NewPartDialog(); |
29 |
31 |
30 QString author() const; |
32 QString author() const; |
31 void fillHeader (LDDocument* newdoc) const; |
33 void fillHeader(LDDocument* document) const; |
32 BfcStatement getWinding() const; |
34 Winding winding() const; |
33 bool useCaLicense() const; |
35 bool useCaLicense() const; |
34 QString title() const; |
36 QString description() const; |
35 |
37 |
36 private: |
38 private: |
37 class Ui_NewPart& ui; |
39 class Ui_NewPart& ui; |
38 }; |
40 }; |