34 |
34 |
35 // ============================================================================= |
35 // ============================================================================= |
36 // ----------------------------------------------------------------------------- |
36 // ----------------------------------------------------------------------------- |
37 class PartDownloader : public QDialog |
37 class PartDownloader : public QDialog |
38 { Q_OBJECT |
38 { Q_OBJECT |
39 PROPERTY (LDFile*, primaryFile, setPrimaryFile) |
39 PROPERTY (public, LDFile*, PrimaryFile, NO_OPS, NO_CB) |
40 PROPERTY (bool, aborted, setAborted) |
40 PROPERTY (public, bool, Aborted, BOOL_OPS, NO_CB) |
41 |
41 |
42 public: |
42 public: |
43 constexpr static const char* k_UnofficialURL = "http://ldraw.org/library/unofficial/"; |
43 constexpr static const char* k_UnofficialURL = "http://ldraw.org/library/unofficial/"; |
44 |
44 |
45 enum Source |
45 enum Source |
85 |
85 |
86 // ============================================================================= |
86 // ============================================================================= |
87 // ----------------------------------------------------------------------------- |
87 // ----------------------------------------------------------------------------- |
88 class PartDownloadRequest : public QObject |
88 class PartDownloadRequest : public QObject |
89 { Q_OBJECT |
89 { Q_OBJECT |
90 PROPERTY (int, tableRow, setTableRow) |
90 PROPERTY (public, int, TableRow, NUM_OPS, NO_CB) |
91 |
91 |
92 public: |
92 public: |
93 enum State |
93 enum State |
94 { Requesting, |
94 { Requesting, |
95 Downloading, |
95 Downloading, |