mirror of https://github.com/KLayout/klayout.git
commit
8edcab0cf7
|
|
@ -1299,6 +1299,8 @@ void DecoratedLineEdit::mouseReleaseEvent (QMouseEvent *event)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QLineEdit::mouseReleaseEvent (event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DecoratedLineEdit::mousePressEvent (QMouseEvent *event)
|
void DecoratedLineEdit::mousePressEvent (QMouseEvent *event)
|
||||||
|
|
@ -1317,9 +1319,11 @@ void DecoratedLineEdit::mousePressEvent (QMouseEvent *event)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QLineEdit::mousePressEvent (event);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DecoratedLineEdit::resizeEvent (QResizeEvent * /*event*/)
|
void DecoratedLineEdit::resizeEvent (QResizeEvent *event)
|
||||||
{
|
{
|
||||||
int fw = hasFrame () ? le_frame_width : 0;
|
int fw = hasFrame () ? le_frame_width : 0;
|
||||||
|
|
||||||
|
|
@ -1334,6 +1338,8 @@ void DecoratedLineEdit::resizeEvent (QResizeEvent * /*event*/)
|
||||||
QRect r = geometry ();
|
QRect r = geometry ();
|
||||||
mp_options_label->setGeometry (fw, 0, label_size.width (), r.height ());
|
mp_options_label->setGeometry (fw, 0, label_size.width (), r.height ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QLineEdit::resizeEvent (event);
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------------------------
|
// -------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue