I want to show a variable in the QStatusBar after calling a funtion
Unsolved
General and Desktop
-
Hello,
i want to show a variable in the QStatusBar which is given from a function. Do you know how ?For Example i have a function:
int numer() { int f = 1; return f; }
Now i want to call this function and show the variable in the status bar like :
Do you know how to solve that?
Regards -
-
thank you @SGaist and how it would be with more variables?
-
@developer_96 Like documented https://doc.qt.io/qt-5/qstring.html#arg