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++
979 B
Raw Blame
/*
 * SPDX-FileCopyrightText: 2017 Boudewijn Rempt <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef DLG_BUGINFO
#define DLG_BUGINFO

#include <KoDialog.h>

#include "ui_wdg_buginfo.h"

class QSettings;

class WdgBugInfo : public QWidget, public Ui::WdgBugInfo
{
    Q_OBJECT

public:
    WdgBugInfo(QWidget *parent) : QWidget(parent) {
        setupUi(this);
    }
};

class DlgBugInfo: public KoDialog
{
    Q_OBJECT
public:
    DlgBugInfo(QWidget * parent = 0, ButtonCodes customButtons = None);
    ~DlgBugInfo() override;

    void initialize();
    void initializeText();
    void saveToFile();

    virtual QString defaultNewFileName() = 0;
    virtual QString originalFileName() = 0;
    virtual QString captionText() = 0;
    virtual QString replacementWarningText() = 0;

    virtual QString infoText(QSettings& kritarc);

    QString basicSystemInformationReplacementText();

protected:
    WdgBugInfo *m_page;
};

#endif // DLG_BUGINFO