| 36 class QAbstractButton; |
36 class QAbstractButton; |
| 37 class Ui_OverlayUI; |
37 class Ui_OverlayUI; |
| 38 class Ui_LDPathUI; |
38 class Ui_LDPathUI; |
| 39 class Ui_OpenProgressUI; |
39 class Ui_OpenProgressUI; |
| 40 |
40 |
| 41 class OverlayDialog : public QDialog |
|
| 42 { |
|
| 43 Q_OBJECT |
|
| 44 |
|
| 45 public: |
|
| 46 explicit OverlayDialog (QWidget* parent = nullptr, Qt::WindowFlags f = 0); |
|
| 47 virtual ~OverlayDialog(); |
|
| 48 |
|
| 49 QString fpath() const; |
|
| 50 int ofsx() const; |
|
| 51 int ofsy() const; |
|
| 52 double lwidth() const; |
|
| 53 double lheight() const; |
|
| 54 int camera() const; |
|
| 55 |
|
| 56 private: |
|
| 57 Ui_OverlayUI* ui; |
|
| 58 QList<Pair<QRadioButton*, int>> m_cameraArgs; |
|
| 59 |
|
| 60 private slots: |
|
| 61 void slot_fpath(); |
|
| 62 void slot_help(); |
|
| 63 void slot_dimensionsChanged(); |
|
| 64 void fillDefaults (int newcam); |
|
| 65 }; |
|
| 66 |
|
| 67 // ============================================================================= |
41 // ============================================================================= |
| 68 class ExtProgPathPrompt : public QDialog |
42 class ExtProgPathPrompt : public QDialog |
| 69 { |
43 { |
| 70 Q_OBJECT |
44 Q_OBJECT |
| 71 |
45 |