Subversion Repositories tpanel

Rev

Rev 119 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 120
Line 24... Line 24...
24
#include <string>
24
#include <string>
25
 
25
 
26
namespace Ui
26
namespace Ui
27
{
27
{
28
    class TQBusy;
28
    class TQBusy;
-
 
29
}
29
 
30
 
30
    class TQtBusy : public QDialog
31
class TQBusy : public QDialog
31
    {
32
{
32
        Q_OBJECT
33
    Q_OBJECT
33
 
34
 
34
        public:
35
    public:
35
            explicit TQtBusy(const std::string& msg, QWidget *parent = nullptr);
36
        explicit TQBusy(const std::string& msg, QWidget *parent = nullptr);
36
            ~TQtBusy();
37
        ~TQBusy();
37
 
38
 
38
            void doResize();
39
        void doResize();
39
            void setScaleFactor(double sf) { mScaleFactor = sf; }
40
        void setScaleFactor(double sf) { mScaleFactor = sf; }
40
 
41
 
41
        private:
42
    private:
42
            Ui::TQBusy *ui{nullptr};
43
        Ui::TQBusy *ui{nullptr};
43
 
44
 
44
            int scale(int value);
45
        int scale(int value);
45
 
46
 
46
            double mScaleFactor{0.0};
47
        double mScaleFactor{0.0};
47
    };
48
        bool mStop{false};
48
}
49
};
49
 
50
 
50
#endif
51
#endif