mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
Grey background : title block and border have grey background too.
Help line of item(add shape, or add element) change is color when background is grey git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4031 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -423,8 +423,8 @@ void BorderTitleBlock::draw(QPainter *painter)
|
||||
painter -> setFont(QETApp::diagramTextsFont());
|
||||
|
||||
//Draw the empty case at the top left of diagram when there is header
|
||||
if (display_border_ && (display_columns_ || display_rows_)) {
|
||||
painter -> setBrush(Qt::white);
|
||||
if (display_border_ && (display_columns_ || display_rows_))
|
||||
{
|
||||
QRectF first_rectangle(
|
||||
diagram_rect_.topLeft().x(),
|
||||
diagram_rect_.topLeft().y(),
|
||||
|
||||
Reference in New Issue
Block a user