Notes |
|
|
LOL what a dic :p
freeems-loader$ ./FreeEMS-Loader
Info: number of burns executed 6210
Let me see what I can do about the open dialog box...... |
|
|
(0002697)
|
Fred
|
2013-07-09 09:04
|
|
Whoa! I just read through that and thought "I don't remember being THAT harsh!" then realised and laughed. |
|
|
|
IIRC we laughed about it when you posted it :)
With mikes permission I want to post an email about this:
Sean,
I'm not sure you're allowed, or supposed to save the position. Typically the OS positions it properly. My suggestion: Write a custom widget that doesn't use the OS's save file dialog if you want to position it yourself.
- Michael Carpenter
On Sun, Jul 7, 2013 at 3:38 AM, Sean Keys <skeys@ipdatasys.com> wrote:
I'm trying to save the postion of a file dialog box. I think my settings lines of code are OK, but it doesnt seem to work. I suspect my problem lies here:
loadFileName = fileDialog.getOpenFileName(this, tr("Load s19 file"), loadDirectory, tr("s19 (*.s19)"));
loaderSettings.setValue("lastOpenDialogGeo", fileDialog.saveGeometry());
I'm trying to saveGeometry(), after the dialog box disappears. The only thing I can think of, is to write my own slot(s), but I'm thinking there must be a better way. Any input would be appreciated sir :)
thx |
|
|
(0002700)
|
Fred
|
2013-07-09 18:13
|
|
I can live without the size, I guess, though that seems insane. What I can't live without is the initial state of details/not which has varied throughout history depending on your code and the OS settings. At one point, your code changed my entire UI experience for all apps LOL. |
|
|
|
"initial state of details/not which has varied "
That I can almost certainly fix that and I might even recall how.
"At one point, your code changed my entire UI experience for all apps LOL."
It may be a bit trickier than I remember. It sounds like I need to isolate the details setting from the system qt settings etc. |
|