A NSIS 3.x plugin is most of the time:
yourPlugin.nsh
: The header to includeyourPlugin.dll
: The DLL, often built from a C program.
The file structure for plugins, in C:\Program Files (x86)\NSIS
, is:
Theses classes show how to make a QQuickItem
that draws a rectangle with different border radiuses /different roundings.
RoundedRectangle
: the C++ class that draws the rectangle, using QPainter
API.RoundedCorners
: a C++ class to simplify the definition of different roundings.RoundedRectangle {
width: 100
When you have modifications in your Git repository, both in source files and submodules, here is the ultimate solution.
git clean -xfd
git submodule foreach --recursive git clean -xfd
git reset --hard
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive
QWidget
is the class that represents a element on the Graphical User interface. It has thus a visual representation on the screen, and receives events regularly to allow it to update its state. It must be re-drawn on the screen each time it receives an event that suggests a modification of its appearance. For instance, a button will repaint itself when it is pressed by the mouse pointer.