* Re: QFileDialog::getOpenFileName not accept keyboard input
[not found] <199706211814.NAA30675@poverty.bloomington.in.us>
@ 1997-06-22 3:02 ` Daniel Gruner
0 siblings, 0 replies; only message in thread
From: Daniel Gruner @ 1997-06-22 3:02 UTC (permalink / raw)
-----BEGIN PGP SIGNED MESSAGE-----
Works fine for me. I still have to click the mouse in the dialog window
(in any one of the controls) in order to get the keyboard focus, but
after that it works normally.
> I am having a problem with a file dialog created by
> QFileDialog::getOpenFileName refusing to accept any keyboard input.
> The return and escape accelerators work, but nothing else does. I can
> cut and paste into the text entry widgets, but cannot type.
> Strangely, if, while the dialog is open, I click in one of the text
> entry fields, move the mouse out of the dialog and into some other
> window (into the root does not suffice), and then back in, _then_ I
> can type in that field, and tab and shift-tab change active focus the
> way they are supposed to.
> I am using Qt 1.2 on a i586 running Linux 2.0.29, XFree 3.2, twm, and
> gcc 2.7.2.1. Qt was compiled on this system.
> Any suggestions?
> A dummy program that does nothing but start a QFileDialog is appended;
> it exhibits the same anomalous behavior.
> ----------------------------------------------------------------------
> #include <qapp.h>
> #include <qfiledlg.h>
> int main(int argc, char **argv)
> {
> QApplication qapp(argc, argv);
> QString fname = QFileDialog::getOpenFileName(0,"*");
> }
- --
Dr. Daniel Gruner dgruner@tikva.chem.utoronto.ca
Dept. of Chemistry phone: (416)-978-8689
University of Toronto fax: (416)-978-5325
finger for PGP public key
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBM6yVqwQJA2rhtdqtAQFiDAQApSwKB2LJpGY7uWWb/DpdCVJ/GaG7yWae
DWGsbHt6VF87+/c8QGJzWJW1WIYgFDVjAcaTnhhPWclDdUDONxbyC+ZEjZRsKAiP
mBEMX87Sj3ftPUApPZNdq2NV+9tRiHtUw5JrWkMq5tbp30BuXNsgGDtL9fGVZgxC
5/8s8mFXGYk=
=Gg43
-----END PGP SIGNATURE-----
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-06-22 3:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199706211814.NAA30675@poverty.bloomington.in.us>
1997-06-22 3:02 ` QFileDialog::getOpenFileName not accept keyboard input Daniel Gruner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox