textcolortab.h 567 B

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