![]() |
Scanframe Modular Application 0.1.0
|
#include <ProxyStyle.h>
Public Member Functions | |
ProxyStyle (float factor, QStyle *baseStyle=nullptr) | |
Constructor. | |
void | drawControl (ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget=nullptr) const override |
Overridden from base class. | |
|
explicit |
Constructor.
factor | Dim factor between 0 and 1. |
baseStyle | Optional base style. int main(int argc, char* argv[])
{
Application app(argc, argv);
// Put the proxy in between the current style.
app.setStyle(new ProxyStyle(QApplication::style()));
...
}
Definition Application.h:13 Definition ProxyStyle.h:9 |
|
override |
Overridden from base class.