comparison src/gui/widgets/text.cc @ 87:4aef97f4d998

information: use QGridLayout please... text: fix Line selection :)
author Paper <mrpapersonic@gmail.com>
date Tue, 31 Oct 2023 15:23:52 -0400
parents c912128af0eb
children 18979b066284
comparison
equal deleted inserted replaced
86:c912128af0eb 87:4aef97f4d998
75 exists because sometimes with SelectableSection it will let you go 75 exists because sometimes with SelectableSection it will let you go
76 out of bounds */ 76 out of bounds */
77 Line::Line(QWidget* parent) : QLineEdit(parent) { 77 Line::Line(QWidget* parent) : QLineEdit(parent) {
78 setFrame(false); 78 setFrame(false);
79 setReadOnly(true); 79 setReadOnly(true);
80 setCursor(Qt::IBeamCursor);
80 81
81 QPalette pal; 82 QPalette pal;
82 pal.setColor(QPalette::Base, Qt::transparent); 83 pal.setColor(QPalette::Base, Qt::transparent);
83 setPalette(pal); 84 setPalette(pal);
84 85