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.
36 lines
641 B
C++
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
|