src/dialogs.h

changeset 498
791c831c8020
parent 497
c51941e590b6
child 504
6a1fa662bfc1
equal deleted inserted replaced
497:c51941e590b6 498:791c831c8020
46 public: 46 public:
47 explicit OverlayDialog (QWidget* parent = null, Qt::WindowFlags f = 0); 47 explicit OverlayDialog (QWidget* parent = null, Qt::WindowFlags f = 0);
48 virtual ~OverlayDialog(); 48 virtual ~OverlayDialog();
49 49
50 str fpath() const; 50 str fpath() const;
51 ushort ofsx() const; 51 int ofsx() const;
52 ushort ofsy() const; 52 int ofsy() const;
53 double lwidth() const; 53 double lwidth() const;
54 double lheight() const; 54 double lheight() const;
55 int camera() const; 55 int camera() const;
56 56
57 private: 57 private:
90 }; 90 };
91 91
92 // ============================================================================= 92 // =============================================================================
93 class OpenProgressDialog : public QDialog 93 class OpenProgressDialog : public QDialog
94 { Q_OBJECT 94 { Q_OBJECT
95 READ_PROPERTY (ulong, progress, setProgress) 95 READ_PROPERTY (int, progress, setProgress)
96 DECLARE_PROPERTY (ulong, numLines, setNumLines) 96 DECLARE_PROPERTY (int, numLines, setNumLines)
97 97
98 public: 98 public:
99 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0); 99 explicit OpenProgressDialog (QWidget* parent = null, Qt::WindowFlags f = 0);
100 virtual ~OpenProgressDialog(); 100 virtual ~OpenProgressDialog();
101 101

mercurial