[Qt-interest] Odd dialog behavior

Timothy Reaves treaves at silverfieldstech.com
Sat Dec 12 16:14:18 CET 2009


	Hello all.  I have an odd problem.  I know it'll be hard to figure out what's going on from what I put here, but I'll give it a try.

	I have a dialog, that is a plugin for an application.  This dialog has several widgets: line edits, check boxes, and lists.  I read from / write to a QSqlRecord, based on signals that the widgets have changed.  When an item in one of the lists is selected, I use that item to populate the rest of the widgets.  This works well except for the line edits.

	With the line edits, the strings get populated.  But they can not be edited.  You can double-click the string to select it, but no key has any effect.  I've insured they are editable, and enabled.  It's just that nothing happens.  The checkboxes work, so it seem related to the keyboard.  When you try to edit, you get the warning chime (on my Mac, this is the same sound you get if you hit a key-combo that isn't bound - maybe it's the input buffer - not sure).

	Other dialogs in the app do work.  So I'm figuring I'm doing something wrong, or overlooking something.

	I know there isn't a whole lot here to go on, but I was hoping it'd be enough that someone might know what I've not done / done wrong, or al least how to trouble shoot it more.

	Thanks much!



More information about the Qt-interest-old mailing list