Karlo Lozovina wrote:
On 4/11/08, Ulrich Berning <[EMAIL PROTECTED]> wrote:
From the docs:
"Actions are added to widgets using QWidget::addAction(). Note that an
action must be added to a widget before it can be used; this is also true
when the shortcut should be global (i.e., Qt::Application
On 4/11/08, Ulrich Berning <[EMAIL PROTECTED]> wrote:
> From the docs:
> "Actions are added to widgets using QWidget::addAction(). Note that an
> action must be added to a widget before it can be used; this is also true
> when the shortcut should be global (i.e., Qt::ApplicationShortcut as
> Qt:
Karlo Lozovina wrote:
Hi guys!
I'm trying to add keyboard shortcuts to my application, but I'm stuck
at the beginning. Here is a simple application that I can't get to
work:
###
import sys
from PyQt4.Qt import Qt
from PyQt4.QtCore import QObject, SIGNAL
from PyQt4.QtGui import QWidget, QApplic
On 2008-04-10, Karlo Lozovina wrote:
> Hi guys!
>
> I'm trying to add keyboard shortcuts to my application, but I'm stuck
> at the beginning. Here is a simple application that I can't get to
> work:
One thing about QAction's: they only come into effect when the action
has been added to a menu or a
Hi guys!
I'm trying to add keyboard shortcuts to my application, but I'm stuck
at the beginning. Here is a simple application that I can't get to
work:
###
import sys
from PyQt4.Qt import Qt
from PyQt4.QtCore import QObject, SIGNAL
from PyQt4.QtGui import QWidget, QApplication, QMainWindow, QActi