It performs event handling, meaning that it receives events from the underlying window system and dispatches them to the relevant widgets.It keeps track of these properties in case the user changes the desktop globally, for example through some kind of control panel. It initializes the application with the user's desktop settings such as palette(), font() and doubleClickInterval().QApplication's main areas of responsibility are: The QApplication object is accessible through the instance() function that returns a pointer equivalent to the global qApp pointer. QCoreApplication * createApplication( int &argc, char *argv )įor ( int i = 1 i app(createApplication(argc, argv)) SetPalette(const QPalette & palette, const char * className = nullptr) ![]() ![]() SetNavigationMode(Qt::NavigationMode mode) SetFont(const QFont & font, const char * className = nullptr) SetEffectEnabled(Qt::UIEffect effect, bool enable = true)
0 Comments
Leave a Reply. |