Currently keyboard shortcuts cannot be changed, double clicking a cell in the Information window only changes the text, not the shortcut.
This could help to avoid user confusion, and should be reverted once the application adds an option to change keyboard shortcuts.
This will allow users to set their own Imgur client_id passing the IMGUR_CLIENT_ID variable to qmake.
If the users does not set this variable, it will fallback to the default value.
This will make easier to see and edit colors in the settings file.
The format is defined by QColor::HexRgb
Fixes#142https://doc.qt.io/qt-5/qcolor.html#NameFormat-enum
* Add config colors validation
If the user adds an invalid hexadecimal colors, defined default colors will be used instead
normalize only swaps the sides if width() or height() is < 0,
but we need it to happen when it is <=0 because with QRect's
normalized method we get negative geometry and that causes a bug
when we position the buttons.
If the user presses the Cancel button using the QFileDialog::getSaveFileName() modal file dialog, it will return null string.
Adding this condition will prevent to show an error when trying to write to disk using an invalid filename.
With this commit, I would expect users able to build deb packages
with instructions that is compatible from Ubuntu 16.04.x LTS.
Signed-off-by: Boyuan Yang <073plan@gmail.com>
closes#11
Add an initial version of the text tool.
This commit adds:
- Basic text tool.
- On demand thickness and color update.
- Generalized logic for future widget based tools.
The core now has a method requestCapture, which receives a
CaptureRequest object with all the needed information.
This reduces code duplication in future features.
Compiling the project without git installed uses a hardcoded
version with a *-dev ending in the dev versions instead of
the specific commit information after the version.