rewrote oracle importer

This commit is contained in:
Max-Wilhelm Bruker 2009-10-13 01:06:48 +02:00
parent af0d72c0e6
commit ae6803f9f2
10 changed files with 535 additions and 452 deletions

26
oracle/src/window_main.h Normal file
View file

@ -0,0 +1,26 @@
#ifndef WINDOW_MAIN_H
#define WINDOW_MAIN_H
#include <QMainWindow>
class OracleImporter;
class QLabel;
class QProgressBar;
class QTextEdit;
class WindowMain : public QMainWindow {
Q_OBJECT
private:
OracleImporter *importer;
QLabel *totalLabel, *fileLabel, *nextSetLabel1, *nextSetLabel2;
QProgressBar *totalProgressBar, *fileProgressBar;
QTextEdit *messageLog;
private slots:
void updateTotalProgress(int cardsImported, int setIndex, const QString &nextSetName);
void updateFileProgress(int bytesRead, int totalBytes);
public:
WindowMain(QWidget *parent = 0);
};
#endif