Mercurial > minori
comparison src/gui/widgets/text.cc @ 97:18979b066284
animia/unix: fix a bunch of stuff that breaks OS X things
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 02 Nov 2023 13:14:15 -0400 |
parents | 4aef97f4d998 |
children | b315f3759c56 |
comparison
equal
deleted
inserted
replaced
96:bd68e4393e6f | 97:18979b066284 |
---|---|
70 } | 70 } |
71 return QSize(doc->size().width(), h); | 71 return QSize(doc->size().width(), h); |
72 } | 72 } |
73 | 73 |
74 /* Equivalent to Paragraph(), but is only capable of showing one line. Only | 74 /* Equivalent to Paragraph(), but is only capable of showing one line. Only |
75 exists because sometimes with SelectableSection it will let you go | 75 exists because with SelectableSection it will let you go |
76 out of bounds */ | 76 out of bounds and that looks really fugly for most things */ |
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 setCursor(Qt::IBeamCursor); |
81 | 81 |