I've stumbled onto another peculiar problem with QPushButton on OS X (and PyQt 4.0.1). I have a dialog with only two buttons, "Next" and "Cancel". In my code I make "Next" default, by calling setDefault(True) on it. However, if I run the app as the root user, with "sudo", the "Cancel" button is def
On Tuesday 02 September 2003 10:10 am, GuineaPig wrote:
> Hello,
>
> Situation is as follows:
>
> I'm working with pyQt and I have a widget with 40 QPushButtons
> (toggles). On 'toggled()' the buttons emit a signal to a function. In
> this function I'd like to find out wich button was pressed. I
GuineaPig wrote:
I'm working with pyQt and I have a widget with 40 QPushButtons
(toggles). On 'toggled()' the buttons emit a signal to a function. In
this function I'd like to find out wich button was pressed. I'm
thinking about iterating through all the buttons to check theirs state
but I c
Fredrik Juhlin wrote:
Hi,
GuineaPig wrote:
I'm working with pyQt and I have a widget with 40 QPushButtons
(toggles). On 'toggled()' the buttons emit a signal to a function. In
this function I'd like to find out wich button was pressed. I'm
thinking about iterating through all the buttons to c
Hi,
GuineaPig wrote:
I'm working with pyQt and I have a widget with 40 QPushButtons
(toggles). On 'toggled()' the buttons emit a signal to a function. In
this function I'd like to find out wich button was pressed. I'm
thinking about iterating through all the buttons to check theirs state
bu
Hello,
Situation is as follows:
I'm working with pyQt and I have a widget with 40 QPushButtons
(toggles). On 'toggled()' the buttons emit a signal to a function. In
this function I'd like to find out wich button was pressed. I'm
thinking about iterating through all the buttons to check thei