Files
edgetx-gx12/companion/src/splashlibrary.h
T
Kjell Kernen c289689105 All splash imgage display dialogs now use common code.
The splash image library displayed all images in 128x64 mono format.
Changed this to display either in 128x64 mono or 212x64 gray scale depending on profile information.
2014-02-23 22:24:43 +01:00

36 lines
641 B
C++

#ifndef SPLASHLIBRARY_H
#define SPLASHLIBRARY_H
#include <QtGui>
#include <QDialog>
namespace Ui {
class splashLibrary;
}
class splashLibrary : public QDialog
{
Q_OBJECT
public:
explicit splashLibrary(QWidget *parent = 0, QString * fileName=NULL);
~splashLibrary();
private slots:
void dclose();
void onButtonPressed(int button);
void on_nextPage_clicked();
void on_prevPage_clicked();
private:
void getFileList();
void setupPage(int page);
Ui::splashLibrary *ui;
QString * splashFileName;
QString libraryPath;
QStringList imageList;
int page;
};
#endif // SPLASHLIBRARY_H