mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-22 05:29:14 +01:00
da59f4ec49
git-svn-id: http://wiiqt.googlecode.com/svn/trunk@2 389f4c8b-5dfe-645f-db0e-df882bc27289
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include "saveloadthread.h"
|
|
#include "savelistitem.h"
|
|
#include "savebanner.h"
|
|
#include "includes.h"
|
|
|
|
namespace Ui {
|
|
class MainWindow;
|
|
}
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(QWidget *parent = 0);
|
|
~MainWindow();
|
|
|
|
private:
|
|
Ui::MainWindow *ui;
|
|
QProgressBar progressBar;
|
|
void GetSavesFromSneek( const QString &path );
|
|
|
|
SaveLoadThread bannerthread;
|
|
|
|
//void ShowSneekSaveDetails( SaveListItem *item );
|
|
int currentSneekIcon;
|
|
QTimer sneekIconTimer;
|
|
QList<QPixmap>sneekIcon;
|
|
|
|
|
|
private slots:
|
|
void on_actionSet_Sneek_Path_triggered();
|
|
void on_listWidget_sneekSaves_currentItemChanged(QListWidgetItem* current, QListWidgetItem* previous);
|
|
//void on_listWidget_sneekSaves_itemClicked(QListWidgetItem* item);
|
|
//void on_listWidget_sneekSaves_itemActivated( QListWidgetItem* item );
|
|
|
|
void ReceiveSaveItem( QByteArray, const QString&, int, int );
|
|
void GetProgressUpdate( int );
|
|
void LoadThreadIsDone( int );
|
|
|
|
void ShowSneekSaveDetails( SaveListItem *item );
|
|
void ShowNextSneekIcon();
|
|
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|