Reformat
This commit is contained in:
parent
10769eef09
commit
58e8345542
20 changed files with 2063 additions and 1901 deletions
|
|
@ -4,43 +4,44 @@
|
|||
#include <QDialog>
|
||||
#include <QString>
|
||||
|
||||
namespace Ui {
|
||||
namespace Ui
|
||||
{
|
||||
class AdvancedSettingsDialog;
|
||||
}
|
||||
|
||||
class AdvancedSettingsDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AdvancedSettingsDialog(QWidget *parent = nullptr);
|
||||
~AdvancedSettingsDialog();
|
||||
|
||||
// Getters for settings
|
||||
QString getJsonTemplate() const;
|
||||
QString getAceStepPath() const;
|
||||
QString getQwen3ModelPath() const;
|
||||
QString getTextEncoderModelPath() const;
|
||||
QString getDiTModelPath() const;
|
||||
QString getVAEModelPath() const;
|
||||
|
||||
// Setters for settings
|
||||
void setJsonTemplate(const QString &templateStr);
|
||||
void setAceStepPath(const QString &path);
|
||||
void setQwen3ModelPath(const QString &path);
|
||||
void setTextEncoderModelPath(const QString &path);
|
||||
void setDiTModelPath(const QString &path);
|
||||
void setVAEModelPath(const QString &path);
|
||||
explicit AdvancedSettingsDialog(QWidget *parent = nullptr);
|
||||
~AdvancedSettingsDialog();
|
||||
|
||||
// Getters for settings
|
||||
QString getJsonTemplate() const;
|
||||
QString getAceStepPath() const;
|
||||
QString getQwen3ModelPath() const;
|
||||
QString getTextEncoderModelPath() const;
|
||||
QString getDiTModelPath() const;
|
||||
QString getVAEModelPath() const;
|
||||
|
||||
// Setters for settings
|
||||
void setJsonTemplate(const QString &templateStr);
|
||||
void setAceStepPath(const QString &path);
|
||||
void setQwen3ModelPath(const QString &path);
|
||||
void setTextEncoderModelPath(const QString &path);
|
||||
void setDiTModelPath(const QString &path);
|
||||
void setVAEModelPath(const QString &path);
|
||||
|
||||
private slots:
|
||||
void on_aceStepBrowseButton_clicked();
|
||||
void on_qwen3BrowseButton_clicked();
|
||||
void on_textEncoderBrowseButton_clicked();
|
||||
void on_ditBrowseButton_clicked();
|
||||
void on_vaeBrowseButton_clicked();
|
||||
void on_aceStepBrowseButton_clicked();
|
||||
void on_qwen3BrowseButton_clicked();
|
||||
void on_textEncoderBrowseButton_clicked();
|
||||
void on_ditBrowseButton_clicked();
|
||||
void on_vaeBrowseButton_clicked();
|
||||
|
||||
private:
|
||||
Ui::AdvancedSettingsDialog *ui;
|
||||
Ui::AdvancedSettingsDialog *ui;
|
||||
};
|
||||
|
||||
#endif // ADVANCEDSETTINGSDIALOG_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue