Add a tool to take an inverted screenshot (#1849)
* Add invert tool to build commands * Add icons for invert tool * Integrate invert tool * Add shortcut for invert tool * Add invert tool * Add translation for invert tool * Run clang-format * Update tool to invert a region instead of everything * Update shortcut for invert tool * Update button order of inverter and counter * Update translations for invert tool * Run clang-format * Revert "Update translations for invert tool" This reverts commit c1fd5a162be6c64b26790d53eab3749b3a124bcf. * Revert "Add translation for invert tool" This reverts commit b0c1da5f36e844fa8b5f1492f5f507d85bb7aa7b. * Update drawSearchArea to match pixelate * Update invert icon to one from Material Design Co-authored-by: crackcat <>
This commit is contained in:
@@ -104,6 +104,8 @@ const QKeySequence& ConfigShortcuts::captureShortcutDefault(
|
||||
m_ks = QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_Z);
|
||||
} else if (buttonType == "TYPE_TEXT") {
|
||||
m_ks = QKeySequence(Qt::Key_T);
|
||||
} else if (buttonType == "TYPE_INVERT") {
|
||||
m_ks = QKeySequence(Qt::Key_I);
|
||||
} else if (buttonType == "TYPE_TOGGLE_PANEL") {
|
||||
m_ks = QKeySequence(Qt::Key_Space);
|
||||
} else if (buttonType == "TYPE_RESIZE_LEFT") {
|
||||
|
||||
Reference in New Issue
Block a user