![]() ![]() PaintArea is a QWidget that allows the user to draw using a brush and to insert shapes.MainWindow is a QMainWindow subclass that provides the menu system and that contains a PaintArea as the central widget.Plug & Paint consists of the following classes: Afterwards, you can read the Basic Tools and Extra Filters overviews, which show how to implement static and dynamic plugins, respectively. If you want to learn how to make your own application extensible through plugins, we recommend that you start by reading this overview, which explains how to make an application use plugins. ![]() ![]() A single plugin can provide multiple brushes, shapes, and/or filters. The Plug & Paint example uses plugins to support custom brushes, shapes, and image filters. To ensure that plugins don't get lost, it is also possible to link them statically to the executable. Qt makes it possible to create custom plugins and to load them using QPluginLoader. A plugin is a dynamic library that can be loaded at run-time to extend an application. ![]()
0 Comments
Leave a Reply. |