class jnc::EditTheme

class EditTheme {
public:
    // enums

    enum Init;
    enum Role;

    // construction

    EditTheme(Init init = InitLight);

    // methods

    bool
    isDark() const;

    QColor
    color(Role role) const;

    void
    setColor(
        Role role,
        const QColor& color
    );

    const QPalette&
    palette() const;

    const QPalette&
    completerPalette() const;

    const QPalette&
    readOnlyPalette() const;

    void
    setDefaultLightTheme();

    void
    setDefaultDarkTheme();
};