[minor] some updates, added bright style sheet

This commit is contained in:
2017-09-07 16:51:56 +02:00
parent 9c63621ba4
commit cacfb37468
4 changed files with 10 additions and 11 deletions

View File

@@ -442,13 +442,14 @@ class WaveformWidgetPG(QtGui.QWidget):
self.plotWidget.hideAxis('bottom')
self.plotWidget.hideAxis('left')
self.wfstart, self.wfend = 0, 0
self.pen = self.pg.mkPen(self.parent()._style['multicursor']['rgba'])
self.pen_multicursor = self.pg.mkPen(self.parent()._style['multicursor']['rgba'])
self.pen_linecolor = self.pg.mkPen(self.parent()._style['linecolor']['rgba'])
self.reinitMoveProxy()
self._proxy = self.pg.SignalProxy(self.plotWidget.scene().sigMouseMoved, rateLimit=60, slot=self.mouseMoved)
def reinitMoveProxy(self):
self.vLine = self.pg.InfiniteLine(angle=90, movable=False, pen=self.pen)
self.hLine = self.pg.InfiniteLine(angle=0, movable=False, pen=self.pen)
self.vLine = self.pg.InfiniteLine(angle=90, movable=False, pen=self.pen_multicursor)
self.hLine = self.pg.InfiniteLine(angle=0, movable=False, pen=self.pen_multicursor)
self.plotWidget.addItem(self.vLine, ignoreBounds=True)
self.plotWidget.addItem(self.hLine, ignoreBounds=True)

View File

@@ -15,11 +15,6 @@ border-width: 2px;
border-style:inset;
}
FigureCanvasQtAgg{
background-color: rgba(50, 50, 60, 255);
color: rgba(255, 255, 255, 255);
}
QComboBox{
background-color: rgba(80, 80, 90, 255);
color: rgba(255, 255, 255, 255);

View File

@@ -40,7 +40,7 @@ stylecolors = {
},
'dark': {
'linecolor': {
'rgba': (255, 255, 255, 255)},
'rgba': (230, 230, 230, 255)},
'background': {
'rgba': (50, 50, 60, 255)},
'multicursor': {