xlsxdatavalidation_p.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // xlsxdatavalidation_p.h
  2. #ifndef XLSXDATAVALIDATION_P_H
  3. #define XLSXDATAVALIDATION_P_H
  4. #include <QtGlobal>
  5. #include <QSharedData>
  6. #include "xlsxdatavalidation.h"
  7. QT_BEGIN_NAMESPACE_XLSX
  8. class DataValidationPrivate : public QSharedData
  9. {
  10. public:
  11. DataValidationPrivate();
  12. DataValidationPrivate(DataValidation::ValidationType type, DataValidation::ValidationOperator op, const QString &formula1, const QString &formula2, bool allowBlank);
  13. DataValidationPrivate(const DataValidationPrivate &other);
  14. ~DataValidationPrivate();
  15. DataValidation::ValidationType validationType;
  16. DataValidation::ValidationOperator validationOperator;
  17. DataValidation::ErrorStyle errorStyle;
  18. bool allowBlank;
  19. bool isPromptMessageVisible;
  20. bool isErrorMessageVisible;
  21. QString formula1;
  22. QString formula2;
  23. QString errorMessage;
  24. QString errorMessageTitle;
  25. QString promptMessage;
  26. QString promptMessageTitle;
  27. QList<CellRange> ranges;
  28. };
  29. QT_END_NAMESPACE_XLSX
  30. #endif // XLSXDATAVALIDATION_P_H