Hi,

i am new to qtjambi. I need to raise QInputDialog.getText(..) to input
data. My problem is, that dialog is minimized, so i need to set default
focus by involving getText. In documentation i read about method:

public static java.lang.String getText(QWidget parent,
                                        java.lang.String title,
                                        java.lang.String label,
                                        QLineEdit.EchoMode echo,
                                        java.lang.String text,
                                        Qt.WindowFlags f)

where i sould to set Qt.WindowFlags to WType_TopLevel.
But, in documentation i read this flag is within Obsolete flags:

WType_TopLevel  ?       Use Qt::Window instead.

Actually, i dont know, how do i use Qt::Window to ensure QInputDialog be
focused after getText(..) method.

Please help me, i will be happy with code sample.
Thanks a lot!

Regards,

Vitek


_______________________________________________
Qt-jambi-interest mailing list
Qt-jambi-interest@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to