How to configure Windows 10 built-in OpenSSH for Git. No need for Putty anymore.
-
Open a Powershell console in Administrator mode.
-
Install Windows' OpenSSH client.
$OpenSSHClient = Get-WindowsCapability -Online | ? Name -like 'OpenSSH.Client*'
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.
There are two ways of drawing a rectangle with different border radiuses / different roundings in pure QML:
Canvas
QML API, which is similar to using QPainter
in C++ and the Canvas
web API in JavaScript (CPU-based).Shape
QML API, which has a declarative paradigm, and better performance because it can directly draw with GPU, if your platform supports GL_NV_path_rendering
.