summaryrefslogtreecommitdiffstats
path: root/archiveitemcoveredit.h
diff options
context:
space:
mode:
Diffstat (limited to 'archiveitemcoveredit.h')
-rw-r--r--archiveitemcoveredit.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/archiveitemcoveredit.h b/archiveitemcoveredit.h
deleted file mode 100644
index 7f91a49..0000000
--- a/archiveitemcoveredit.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- 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.
-*/
-
-#ifndef ARCHIVEITEMCOVEREDIT_H
-#define ARCHIVEITEMCOVEREDIT_H
-
-#include <QWidget>
-#include <QHash>
-#include <QPair>
-#include <QList>
-
-class QLineEdit;
-class QPushButton;
-class QCheckBox;
-class PictureViewer;
-
-class ArchiveItemCoverEdit : public QWidget {
- Q_OBJECT
- public:
- explicit ArchiveItemCoverEdit(QWidget *parent = 0);
- void setCovers(const QList<QVariant> &covers);
- QList<QVariant> covers() const;
-
- private slots:
- void unlock(QWidget *lineEdit);
- void browse(QWidget *lineEdit);
- void view(QWidget *lineEdit);
-
- private:
- QLineEdit *mFrontCover;
- QLineEdit *mBackCover;
- QLineEdit *mGeneralCover;
- QPushButton *mBrowseFront;
- QPushButton *mBrowseBack;
- QPushButton *mBrowseGeneral;
- QPushButton *mViewFront;
- QPushButton *mViewBack;
- QPushButton *mViewGeneral;
- QCheckBox *mUnlockFront;
- QCheckBox *mUnlockBack;
- QCheckBox *mUnlockGeneral;
- QHash<QLineEdit*, QCheckBox*> mLineEditMapping;
- QHash<QLineEdit*, QString> mInitialValue;
- QHash<QCheckBox*, QPair<QString, QString> > mCheckboxTexts;
- QHash<QCheckBox*, QPushButton*> mBrowseMap;
- QString mLastOpenedDir;
- PictureViewer *mPicViewer;
-};
-
-#endif