44 |
44 |
45 public: |
45 public: |
46 explicit OverlayDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
46 explicit OverlayDialog (QWidget* parent = null, Qt::WindowFlags f = 0); |
47 virtual ~OverlayDialog(); |
47 virtual ~OverlayDialog(); |
48 |
48 |
49 String fpath() const; |
49 QString fpath() const; |
50 int ofsx() const; |
50 int ofsx() const; |
51 int ofsy() const; |
51 int ofsy() const; |
52 double lwidth() const; |
52 double lwidth() const; |
53 double lheight() const; |
53 double lheight() const; |
54 int camera() const; |
54 int camera() const; |
70 Q_OBJECT |
70 Q_OBJECT |
71 |
71 |
72 public: |
72 public: |
73 explicit LDrawPathDialog (const bool validDefault, QWidget* parent = null, Qt::WindowFlags f = 0); |
73 explicit LDrawPathDialog (const bool validDefault, QWidget* parent = null, Qt::WindowFlags f = 0); |
74 virtual ~LDrawPathDialog(); |
74 virtual ~LDrawPathDialog(); |
75 String filename() const; |
75 QString filename() const; |
76 void setPath (String path); |
76 void setPath (QString path); |
77 |
77 |
78 private: |
78 private: |
79 Q_DISABLE_COPY (LDrawPathDialog) |
79 Q_DISABLE_COPY (LDrawPathDialog) |
80 const bool m_validDefault; |
80 const bool m_validDefault; |
81 Ui_LDPathUI* ui; |
81 Ui_LDPathUI* ui; |
113 class ExtProgPathPrompt : public QDialog |
113 class ExtProgPathPrompt : public QDialog |
114 { |
114 { |
115 Q_OBJECT |
115 Q_OBJECT |
116 |
116 |
117 public: |
117 public: |
118 explicit ExtProgPathPrompt (String progName, QWidget* parent = 0, Qt::WindowFlags f = 0); |
118 explicit ExtProgPathPrompt (QString progName, QWidget* parent = 0, Qt::WindowFlags f = 0); |
119 virtual ~ExtProgPathPrompt(); |
119 virtual ~ExtProgPathPrompt(); |
120 String getPath() const; |
120 QString getPath() const; |
121 |
121 |
122 public slots: |
122 public slots: |
123 void findPath(); |
123 void findPath(); |
124 |
124 |
125 private: |
125 private: |