mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 04:21:56 +00:00
More work on the Shortcuts UI:
- less stylish, but hopefully more visibly panel style for the shortcut widget. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25790 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6ae7cad09f
commit
7606318a7f
@ -47,8 +47,9 @@ ShortcutWidget::ShortcutWidget(QWidget * parent)
|
|||||||
{
|
{
|
||||||
QApplication::instance()->installEventFilter(this);
|
QApplication::instance()->installEventFilter(this);
|
||||||
has_cursor_ = false;
|
has_cursor_ = false;
|
||||||
setFrameShape(QFrame::StyledPanel);
|
setFrameShape(QFrame::Panel);
|
||||||
setFrameShadow(QFrame::Raised);
|
setFrameShadow(QFrame::Raised);
|
||||||
|
setLineWidth(3);
|
||||||
setFocusPolicy(Qt::StrongFocus);
|
setFocusPolicy(Qt::StrongFocus);
|
||||||
setAlignment(Qt::AlignCenter);
|
setAlignment(Qt::AlignCenter);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user