mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
65 lines
1.8 KiB
C++
65 lines
1.8 KiB
C++
/*
|
|
* qlo10k1 - GUI frontend for ld10k1
|
|
*
|
|
* Copyright (c) 2004 by Peter Zubaj
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*
|
|
*/
|
|
|
|
#ifndef TRANSFORMPATCHDIALOG_H
|
|
#define TRANSFORMPATCHDIALOG_H
|
|
|
|
#include <qstringlist.h>
|
|
#include <qvaluelist.h>
|
|
#include <qptrlist.h>
|
|
#include "dlgs/transformpatchbase.h"
|
|
#include "filecontroldialog.h"
|
|
#include "connectionwizard.h"
|
|
#include "structure.h"
|
|
#include "structure_patch.h"
|
|
#include "ld10k1file.h"
|
|
|
|
class TransformPatchDlg : public TransformPatchBase
|
|
{
|
|
Q_OBJECT
|
|
EMU10k1File *file;
|
|
QString fileName;
|
|
QStringList inputNames;
|
|
QStringList outputNames;
|
|
|
|
QValueList <int> ctrlFileList;
|
|
QValueList <TranslatedCtrl> translatedList;
|
|
public:
|
|
|
|
TransformPatchDlg(QString efileName, EMU10k1File *efile);
|
|
|
|
QString getName(int i);
|
|
int transformFile(LD10k1File **outFile);
|
|
public slots:
|
|
void okClicked();
|
|
void cancelClicked();
|
|
|
|
void inputsDoubleClicked(QListBoxItem *item);
|
|
void outputsDoubleClicked(QListBoxItem *item);
|
|
|
|
void ctrlAddClicked();
|
|
void ctrlDelClicked();
|
|
|
|
void loadedDoubleClicked(QListBoxItem *item);
|
|
void fileDoubleClicked(QListBoxItem *item);
|
|
};
|
|
|
|
#endif // TRANSFORMPATCHDIALOG_H
|