Started with some initial animation on the Touchscreen-interface
This commit is contained in:
parent
bc623ef529
commit
11e57c3bdc
7 changed files with 187 additions and 3 deletions
|
@ -1,17 +1,23 @@
|
|||
#include <QtCore>
|
||||
#include <QLabel>
|
||||
#include "touchplugin.h"
|
||||
#include "panel.h"
|
||||
|
||||
QIcon TouchPlugin::iconForPage( const QString &page ) const {
|
||||
Q_UNUSED(page);
|
||||
return QIcon(":/images/touchinterface.png");
|
||||
}
|
||||
|
||||
void TouchPlugin::init() {
|
||||
}
|
||||
|
||||
QString TouchPlugin::pluginName() const {
|
||||
return "TouchInterface";
|
||||
}
|
||||
|
||||
QWidget *TouchPlugin::widget( const QString &page, QWidget *parent ) const {
|
||||
return new QLabel("Hello world", parent);
|
||||
Q_UNUSED(page)
|
||||
return new Panel(parent);
|
||||
}
|
||||
|
||||
QStringList TouchPlugin::widgets() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue