Add comments and minor changes
This commit is contained in:
@@ -13,6 +13,9 @@ Check out the information window to see all the available shortcuts in the captu
|
||||
This software is very focused on selection capture and edition, but you can do full screen captures very easily just not having a visible selection, by default it will take it as if you were selecting the whole screen.
|
||||
|
||||
## Considerations
|
||||
|
||||
**Not working on Wayland**
|
||||
|
||||
If you have a system-wide shortcut assigned to the`Print`
|
||||
key, you should disable it because it may interfere with the global key detection.
|
||||
|
||||
|
||||
@@ -8,3 +8,5 @@ These are just conceptual and they may not be implemented implemented in a short
|
||||
- CLI tool: having a cli tool is very practical and it could be used in many different ways. Having a command line program will enable the posibility of using the system-wide shortcuts to activate the captures.
|
||||
|
||||
- Video Recording Support: I don't know if this will happen but it could be interesting to have a unified tool and satisfy every need to capture your desktop. Requires a ton of investigation.
|
||||
|
||||
- Wayland support
|
||||
|
||||
@@ -221,7 +221,8 @@ void Button::updateIconColor(const QColor &c) {
|
||||
void Button::updateIconColor() {
|
||||
setIcon(getIcon(m_buttonType, iconIsWhite()));
|
||||
}
|
||||
|
||||
// iconIsWhite returns true if the passed color would contain a white icon
|
||||
// if applied to a button, and false otherwise
|
||||
bool Button::iconIsWhite(const QColor &c) {
|
||||
bool isWhite = false;
|
||||
if (c.value() < m_colorValueLimit ||
|
||||
|
||||
@@ -150,7 +150,7 @@ void CaptureWidget::paintEvent(QPaintEvent *) {
|
||||
// paint handlers
|
||||
updateHandles();
|
||||
painter.setBrush(m_uiColor);
|
||||
for(auto r: handleMask()) {
|
||||
for(auto r: handleMask().rects()) {
|
||||
painter.drawRoundRect(r, 100, 100);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ UIcolorEditor::UIcolorEditor(QWidget *parent) : QFrame(parent) {
|
||||
setLayout(hLayout);
|
||||
|
||||
}
|
||||
|
||||
// updateUIcolor updates the appearance of the buttons
|
||||
void UIcolorEditor::updateUIcolor() {
|
||||
QSettings settings;
|
||||
if (m_lastButtonPressed == m_buttonMainColor) {
|
||||
@@ -46,7 +46,7 @@ void UIcolorEditor::updateUIcolor() {
|
||||
settings.setValue("contastUiColor", m_uiColor);
|
||||
}
|
||||
}
|
||||
|
||||
// updateLocalColor updates the local button
|
||||
void UIcolorEditor::updateLocalColor(const QColor c) {
|
||||
m_uiColor = c;
|
||||
QString style = Button::getStyle(c);
|
||||
|
||||
Reference in New Issue
Block a user