Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
650 B
Raw Blame
/* This file is part of the KDE project
 * SPDX-FileCopyrightText: 2010 Cyrille Berger <[email protected]>
 *
 * SPDX-License-Identifier: LGPL-2.0-or-later
 */
#ifndef kis_multipliers_double_slider_spinbox_p_h
#define kis_multipliers_double_slider_spinbox_p_h

#include <QComboBox>
#include <kis_slider_spin_box.h>

#include "kis_debug.h"

struct KisMultipliersDoubleSliderSpinBox::Private {
    qreal currentMultiplier();
    /// Update the range of the slider depending on the currentMultiplier
    void updateRange();
    
    QComboBox *cmbMultiplier {0};
    KisDoubleSliderSpinBox *slider{0};
    qreal min, max;
    int decimals;
};

#endif