added a hack for fixing fullscreen context menus with QOpengGLWidget in YACReader

This commit is contained in:
Luis Ángel San Martín
2016-05-01 21:52:22 +02:00
commit dd64e013be
986 changed files with 90311 additions and 0 deletions

View File

@ -0,0 +1,29 @@
import QtQuick 2.6
import QtGraphicalEffects 1.0
Item {
property bool read
signal readChangedByUser(bool read)
MouseArea {
anchors.fill: read_compact
onClicked: {
readChangedByUser(!read);
}
}
Image {
id: read_compact
source: "info-tick.png"
}
ColorOverlay {
anchors.fill: read_compact
source: read_compact
color: read ? "#e84852" : "#1c1c1c"
}
}