Initial repo creation.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#include "TTK-BasePlugin.h"
|
||||
|
||||
QString BasePlugin::pname()
|
||||
{
|
||||
return "Base Plugin";
|
||||
}
|
||||
|
||||
QString BasePlugin::pdesc()
|
||||
{
|
||||
return "Simple base plugin.";
|
||||
}
|
||||
|
||||
QWidget* BasePlugin::pcontent()
|
||||
{
|
||||
QWidget *test = new QWidget();
|
||||
test->setWindowTitle(tr("Base Plugin"));
|
||||
test->resize(400, 300);
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout;
|
||||
test->setLayout(mainLayout);
|
||||
QIcon icon = QIcon(":/images/smile.png");
|
||||
test->setWindowIcon(icon);
|
||||
return test;
|
||||
}
|
||||
Reference in New Issue
Block a user