src/primitives.h

changeset 408
81dc5f6b9c73
parent 402
ec95fc95e5f3
child 421
7d26db0be944
equal deleted inserted replaced
407:c6530cdcd622 408:81dc5f6b9c73
20 #define PRIMITIVES_H 20 #define PRIMITIVES_H
21 21
22 #include "common.h" 22 #include "common.h"
23 #include "types.h" 23 #include "types.h"
24 #include <QRegExp> 24 #include <QRegExp>
25 #include <QDialog>
25 26
27 class Ui_MakePrimUI;
26 class PrimitiveCategory; 28 class PrimitiveCategory;
27 struct Primitive { 29 struct Primitive {
28 str name, title; 30 str name, title;
29 PrimitiveCategory* cat; 31 PrimitiveCategory* cat;
30 }; 32 };
91 Ring, 93 Ring,
92 Cone, 94 Cone,
93 }; 95 };
94 96
95 // ============================================================================= 97 // =============================================================================
98 class PrimitivePrompt : public QDialog {
99 Q_OBJECT
100
101 public:
102 explicit PrimitivePrompt( QWidget* parent = null, Qt::WindowFlags f = 0 );
103 virtual ~PrimitivePrompt();
104 Ui_MakePrimUI* ui;
105
106 public slots:
107 void hiResToggled( bool on );
108 };
109
96 void generatePrimitive(); 110 void generatePrimitive();
97 111
98 #endif // PRIMITIVES_H 112 #endif // PRIMITIVES_H

mercurial