Added qss to ResultDialog.
This commit is contained in:
parent
a6c813e07a
commit
1c922db961
@ -17,6 +17,14 @@ ResultDialog::ResultDialog (const LanguageHelper &dictionary, QWidget *parent) :
|
|||||||
setWindowFlags (Qt::FramelessWindowHint | Qt::NoDropShadowWindowHint |
|
setWindowFlags (Qt::FramelessWindowHint | Qt::NoDropShadowWindowHint |
|
||||||
Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint);
|
Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint);
|
||||||
|
|
||||||
|
QString styleSheet =
|
||||||
|
"#recognizeLabel, #translateLabel {"
|
||||||
|
"color: black;"
|
||||||
|
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,"
|
||||||
|
"stop:0 darkGray, stop: 0.5 lightGray, stop:1 darkGray);"
|
||||||
|
"}";
|
||||||
|
setStyleSheet (styleSheet);
|
||||||
|
|
||||||
installEventFilter (this);
|
installEventFilter (this);
|
||||||
createContextMenu ();
|
createContextMenu ();
|
||||||
applySettings ();
|
applySettings ();
|
||||||
|
Loading…
Reference in New Issue
Block a user