[Interest] how to get 3 pixel focus ring?
David M. Cotter
dave at kjams.com
Tue Jun 9 21:18:32 CEST 2020
if you prefer forums with screen shots, see this forum post:
> On Jun 9, 2020, at 8:26 AM, Adam Light <aclight at gmail.com> wrote:
> On Sun, Jun 7, 2020 at 2:21 PM David M. Cotter <dave at kjams.com <mailto:dave at kjams.com>> wrote:
> i have an example project (see below), that tries 6 different implementations, attempts to make the focus ring 3 pix wide. None of them work on windows, and only one of them PARTIALLY works on mac. What i want is the style you get around a text edit on mac, but i want that style on ALL widgets, and i want it on windows too.
> Let's take a step back. What exactly are you trying to accomplish?
> Do you want the focus ring to be around the QTreeWidget, QTableWidget, and QLineEdit widgets (lineEdit, tableView, and treeView in your .ui file)? Do you want a focus ring around the selected item in the tree and table views (those are not widgets, but I suspect this is actually what you want). Or do you want the focus ring around the widgets used for editing values in your views, such as the line edit you get when you double click on one of the cells in the table widget? These are all very different problems so it's important to define the problem you are trying to solve first.
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest