Bug 308732

Summary: CSV Plugin - End Line skip box improvement
Product: [Applications] kmymoney Reporter: allan <agander93>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description allan 2012-10-20 19:49:25 UTC
Originally, the end line widget was, I think, an edit box which allowed the end line to be specified.  Later, when the end line was detected and set by the software, the widget was changed to a spin box, allowing minor changes to be made to the number of trailer lines.
This in turn now causes difficulty when a large file is loaded, but only a portion is to be imported.  The spin box allows only decrementing by one line at a time.
It would be beneficial to allow the spin box also to accept a user-typed value.

Reproducible: Always

Steps to Reproduce:
1.Load a file containing say 25 lines of which only 12 need to be imported.
2.Decrementing from 25 to 12 is a bore.
3.


Expected Results:  
Allow the set value to be edited directly, while still allowing normal spin box use.
Comment 1 allan 2012-10-21 16:18:39 UTC
Git commit 826d46b9ef029d595933cf8df03f0fce95400c4d by Allan Anderson.
Committed on 21/10/2012 at 18:00.
Pushed by allananderson into branch 'master'.
Minor change to improve operation of scrollbar slider.
Minor change to disable Next button if a needed field combo-box is cleared.

M  +46   -37   kmymoney/plugins/csvimport/csvdialog.cpp
M  +1    -1    kmymoney/plugins/csvimport/csvdialog.h
M  +0    -1    kmymoney/plugins/csvimport/csvutil.cpp
M  +24   -16   kmymoney/plugins/csvimport/investprocessing.cpp
M  +2    -1    kmymoney/plugins/csvimport/lines-datewizardpage.ui

http://commits.kde.org/kmymoney/826d46b9ef029d595933cf8df03f0fce95400c4d