Dialog
0
0
777
557
Dialog
-
Qt::Horizontal
QDialogButtonBox::Cancel|QDialogButtonBox::Ok
-
QLineEdit,
QTextEdit
{
border: 1px solid #707070;
color: white;
background-color: #454545;
selection-background-color: #ffffff;
selection-color: black;
}
QLineEdit[readOnly="false"][enabled="true"]:hover,
QLineEdit[readOnly="false"][enabled="true"]:focus,
QTextEdit[readOnly="false"][enabled="true"]:hover,
QTextEdit[readOnly="false"][enabled="true"]:focus,
QTextBrowser[readOnly="false"][enabled="true"]:hover,
QTextBrowser[readOnly="false"][enabled="true"]:focus
{
border: 12px solid green;
}
Working
12
475
108
21
test
false
-
QLineEdit,
QTextEdit
{
border: 1px solid #707070;
color: white;
background-color: #454545;
selection-background-color: #ffffff;
selection-color: black;
}
QLineEdit:!read-only:hover,
QTextEdit:!read-only:hover
{
border: 5px solid green;
}
QLineEdit:read-only:hover,
QTextEdit:read-only:hover
{
border: 5px solid red;
}
Not Working
20
470
231
21
LineEdit-ReadOnly
true
12
254
256
192
true
TextBrowser-ReadOnly
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:6px; margin-bottom:6px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">TextBrowser-ReadOnly</p></body></html>
12
32
256
192
true
TextEdit-ReadOnly
340
40
261
181
textEditRW
340
250
256
192
false
textBrowserRW
340
460
251
25
LineEditRW
buttonBox
accepted()
Dialog
accept()
248
254
157
274
buttonBox
rejected()
Dialog
reject()
316
260
286
274