git-svn-id: svn://db.shs.com.ru/libs@546 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-06-06 12:57:59 +00:00
parent 8b9d4cffa7
commit 06c3252e26
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ void BlockView::_init() {
ghost_ = 0;
grid_step = 10.;
grid_points = 1;
grid_pen = QPen(palette().color(QPalette::Mid), 1, Qt::NoPen);
grid_pen = QPen(palette().color(QPalette::Disabled, QPalette::WindowText), 1, Qt::NoPen);
thick = 1;
thumb_hide_delay = 500;
timer_thumb = 0;

View File

@@ -103,7 +103,7 @@ Graphic::Graphic(QWidget * parent): QFrame(parent), line_x_min(this), line_x_max
selbrush.setStyle(Qt::SolidPattern);
selbrush.setColor(QColor(60, 175, 255, 100));
text_color = palette().color(QPalette::WindowText);
grid_pen = QPen(palette().color(QPalette::Button), 0., Qt::DotLine);
grid_pen = QPen(palette().color(QPalette::Disabled, QPalette::WindowText), 0., Qt::DotLine);
//graph_pen = QPen(Qt::red);
//graph_pen.setCosmetic(true);
graphics.append(GraphicType());