26 auto action =
new QAction(
"Add files",
this);
27 action->setIcon(QIcon(
":/icons/import.svg"));
28 action->setToolTip(
"Adds more files to the list.\n "
29 "All of them will be parsed in the same way.");
30 connect(action, &QAction::triggered, [
this]() { this->
addFilesRequest(); });
34 action =
new QAction(
"Remove files",
this);
35 action->setIcon(QIcon(
":/icons/beaker-remove-outline.svg"));
36 action->setToolTip(
"Remove selected files from the list.");
DAREFLCORE_EXPORT void SetToolBarStyleTextBesides(QToolBar *toolbar)
Set common style for a toolbar.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.