[mythtv-commits] Ticket #13318: spinbox click actions are ignored.
MythTV
noreply at mythtv.org
Thu Sep 6 16:35:22 UTC 2018
#13318: spinbox click actions are ignored.
---------------------------------------------+-----------------------------
Reporter: jpoet | Owner: Peter
| Bennett
Type: Bug Report - General | Status: accepted
Priority: minor | Milestone: 29.2
Component: MythTV - User Interface Library | Version: v29.1
Severity: medium | Resolution:
Keywords: spin box click | Ticket locked: 0
---------------------------------------------+-----------------------------
Comment (by Peter Bennett):
The original intent was to help those who have a spinbox with a range of
thousands, see #13204. Those with text are a bonus, but are not really
100% logical.
I could easily make it so that if it starts with a number, to allow the
popup box. That would solve the example you give. However I wonder if in
other language translations it may have the number in the middle or end.
It may be dangerous to allow the popup box for numbers anywhere in the
message, because one of the sql strings in your original problem may have
a number in it somewhere.
Another option is to provide a method in spinbox that the code can call,
to turn off the popup option in cases where you want to use ''enter'' for
another purpose.
There is a QT method that allows you to check if a slot has been attached
to a signal, which we could use to check if "clicked" has a slot attached,
but I could not understand how to use the method, and the example did not
help.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13318#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list