[kde-edu]: adding ExtDate* to kdeeduwidgets

Jason Harris kstars at 30doradus.org
Thu Mar 2 15:07:42 CET 2006


Hello,

I tried adding ExtDateEdit, ExtDateTimeEdit, and ExtDatePicker to 
kdeedu.widgets, but only ExtDatePicker seems to be working in designer.
When I drag from ExtDateEdit, the widget appears as a small grey square, and 
placing it on the form causes designer to segfault.  It's the same for 
ExtDateTimeEdit, except there is not even a grey square, the widget is 
completely invisible.

Any idea what is missing?  I have appended below the changes I made in 
libkdeedu/widgets:


Index: kdeedu.widgets
===================================================================
--- kdeedu.widgets      (revision 509689)
+++ kdeedu.widgets      (working copy)
@@ -5,6 +5,25 @@

 [KPlotWidget]
 ToolTip=A plot widget (KDE-Edu)
-WhatsThis=A widget that allows you to plot simple stuff
+WhatsThis=A widget for easily making 2-dimensional plots
 Group=Plot (KDE-Edu)
 ConstructorArgs=(0.0, 1.0, 0.0, 1.0, parent)
+
+[ExtDateEdit]
+ToolTip=spinbox-based extended date editor (KDE-Edu)
+WhatsThis=Allows the user to specify an extended date
+Group=Date and Time (KDE-Edu)
+ConstructorArgs=(parent)
+IncludeFile=extdatetimeedit.h
+
+[ExtDateTimeEdit]
+ToolTip=spinbox-based extended date/time editor (KDE-Edu)
+WhatsThis=Allows the user to specify an extended date and a time
+Group=Date and Time (KDE-Edu)
+ConstructorArgs=(parent)
+
+[ExtDatePicker]
+ToolTip=calendar-based extended date selector (KDE-Edu)
+WhatsThis=Allows the user to specify an extended date using a calendar
+Group=Date and Time (KDE-Edu)
+ConstructorArgs=(parent)
Index: Makefile.am
===================================================================
--- Makefile.am (revision 509689)
+++ Makefile.am (working copy)
@@ -1,4 +1,4 @@
-INCLUDES = -I$(srcdir)/../kdeeduplot $(all_includes)
+INCLUDES = -I$(srcdir)/../kdeeduplot -I$(srcdir)/../extdate $(all_includes)

 AM_CXXFLAGS = -DQT_PLUGIN
 #KDE_CXXFLAGS = -UQT3_SUPPORT
@@ -7,7 +7,7 @@

 kde_widget_LTLIBRARIES = kdeeduwidgets.la
 kdeeduwidgets_la_LDFLAGS = $(KDE_PLUGIN) -module $(all_libraries)
-kdeeduwidgets_la_LIBADD = $(LIB_KIO) ../kdeeduplot/libkdeeduplot.la
+kdeeduwidgets_la_LIBADD = 
$(LIB_KIO) ../kdeeduplot/libkdeeduplot.la ../extdate/libextdate.la
 kdeeduwidgets_la_SOURCES = kdeeduwidgets.cpp

 kdeeduwidgets.cpp: $(srcdir)/kdeedu.widgets


-- 
KStars: KDE Desktop Planetarium
http://edu.kde.org/kstars


More information about the kde-edu mailing list