[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-e
Subject: Re: Back button in kiosk mode?
From: "Paul Chitescu" <Paul.Chitescu () IMC-Group ! org>
Date: 2003-12-08 11:17:56
[Download RAW message or body]
----- Original Message -----
From: "Mark Baker" <distobj@acm.org>
To: "For discussion of Konqueror/Embedded" <konq-e@kde.org>
Sent: Saturday, December 06, 2003 20:46
Subject: Re: Back button in kiosk mode?
> I'm not QT developer, but I fumbled around and figured this might work
> in mainwindow_kiosk.cc;
>
> void MainWindowKiosk::initGUI()
> {
> m_findInput = 0;
> connect( new QAction( "", "", Key_F3, this, "go_back" ),
> SIGNAL( activated() ), SLOT( back() ) );
> }
>
> It doesn't work. The F3 key isn't being trapped, and instead ends up
> generate a key event which shows up elsewhere.
There's no "back()" slot anymore in the main window - what version are you
using?
> Any (urgent!!!) help that any of you could provide would be *greatly*
> appreciated.
>
> How else are folks doing Back in kiosk mode?
They're not - that's the whole point of kiosk mode: every bit of navigation
must be done in the HTML page.
> Mark.
If you really want a back action take a look at mainwindowbase_x11.cc - you
should create an QAction named "go_back" with m_changeable as parent. Don't
connect it to anything - the view switching routines will do it for you.
A more flexible alternative is to build for the XML UI and edit konqe.rc to
suppress toolbars and menus and only define the go_back action with whatever
accelerator you need. This can also offer you shortcut keys that go directly
to an URL (in a frame of your choice) specified in the config file.
Paul
--
Paul Chitescu
pchitescu@null.ro http://pchitescu.null.ro/ ICQ:22641673
Any spammers will be painfully squeezed into /dev/null
_______________________________________________
konq-e mailing list
konq-e@kde.org
https://mail.kde.org/mailman/listinfo/konq-e
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic