now can load more profiles, translation updated
This commit is contained in:
parent
fc37a5963c
commit
6c55773dbc
12 changed files with 175 additions and 33 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "SnapmaticPicture.h"
|
||||
#include "ProfileDatabase.h"
|
||||
#include "DatabaseThread.h"
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
|
@ -32,7 +33,7 @@ class SnapmaticWidget : public QWidget
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit SnapmaticWidget(ProfileDatabase *profileDB, QWidget *parent = 0);
|
||||
explicit SnapmaticWidget(ProfileDatabase *profileDB, DatabaseThread *threadDB, QWidget *parent = 0);
|
||||
void setSnapmaticPicture(SnapmaticPicture *picture, QString picturePath);
|
||||
~SnapmaticWidget();
|
||||
|
||||
|
@ -41,6 +42,7 @@ private slots:
|
|||
|
||||
private:
|
||||
ProfileDatabase *profileDB;
|
||||
DatabaseThread *threadDB;
|
||||
Ui::SnapmaticWidget *ui;
|
||||
SnapmaticPicture *smpic;
|
||||
QString picPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue