Bug 89186

Summary: Change data file dialog: select vectors on a per-file basis
Product: [Applications] kst Reporter: Nicolas Brisset <nicolas.brisset>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Solaris   
Latest Commit: Version Fixed In:
Attachments: patch to improve the layout and make it possible to see filenames

Description Nicolas Brisset 2004-09-09 18:39:14 UTC
Version:           1.0.0_devel (using KDE 3.3.0, compiled sources)
Compiler:          gcc version 3.3.2
OS:                SunOS (sun4u) release 5.8

The "Change data file" function is absolutely GREAT and saves an incredible amount of time. However, there is one relatively simple thing that it could do to be much more efficiently.

Imagine you are comparing file1.dat with file2.dat. You will have created the vectors, curves, equations, etc... that you need. Now you want to see whether configuration 3 (data in file3.dat) is better than configuration 2 (file2.dat). To replace the vectors coming from file1.dat with the equivalent ones from file3.dat, you have to manually look for the vectors coming from file1.dat, select them and only them and then Select file3.dat in the file selector and hit "Apply". The dialogs being non-modal, if you have a big screen you may make it. But it would be much simpler to have e.g. a QComboBox between the top label and the vector list showing "All vectors from file1.dat" and "All vectors from file2.dat". If you select one of these files, the selection in the vector list would be updated to match this choice. Then you can proceed as usual. (Maybe the U.I. can be made better ?)
Comment 1 George Staikos 2004-09-22 06:56:21 UTC
CVS commit by staikos: 

Add the ability to select vectors in the change data file dialog by the file
that produces them.
CCMAIL: 89186-done@bugs.kde.org


  M +109 -74   changefiledialog.ui   1.5
  M +33 -7     kstchangefiledialog_i.cpp   1.23
  M +2 -0      kstchangefiledialog_i.h   1.8



Comment 2 Nicolas Brisset 2004-10-15 16:51:57 UTC
Functionally, this is just what I wanted. However, the usability is poor due to the fact that the combo box shows absolute filenames, and when they are long it becomes impossible to see the filename.
As it was a mere layout problem, I have changed it a bit to solve that problem. The patch is coming...
Comment 3 Nicolas Brisset 2004-10-15 16:54:08 UTC
Created attachment 7889 [details]
patch to improve the layout and make it possible to see filenames

Hope you like it :-)
Comment 4 George Staikos 2004-10-15 17:36:22 UTC
CVS commit by staikos: 

Nice patch, thanks
CCMAIL: 89186@bugs.kde.org


  M +122 -82   changefiledialog.ui   1.9