loadingcolortab.h 593 B

1234567891011121314151617181920212223242526272829
  1. #ifndef LOADINGCOLORTAB_H
  2. #define LOADINGCOLORTAB_H
  3. #include <QObject>
  4. #include <QDebug>
  5. #include <QColor>
  6. #include <QJsonObject>
  7. #include <QJsonDocument>
  8. #include <QJsonArray>
  9. #include <QColorDialog>
  10. class loadingColorTab : public QObject
  11. {
  12. Q_OBJECT
  13. public:
  14. loadingColorTab();
  15. QColor getColorFromUser();
  16. signals:
  17. void setLabelsColor(QColor labelLoadingIconColor, QColor labelLoadingTextColor, QColor labelFreTextColor, QColor labelVersionTextColor, QColor labelPercentageTextColor);
  18. public slots:
  19. void updateLabels(QString jsonData);
  20. };
  21. #endif // LOADINGCOLORTAB_H