новые иконки в OpenBoard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenBoard/src/gui/UBDocumentToolsPalette.cpp

34 lines
607 B

#include "UBDocumentToolsPalette.h"
#include <QtGui>
#include "frameworks/UBPlatformUtils.h"
#include "core/UBApplication.h"
#include "gui/UBMainWindow.h"
UBDocumentToolsPalette::UBDocumentToolsPalette(QWidget *parent)
: UBActionPalette(Qt::TopRightCorner, parent)
{
QList<QAction*> actions;
if (UBPlatformUtils::hasVirtualKeyboard())
{
actions << UBApplication::mainWindow->actionVirtualKeyboard;
}
setActions(actions);
setButtonIconSize(QSize(42, 42));
adjustSizeAndPosition();
}
UBDocumentToolsPalette::~UBDocumentToolsPalette()
{
// NOOP
}