/***************************************************************************************************
 * Copyright 2020-2024 Qsaker(qsaker@foxmail.com). All rights reserved.
 *
 * The file is encoded using "utf8 with bom", it is a part of QtSwissArmyKnife project.
 *
 * QtSwissArmyKnife is licensed according to the terms in the file LICENCE in the root of the source
 * code directory.
 **************************************************************************************************/
#ifndef SAKSTRINGASSISTANT_H
#define SAKSTRINGASSISTANT_H

#include <QWidget>

namespace Ui {
class SAKStringAssistant;
}
class SAKStringAssistant : public QWidget
{
    Q_OBJECT
public:
    Q_INVOKABLE SAKStringAssistant(QWidget* parent = Q_NULLPTR);
    ~SAKStringAssistant();

private:
    Ui::SAKStringAssistant* ui;

private slots:
    void onTextEditTextChanged();
    void onInputFormatComboBoxCurrentIndexChanged(int index);
    void onCreatePushButtonClicked();
    void onOutputFormatComboBoxCurrentTextChanged(const QString& text);
};

#endif // SAKSTRINGASSISTANT_H
