[Kstars-devel] KDE/kdeedu/libkdeedu/extdate

Jason Harris kstars at 30doradus.org
Mon Sep 5 09:37:02 CEST 2005


SVN commit 457243 by harris:

1. Make new tests directory compile.  I have reverted Pino's "#if 0" 
comments, because the code in question does not cause a compile error 
here.  Please send me your compile error instead of disabling the 
problem code. 

2. The ExtDateEdit and ExtDateTimeEdit classes should fully work now.  
ExtDateEdit is a QSpinBox showing a date using the user's 
localized "short date" format.  The up/down buttons of the spin box 
(or the Up/Down arrow keys) will modify the Day/Month/Year value, 
depending on which is highlighted.  You can change which field is 
highlighted using the Tab/Shift-Tab or Right/Left arrow keys.

TODO: 
allow the user to type numerical data into the date fields.
add apidox to the new classes.

3. Added a new test program for ExtDate[Time]Edit: 
test_extdatetimeedit.  Note that with the new "tests" subdirectory, you 
must specify a target.  Does anyone know how to modify Makefile.am so 
that simply typing "unsermake" in 'tests' will make all test programs?
Until then, you must actually type:
unsermake test_extdate
unsermake test_extdatepicker
unsermake test_extdatetimeedit

CCMAIL: kstars-devel at kde.org
CCMAIL: toscano.pino at tiscali.it



 M  +162 -12   extdatetimeedit.cpp  
 M  +37 -7     extdatetimeedit.h  
 M  +11 -4     tests/Makefile.am  
 A             tests/edpicker_main.cpp   [License: no copyright]
 A             tests/edpicker_widget.cpp   [License: GPL (v2+)]
 A             tests/edpicker_widget.h   [License: GPL (v2+)]
 A             tests/edtedit_main.cpp   [License: no copyright]
 A             tests/edtedit_widget.cpp   [License: GPL (v2+)]
 A             tests/edtedit_widget.h   [License: GPL (v2+)]
 D             tests/main.cpp  
 M  +2 -1      tests/test_extdate.cc  
 D             tests/testwidget.cpp  
 D             tests/testwidget.h  




More information about the Kstars-devel mailing list