graphic and blockview support for style colors
git-svn-id: svn://db.shs.com.ru/libs@545 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -102,15 +102,15 @@ Graphic::Graphic(QWidget * parent): QFrame(parent), line_x_min(this), line_x_max
|
||||
curaction = gaMove;
|
||||
selbrush.setStyle(Qt::SolidPattern);
|
||||
selbrush.setColor(QColor(60, 175, 255, 100));
|
||||
text_color = Qt::black;
|
||||
grid_pen = QPen(Qt::gray, 0., Qt::DotLine);
|
||||
text_color = palette().color(QPalette::WindowText);
|
||||
grid_pen = QPen(palette().color(QPalette::Button), 0., Qt::DotLine);
|
||||
//graph_pen = QPen(Qt::red);
|
||||
//graph_pen.setCosmetic(true);
|
||||
graphics.append(GraphicType());
|
||||
curGraphic = 0;
|
||||
selpen = QPen(Qt::black);
|
||||
selpen = palette().color(QPalette::WindowText);
|
||||
selpen.setStyle(Qt::DashLine);
|
||||
back_color = Qt::white;
|
||||
back_color = palette().color(QPalette::Base);
|
||||
buttons_ = AllButtons;
|
||||
setOpenGL(false);
|
||||
setButtonsPosition(Graphic::Left);
|
||||
|
||||
Reference in New Issue
Block a user