ModelEdit window splitted (one file per tab). Templates/Wizard still have to be re-introduced, but in a menu instead of a Model tab
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
#ifndef MIXES_H
|
||||
#define MIXES_H
|
||||
|
||||
#include "modelpanel.h"
|
||||
#include "mixerslist.h"
|
||||
#include "mixerdialog.h"
|
||||
|
||||
class MixesPanel : public ModelPanel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MixesPanel(QWidget *parent, ModelData & model, GeneralSettings & generalSettings);
|
||||
virtual ~MixesPanel();
|
||||
|
||||
virtual void update();
|
||||
|
||||
private slots:
|
||||
// TODO all slots?
|
||||
void clearMixes();
|
||||
void mixersDelete(bool ask=true);
|
||||
void mixersCut();
|
||||
void mixersCopy();
|
||||
void mixersPaste();
|
||||
void mixersDuplicate();
|
||||
void mixerOpen();
|
||||
void mixerAdd();
|
||||
void moveMixUp();
|
||||
void moveMixDown();
|
||||
|
||||
void mixerlistWidget_customContextMenuRequested(QPoint pos);
|
||||
void mixerlistWidget_doubleClicked(QModelIndex index);
|
||||
void mixerlistWidget_KeyPress(QKeyEvent *event);
|
||||
|
||||
void mimeMixerDropped(int index, const QMimeData *data, Qt::DropAction action);
|
||||
void pasteMixerMimeData(const QMimeData * mimeData, int destIdx);
|
||||
|
||||
void mixesEdited();
|
||||
|
||||
private:
|
||||
GeneralSettings & generalSettings;
|
||||
MixersList *MixerlistWidget;
|
||||
bool mixInserted;
|
||||
|
||||
int getMixerIndex(unsigned int dch);
|
||||
bool gm_insertMix(int idx);
|
||||
void gm_deleteMix(int index);
|
||||
void gm_openMix(int index);
|
||||
int gm_moveMix(int idx, bool dir);
|
||||
void mixersDeleteList(QList<int> list);
|
||||
QList<int> createMixListFromSelected();
|
||||
void setSelectedByMixList(QList<int> list);
|
||||
|
||||
};
|
||||
|
||||
#endif // MIXES_H
|
||||
Reference in New Issue
Block a user