Added toolButton for lunchmealplugin
This commit is contained in:
1 parent
39277b79bb
commit
e8a60daade
10 files changed
+78
-5
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#include "lunchmealwidget.h"
|
||||
|
||||
#include <QIcon>
|
||||
|
||||
#include "stripswidget.h"
|
||||
#include "mainwindow.h"
|
||||
#include "zeiterfassungapi.h"
|
||||
|
||||
LunchMealWidget::LunchMealWidget(StripsWidget &stripsWidget) :
|
||||
QToolButton(&stripsWidget),
|
||||
m_stripsWidget(stripsWidget)
|
||||
{
|
||||
setIcon(QIcon(QStringLiteral(":/zeiterfassung/plugins/lunchmealplugin/images/lunch-meal.png")));
|
||||
setText(tr("Lunch meal"));
|
||||
|
||||
connect(this, &QAbstractButton::pressed, this, &LunchMealWidget::pressedSlot);
|
||||
}
|
||||
|
||||
void LunchMealWidget::pressedSlot()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user