diff --git a/displaytext.cpp b/displaytext.cpp index 1aa95cc34..601d45097 100644 --- a/displaytext.cpp +++ b/displaytext.cpp @@ -11,7 +11,7 @@ DisplayText::DisplayText(QWidget *parent) : QTextEdit(parent) { setReadOnly (true); - setCursorWidth (0); + viewport ()->setCursor (Qt::ArrowCursor); } void DisplayText::mouseDoubleClickEvent(QMouseEvent *e) diff --git a/mainwindow.ui b/mainwindow.ui index c1c9272ac..1c02bd3d1 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -323,9 +323,6 @@ 100 - - false - QFrame::Panel @@ -335,26 +332,19 @@ Qt::ScrollBarAsNeeded - - false - - - <!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:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - - - false + + 0 - Qt::TextSelectableByMouse + Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + true + 0 @@ -367,30 +357,14 @@ p, li { white-space: pre-wrap; } 100 - - false - Qt::ScrollBarAlwaysOn - - false - - - <!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:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> - - - false - 0 - Qt::TextSelectableByMouse + Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse