File indexing completed on 2024-05-12 04:44:34

0001 // SPDX-FileCopyrightText: Lukas Sommer <sommerluk@gmail.com>
0002 // SPDX-License-Identifier: BSD-2-Clause OR MIT
0003 
0004 #ifndef MULTISPINBOXSECTION_P_H
0005 #define MULTISPINBOXSECTION_P_H
0006 
0007 // Include the header of the public class of this private implementation.
0008 // #include "multispinboxsection.h"
0009 
0010 #include <qstring.h>
0011 
0012 namespace PerceptualColor
0013 {
0014 /** @internal
0015  *
0016  *  @brief Private implementation within the <em>Pointer to
0017  *  implementation</em> idiom */
0018 class MultiSpinBoxSectionPrivate final
0019 {
0020 public:
0021     /** @brief Internal storage of the
0022      * @ref MultiSpinBoxSection::decimals() property */
0023     int m_decimals = 2;
0024     /** @brief Internal storage of the
0025      * @ref MultiSpinBoxSection::isWrapping() property */
0026     bool m_isWrapping = false;
0027     /** @brief Internal storage of the
0028      * @ref MultiSpinBoxSection::maximum() property */
0029     double m_maximum = 99.99;
0030     /** @brief Internal storage of the
0031      * @ref MultiSpinBoxSection::minimum() property */
0032     double m_minimum = 0;
0033     /** @brief Internal storage of the
0034      * @ref MultiSpinBoxSection::prefix() property */
0035     QString m_prefix;
0036     /** @brief Internal storage of the
0037      * @ref MultiSpinBoxSection::singleStep() property */
0038     double m_singleStep = 1;
0039     /** @brief Internal storage of the
0040      * @ref MultiSpinBoxSection::suffix() property */
0041     QString m_suffix;
0042 };
0043 
0044 } // namespace PerceptualColor
0045 
0046 #endif // MULTISPINBOXSECTION_P_H