1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#ifndef GALLERYWIDGET_H
#define GALLERYWIDGET_H
#include <QWidget>
#include "imageviewer.h"
#define NUMTHUMBS 12
namespace Ui {
class galleryWidget;
}
class galleryWidget : public QWidget
{
Q_OBJECT
public:
explicit galleryWidget(QWidget *parent = 0);
~galleryWidget();
void init();
void writeSettings();
void readSettings();
void changedMatrix();
void changedMatrix(imageViewer::thumbType itype);
void putRxImage(QString fn);
void txImageChanged ();
void txStockImageChanged();
QString getTemplateFileName(int);
const QStringList &getFilenames();
QString getLastRxImage();
public slots:
void slotDirChanged(QString);
private:
Ui::galleryWidget *ui;
QStringList sl;
};
extern galleryWidget *galleryWidgetPtr;
#endif // GALLERYWIDGET_H
|