git-svn-id: svn://db.shs.com.ru/libs@546 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -38,7 +38,7 @@ void BlockView::_init() {
|
|||||||
ghost_ = 0;
|
ghost_ = 0;
|
||||||
grid_step = 10.;
|
grid_step = 10.;
|
||||||
grid_points = 1;
|
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;
|
thick = 1;
|
||||||
thumb_hide_delay = 500;
|
thumb_hide_delay = 500;
|
||||||
timer_thumb = 0;
|
timer_thumb = 0;
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ Graphic::Graphic(QWidget * parent): QFrame(parent), line_x_min(this), line_x_max
|
|||||||
selbrush.setStyle(Qt::SolidPattern);
|
selbrush.setStyle(Qt::SolidPattern);
|
||||||
selbrush.setColor(QColor(60, 175, 255, 100));
|
selbrush.setColor(QColor(60, 175, 255, 100));
|
||||||
text_color = palette().color(QPalette::WindowText);
|
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 = QPen(Qt::red);
|
||||||
//graph_pen.setCosmetic(true);
|
//graph_pen.setCosmetic(true);
|
||||||
graphics.append(GraphicType());
|
graphics.append(GraphicType());
|
||||||
|
|||||||
Reference in New Issue
Block a user