Subversion Repositories tpanel

Rev

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

Rev 43 Rev 59
Line 34... Line 34...
34
		explicit TQtSettings(QWidget *parent = nullptr);
34
		explicit TQtSettings(QWidget *parent = nullptr);
35
		~TQtSettings();
35
		~TQtSettings();
36
        bool hasChanged() { return mSetChanged; }
36
        bool hasChanged() { return mSetChanged; }
37
        void setScaleFactor(double sf) { mScaleFactor = sf; }
37
        void setScaleFactor(double sf) { mScaleFactor = sf; }
38
        void doResize();
38
        void doResize();
-
 
39
        uint getLogLevel() { return mLogLevel; }
39
 
40
 
40
    private slots:
41
    private slots:
41
        void on_kiconbutton_logFile_clicked();
42
        void on_kiconbutton_logFile_clicked();
42
        void on_comboBox_logLevel_currentIndexChanged(int index);
-
 
43
        void on_lineEdit_logFile_textChanged(const QString &arg1);
43
        void on_lineEdit_logFile_textChanged(const QString &arg1);
44
        void on_lineEdit_Controller_textChanged(const QString &arg1);
44
        void on_lineEdit_Controller_textChanged(const QString &arg1);
45
        void on_spinBox_Port_valueChanged(int arg1);
45
        void on_spinBox_Port_valueChanged(int arg1);
46
        void on_spinBox_Channel_valueChanged(int arg1);
46
        void on_spinBox_Channel_valueChanged(int arg1);
47
        void on_lineEdit_PType_textChanged(const QString &arg1);
47
        void on_lineEdit_PType_textChanged(const QString &arg1);
48
        void on_checkBox_Format_toggled(bool checked);
48
        void on_checkBox_Format_toggled(bool checked);
49
        void on_checkBox_Scale_toggled(bool checked);
49
        void on_checkBox_Scale_toggled(bool checked);
50
        void on_checkBox_Profiling_toggled(bool checked);
50
        void on_checkBox_Profiling_toggled(bool checked);
-
 
51
        void on_checkBox_LogInfo_toggled(bool checked);
-
 
52
        void on_checkBox_LogWarning_toggled(bool checked);
-
 
53
        void on_checkBox_LogError_toggled(bool checked);
-
 
54
        void on_checkBox_LogTrace_toggled(bool checked);
-
 
55
        void on_checkBox_LogDebug_toggled(bool checked);
-
 
56
        void on_checkBox_LogProtocol_toggled(bool checked);
-
 
57
        void on_checkBox_LogAll_toggled(bool checked);
51
 
58
 
52
        void on_kiconbutton_reset_clicked();
59
        void on_kiconbutton_reset_clicked();
53
 
60
 
54
    private:
61
    private:
55
        int getLogLevelIndex(const std::string& sl);
-
 
56
        int scale(int value);
62
        int scale(int value);
57
 
63
 
58
        Ui::TQtSettings *ui{nullptr};
64
        Ui::TQtSettings *ui{nullptr};
59
        bool mSetChanged{false};
65
        bool mSetChanged{false};
60
        double mScaleFactor{1.0};
66
        double mScaleFactor{1.0};
-
 
67
        uint mLogLevel{0};
-
 
68
        bool mInitRun{false};
61
};
69
};
62
 
70
 
63
#endif
71
#endif