[Qt-interest] 答复: Lock Screen

pengliang(彭亮) pengliang at founder.com
Tue Aug 2 05:19:26 CEST 2011


grabKeyboard is only for events, it is unuseful for shortcut(ALT+F4).

I think there is not function of QT,

Thanks

Ken

 

 

发件人: qt-interest-bounces+pengliang=founder.com at qt.nokia.com [mailto:qt-interest-bounces+pengliang=founder.com at qt.nokia.com] 代表 Jonathan Greig
发送时间: 2011年8月2日 7:41
收件人: qt-interest at qt.nokia.com
主题: Re: [Qt-interest] Lock Screen

 

I think grabKeyboard may be what you are looking for:

http://doc.qt.nokia.com/latest/qwidget.html#grabKeyboard

- Swyped from my droid.

	On Aug 1, 2011 7:15 AM, "Bo Thorsen" <bo at fioniasoftware.dk> wrote:
	
	Den 01-08-2011 07:08, Joseph W Joshua skrev:

	> Hi everyone?
	>
	> Is there a way to completely lock the screen, disable all keyboard
	> activity, li...

	This isn't something you can do with Qt. You have to investigate how to
	do it directly on your OS.
	
	Bo Thorsen,
	Fionia Software.
	
	--
	
	Expert Qt and C++ developer for hire
	Contact me if you need expert Qt help
	http://www.fioniasoftware.dk
	_______________________________________________
	Qt-interest mailing list
	Qt-interest at qt.nokia.com
	http://lists.qt.nokia.com/mailman/listinfo/qt-interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110802/efcfcba9/attachment.html 


More information about the Qt-interest-old mailing list