some updates - rubberband and callbacks

This commit is contained in:
ingvar1995
2016-05-29 16:49:00 +03:00
parent 02507ab8b4
commit b6d13166bc
3 changed files with 22 additions and 3 deletions

View File

@ -3,7 +3,7 @@
from menu import *
from profile import *
from list_items import *
from widgets import QRightClickButton
from widgets import QRightClickButton, RubberBand
import plugin_support
@ -523,7 +523,7 @@ class ScreenShotWindow(QtGui.QWidget):
self.setWindowFlags(self.windowFlags() | QtCore.Qt.FramelessWindowHint | QtCore.Qt.WindowStaysOnTopHint)
self.showFullScreen()
self.setWindowOpacity(0.5)
self.rubberband = QtGui.QRubberBand(QtGui.QRubberBand.Rectangle, None)
self.rubberband = RubberBand()
def closeEvent(self, *args):
if self.parent.isHidden():