Loading...
Searching...
No Matches
HelpInteraction.hpp
1#pragma once
2#include <QAction>
3#include <QWidget>
4
5namespace score
6{
7inline void setHelp(QWidget* widg, const QString& shorttxt, const QString& txt)
8{
9 widg->setToolTip(shorttxt);
10 widg->setStatusTip(txt);
11 widg->setWhatsThis(txt);
12}
13inline void setHelp(QAction* widg, const QString& shorttxt, const QString& txt)
14{
15 widg->setToolTip(shorttxt);
16 widg->setStatusTip(txt);
17 widg->setWhatsThis(txt);
18}
19inline void setHelp(QWidget* widg, const QString& txt)
20{
21 widg->setToolTip(txt);
22 widg->setStatusTip(txt);
23 widg->setWhatsThis(txt);
24}
25inline void setHelp(QAction* widg, const QString& txt)
26{
27 widg->setToolTip(txt);
28 widg->setStatusTip(txt);
29 widg->setWhatsThis(txt);
30}
31}
Base toolkit upon which the software is built.
Definition Application.cpp:90