]> Git trees. - libqmvoc.git/log
libqmvoc.git
18 years agoEnsure that the correct query state of an entry is displayed. Really this time.
Peter Hedlund [Sun, 17 Dec 2006 18:34:40 +0000 (18:34 +0000)]
Ensure that the correct query state of an entry is displayed. Really this time.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=614427

18 years agoEnsure that the correct query state of an entry is displayed
Peter Hedlund [Sun, 17 Dec 2006 18:25:19 +0000 (18:25 +0000)]
Ensure that the correct query state of an entry is displayed

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=614423

19 years agoRead grade value correctly
Peter Hedlund [Wed, 13 Dec 2006 21:02:51 +0000 (21:02 +0000)]
Read grade value correctly

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=613315

19 years agoSeveral fixes:
Jason Harris [Mon, 11 Dec 2006 02:06:47 +0000 (02:06 +0000)]
Several fixes:

+ implement KPlotObject::label(int) and KPlotObject::setLabel(int,
QString)

+ Add KPlotWidget::pixRect() accessor, returning the QRect of the plot
area in pixel coordinates.

+ Don't draw plot objects that lie outside the PixRect.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=612364

19 years agomakeStandardCaption
Aaron J. Seigo [Mon, 4 Dec 2006 15:55:31 +0000 (15:55 +0000)]
makeStandardCaption

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=610591

19 years agocompile++
Dirk Mueller [Mon, 4 Dec 2006 15:40:08 +0000 (15:40 +0000)]
compile++

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=610583

19 years agoArrg. Now it should really compile. upstream/kde-kaction-cleanup1
Carsten Niehaus [Mon, 27 Nov 2006 15:01:40 +0000 (15:01 +0000)]
Arrg. Now it should really compile.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=608426

19 years agoFix compilation for systems without OpenBabel2.1
Carsten Niehaus [Mon, 27 Nov 2006 14:55:12 +0000 (14:55 +0000)]
Fix compilation for systems without OpenBabel2.1

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=608423

19 years agoWow, this commit looks huge :)
Carsten Niehaus [Mon, 27 Nov 2006 14:40:54 +0000 (14:40 +0000)]
Wow, this commit looks huge :)

Technically I am just moving code from A to B. The 3D-Viewer is now
independend of Kalzium, I just need to rename the classes (from
Kalzium* to Compound* I think...). But I wanted to move the code itself
first.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=608413

19 years ago* Ok, I still see no real way to test my KPart-code but this might
Carsten Niehaus [Sun, 26 Nov 2006 12:35:19 +0000 (12:35 +0000)]
* Ok, I still see no real way to test my KPart-code but this might
  work. I will move it to libkdeedu as Kalzium is not using this
  code anyway. There, I will code a small mini-demo application
  to test the KPart-stuff.

  So eventually Konq will be able to display molecules in 3D by
  using Kalziums 3D code (which is 99.999% done by Benoit Jacob)

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglpart.cpp; revision=607947

19 years ago- fix compilation against latest OpenBabel (so you need to update your
Benoît Jacob [Sun, 26 Nov 2006 12:17:25 +0000 (12:17 +0000)]
- fix compilation against latest OpenBabel (so you need to update your
OpenBabel)
- remove abstract base class VertexArray, remove virtual stuff in
Sphere and Cylinder. That doesn't increase speed, because anyway we
use OpenGL displaylist caching, but that makes the source code easier
to read.

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglhelperclasses.cpp; revision=607943

19 years agoAdjusted CMakeList.txt for Qt4 Only builds and builds of KTouch outside
Andreas Nicolai [Sat, 25 Nov 2006 17:21:32 +0000 (17:21 +0000)]
Adjusted CMakeList.txt for Qt4 Only builds and builds of KTouch outside
from kdeedu.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=607760

19 years agoForget the .moc-include. Now also include it in the CMakeLists.txt
Carsten Niehaus [Sat, 25 Nov 2006 10:36:53 +0000 (10:36 +0000)]
Forget the .moc-include. Now also include it in the CMakeLists.txt

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglpart.cpp; revision=607599

19 years agoupdate on the kpart-stuff. It now compiles but doesn't link.
Carsten Niehaus [Sat, 25 Nov 2006 10:26:09 +0000 (10:26 +0000)]
update on the kpart-stuff. It now compiles but doesn't link.

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglpart.cpp; revision=607595

19 years ago* Very first version of the new KPart-based molecularviewer
Carsten Niehaus [Sat, 25 Nov 2006 10:19:20 +0000 (10:19 +0000)]
* Very first version of the new KPart-based molecularviewer

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglpart.cpp; revision=607592

19 years ago* Fix Copyright header stuff
Carsten Niehaus [Sun, 19 Nov 2006 09:56:50 +0000 (09:56 +0000)]
* Fix Copyright header stuff

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=606098

19 years agoTwofold improvement in Kalzium's 3D viewer:
Benoît Jacob [Fri, 17 Nov 2006 08:42:01 +0000 (08:42 +0000)]
Twofold improvement in Kalzium's 3D viewer:
 - automatically set up nice viewpoint when loading a molecule.
 - draw multiple bonds with "intelligent" orientation, so that they
   avoid looking like single bonds.
Both improvements rely on Eigen's linear regression feature.

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglhelperclasses.cpp; revision=605562

19 years agoFix compile under windows
Laurent Montel [Wed, 15 Nov 2006 17:52:09 +0000 (17:52 +0000)]
Fix compile under windows

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=605169

19 years agoFix compile under windows
Laurent Montel [Wed, 15 Nov 2006 17:45:52 +0000 (17:45 +0000)]
Fix compile under windows

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=605168

19 years agoNow kde doesn't use .la file
Laurent Montel [Fri, 10 Nov 2006 16:08:06 +0000 (16:08 +0000)]
Now kde doesn't use .la file

svn path=/trunk/KDE/kdeedu/kalzium/src/widgets/CMakeLists.txt; revision=603881

19 years agoNow kde doesn't use .la file
Laurent Montel [Fri, 10 Nov 2006 16:08:06 +0000 (16:08 +0000)]
Now kde doesn't use .la file

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=603881

19 years agoFix export
Laurent Montel [Thu, 9 Nov 2006 12:17:50 +0000 (12:17 +0000)]
Fix export

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=603546

19 years agolet's say 0 is a good default
Stephan Kulow [Mon, 6 Nov 2006 08:44:20 +0000 (08:44 +0000)]
let's say 0 is a good default

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=602591

19 years agoFix compile
Laurent Montel [Thu, 2 Nov 2006 16:37:54 +0000 (16:37 +0000)]
Fix compile

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=601245

19 years agoFix the apidocs
Carsten Niehaus [Wed, 1 Nov 2006 15:56:41 +0000 (15:56 +0000)]
Fix the apidocs

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=600987

19 years agoreturn at least something
Dirk Mueller [Mon, 30 Oct 2006 08:08:58 +0000 (08:08 +0000)]
return at least something

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=600285

19 years agoDraw a line from a data point to its label if the label is not
Jason Harris [Sun, 29 Oct 2006 21:31:43 +0000 (21:31 +0000)]
Draw a line from a data point to its label if the label is not
very near the point.  When a line is drawn, it also draws a
rounded rectangle around the label text.

CCMAIL: kde-edu@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=600211

19 years agoShut up GCC 4.1.x
Carsten Niehaus [Sun, 29 Oct 2006 11:43:21 +0000 (11:43 +0000)]
Shut up GCC 4.1.x

This "order of variables in .h files and .cpp files" is really... picky :)

CCMAIL: kstars@30doradus.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=599987

19 years agoPorting to QList<ChemicalDataObject> (no pointer
Carsten Niehaus [Sun, 29 Oct 2006 11:13:45 +0000 (11:13 +0000)]
Porting to QList<ChemicalDataObject> (no pointer
Porting to QSharedPointer and co, this shares implicitly.

Result:
 ==8109== LEAK SUMMARY:
 ==8109==    definitely lost: 980 bytes in 17 blocks.
 ==8109==    indirectly lost: 14,505 bytes in 245 blocks.
 ==8109==      possibly lost: 792 bytes in 6 bloc

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=599978

19 years agoImplementing non-colliding text labels in kdeeduplot, based on kmplot
Jason Harris [Sun, 29 Oct 2006 03:25:34 +0000 (03:25 +0000)]
Implementing non-colliding text labels in kdeeduplot, based on kmplot
code.

It works, but it could probably be faster.  You don't need to know
anything about it to use the feature, it all happens behind the scenes.
Just add some items with labels and enjoy the magic.

However, in the interest of inspiring optimization, here's a brief
description of how it works:

KPlotWidget now has a private array of floats: PlotMask[100][100].
This is a rough division of the content of the plot into a 100x100
grid.  Where the plot is empty, the array is zero, where it has content,
it is  >0.  When items are added to the plot (points, lines, bars, or
labels), the corresponding positions in PlotMask are incremented by an
amount that can vary for different kinds of items (for example, right
now Bars don't increment as much as points or lines).

The function KPlotWidget::placeLabel() is responsible for positioning
item labels.  It attempts to place the label close to the point to
which it belongs, while minimizing the label's overlap with masked
regions of the plot.  Ideally, it won't overlap with masked regions at
all.  This is done in a rather brute-force way: it tests label
positions in a 40x40 grid around the position of the point, and
determines the "cost" for placing the label at each position.  Higher
cost is incurred for (a) overlapping with a masked region, (b) being
further from the point position, and (c) extending beyond the bounds
of the plot.  The position that has the lowest "cost" is then adopted,
and the label is drawn at that position.

You can get an idea of the CPU impact of this cost-analysis using
the test suite I added to kdeeduplot.  Display the "Points, lines
and bars" plot, and then resize the window.  Note the smoothness of
the redraws.  Now display "Points, lines and bars with labels" and
resize the window.  The redraws take much longer in this case.

CCMAIL: kde-edu@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=599914

19 years agoInternal changes to libkdeeduplot in preparation for implementing
Jason Harris [Sat, 28 Oct 2006 00:04:44 +0000 (00:04 +0000)]
Internal changes to libkdeeduplot in preparation for implementing
non-colliding labels.  Basically, I was looking at the code and
saw several things that needed to be improved.

+ Added a "BARS" type for KPlotObject, and removed the "POLYGON"
type.  "CURVES" type is now called "LINES".

+ A single KPlotObject can now be any combination of POINTS,
LINES, and BARS.  These enum items have bitmask values (1,2,4),
so you should be able to OR them together in the ctor, but I
haven't gotten that to work yet.  Instead you can set it to one
type in the ctor, and use the
setShowPoints(bool)/setShowLines(bool)/setShowBars(bool)
convenience functions.

+ There are many more point shapes available now: CIRCLE, LETTER,
TRIANGLE, SQUARE, PENTAGON, HEXAGON, ASTERISK, and STAR

+ Plot objects no longer have a Name property.  It's unnecessary with
the new labeling scheme.

+ There is no longer a LABEL object type.  Instead, you can
define a label for any data point by adding a string argument to
addPoint(), like so:

  KPlotWidget *pw = new KPlotWidget( parent );
  pw->setLimits( -0.1, 4.1, -0.1, 6.1 );

  KPlotObject *po = new KPlotObject( Qt::white, KPlotObject::POINTS, 5.0, KPlotObject::ASTERISK );
  po->addPoint( 1.0, 2.5, "Point A" );
  po->addPoint( 2.0, 4.7, "Point B" );
  po->addPoint( 3.0, 5.5, "Point C" );

  pw->addObject( po );
  pw->update();

+ There is no longer an enum for specifying line styles.
Instead, you can now define QPens and QBrushes for drawing
points, lines and bars.  This is much more flexible.

+ renamed mapToPoint() to toScreen()

+ I added a "tests" subdirectory which demonstrates the library.
Please have a look.

TODO: It looks like drawing an axis using secondary data limits
is not working.  The "Lines" demo in the tests directory should
show the angle in degrees along the top axis (the angle is shown
in radians on the bottom axis).

As I said, I haven't gotten the KPlotObject ctor to accept multiple PlotType values.  i.e., this works:

  KPlotObject( Qt::white, KPlotObject::POINTS, 2.0, KPlotObject::TRIANGLE )

but this doesn't:

  KPlotObject( Qt::white, KPlotObject::POINTS|KPlotObject::LINES, 2.0, KPlotObject::TRIANGLE )

I checked to see that the kdeedu module compiles with these changes
(other than kstars changes, I only had to make a few modifications to
kalzium/src/elementdataviewer.cpp and ktouch/src/ktouchstatistics.cpp;
check it out, I think you'll like the new API)

Comments?  Problems?  Suggestions?

CCMAIL: kde-edu@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=599640

19 years agoConvert plotting data to floating-point variants (QPoint-->QPointF, v3.80.2
Jason Harris [Wed, 25 Oct 2006 01:17:21 +0000 (01:17 +0000)]
Convert plotting data to floating-point variants (QPoint-->QPointF,
QPolygon-->QPolygonF, etc).  Moved mapToPoint() definition from
kplotwidget.h to kplotwidget.cpp.

CCMAIL: kde-edu@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=598923

19 years agoApply Alex patch (now we can use enable-final argument
Laurent Montel [Mon, 23 Oct 2006 08:12:44 +0000 (08:12 +0000)]
Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=598308

19 years agocomplete the port of kalzium to eigen
Benoît Jacob [Sat, 21 Oct 2006 12:27:04 +0000 (12:27 +0000)]
complete the port of kalzium to eigen
(i had forgotten to port m_rotationMatrix to use Eigen::Matrix4d)

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.h; revision=597713

19 years agoPort the Kalzium 3D code to the Eigen math template library.
Benoît Jacob [Sat, 21 Oct 2006 12:15:17 +0000 (12:15 +0000)]
Port the Kalzium 3D code to the Eigen math template library.
Now the Kalzium 3D code has a dependency on trunk/kdesupport/eigen.

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglhelperclasses.cpp; revision=597706

19 years agoThere is still a huge memleak but I cannot find it... This commit removes 4 objects...
Carsten Niehaus [Sat, 21 Oct 2006 11:40:44 +0000 (11:40 +0000)]
There is still a huge memleak but I cannot find it... This commit removes 4 objects, reindents a bit and removes some kDebug

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=597681

19 years agolayout and two memleaks in the test.
Carsten Niehaus [Sat, 21 Oct 2006 11:08:30 +0000 (11:08 +0000)]
layout and two memleaks in the test.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=597676

19 years agoAdd debug code counting the constructor/destructor calls
Benoît Jacob [Fri, 20 Oct 2006 10:14:43 +0000 (10:14 +0000)]
Add debug code counting the constructor/destructor calls
for ChemicalDataObject

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=597419

19 years agoAdd a missing destructor in ElementSaxParser::Private
Benoît Jacob [Fri, 20 Oct 2006 09:07:45 +0000 (09:07 +0000)]
Add a missing destructor in ElementSaxParser::Private

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=597403

19 years ago* Remove strange code and Qt4-ify it
Carsten Niehaus [Thu, 19 Oct 2006 17:09:45 +0000 (17:09 +0000)]
* Remove strange code and Qt4-ify it
* One leak less (in the parser)
* one more qDebugAll

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=597227

19 years agoPluggin memleaks and now using qDeleteAll
Carsten Niehaus [Thu, 19 Oct 2006 16:28:45 +0000 (16:28 +0000)]
Pluggin memleaks and now using qDeleteAll

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=597220

19 years agoFix two memleaks, port half of the class to pure Qt4
Carsten Niehaus [Thu, 19 Oct 2006 15:17:24 +0000 (15:17 +0000)]
Fix two memleaks, port half of the class to pure Qt4

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=597195

19 years agoFix 2 warnings
Benoît Jacob [Thu, 19 Oct 2006 08:16:36 +0000 (08:16 +0000)]
Fix 2 warnings

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.h; revision=597023

19 years agore-enable opengl selection
Benoît Jacob [Wed, 18 Oct 2006 19:32:37 +0000 (19:32 +0000)]
re-enable opengl selection

M    kalzium/src/kalziumglwidget.cpp

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.cpp; revision=596866

19 years agoI forgot about this file, sorry
Carsten Niehaus [Wed, 18 Oct 2006 15:54:17 +0000 (15:54 +0000)]
I forgot about this file, sorry

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=596822

19 years agoRemove useless ctor and improve the order of the other
Carsten Niehaus [Wed, 18 Oct 2006 15:44:06 +0000 (15:44 +0000)]
Remove useless ctor and improve the order of the other

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=596819

19 years agoGive Benoit more credit and remove kDebug
Carsten Niehaus [Wed, 18 Oct 2006 08:21:38 +0000 (08:21 +0000)]
Give Benoit more credit and remove kDebug

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.cpp; revision=596699

19 years agoRemove Color::operator=
Benoît Jacob [Wed, 18 Oct 2006 06:33:35 +0000 (06:33 +0000)]
Remove Color::operator=
Spare a reinterpret_cast in Color::apply()

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglhelperclasses.cpp; revision=596670

19 years agoRemove MolStyle::operator=, the default operator= does just fine.
Benoît Jacob [Wed, 18 Oct 2006 06:30:17 +0000 (06:30 +0000)]
Remove MolStyle::operator=, the default operator= does just fine.

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglhelperclasses.cpp; revision=596669

19 years agoOnly make methods 'virtual' when it's needed.
Benoît Jacob [Wed, 18 Oct 2006 06:26:00 +0000 (06:26 +0000)]
Only make methods 'virtual' when it's needed.

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.h; revision=596668

19 years agoAdd e-mail address (problem found by EBN)
Benoît Jacob [Wed, 18 Oct 2006 06:19:23 +0000 (06:19 +0000)]
Add e-mail address (problem found by EBN)

Disable FPS counter for now, it puts a 99% CPU load so I'll
only enable it when I need to test performance.

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.h; revision=596666

19 years agoI needed to introduce this new ctor because I am using a KPlotWidget in a .ui file...
Carsten Niehaus [Tue, 17 Oct 2006 16:14:32 +0000 (16:14 +0000)]
I needed to introduce this new ctor because I am using a KPlotWidget in a .ui file in Kalzium (see Revision 596474). The uic always uses Foo(QWidget*) and you cannot change this. Therefor I need a KPlotWidget(QWidget*)-ctor. Another solution would be to change the order of the arguements so that the QWidget = 0 would be at the first position. I would of course prefere that solution as it would remove this stupid second ctor.

Jason, Pino, what do you think?

CCMAIL:kde-edu@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=596476

19 years agofix logic here, I was doing it the wrong way around
Carsten Niehaus [Tue, 17 Oct 2006 13:55:41 +0000 (13:55 +0000)]
fix logic here, I was doing it the wrong way around

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=596434

19 years agoNecessary to change KDE4_AUTOMOC macro to support
Laurent Montel [Fri, 13 Oct 2006 07:58:31 +0000 (07:58 +0000)]
Necessary to change KDE4_AUTOMOC macro to support
enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)

Regards

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=595045

19 years agoon second thought - EBN should just ignore C concats
Stephan Kulow [Sun, 1 Oct 2006 10:53:08 +0000 (10:53 +0000)]
on second thought - EBN should just ignore C concats

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=590918

19 years agocompiles
Stephan Kulow [Sun, 1 Oct 2006 10:52:29 +0000 (10:52 +0000)]
compiles

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=590917

19 years agofixed spelling (EBN)
Thomas Häber [Sun, 1 Oct 2006 03:05:16 +0000 (03:05 +0000)]
fixed spelling (EBN)
pronounciation -> pronunciation
in const, vars, functions etc. pp

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=590836

19 years agoSVN_SILENT:
Thomas Häber [Sun, 1 Oct 2006 02:11:40 +0000 (02:11 +0000)]
SVN_SILENT:
adding a single character as char/QChar to a string/QString is always faster than a single character as string/QString (EBN)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=590829

19 years agomisc krazy fixes
Albert Astals Cid [Tue, 26 Sep 2006 22:21:21 +0000 (22:21 +0000)]
misc krazy fixes

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=588794

19 years agoremove crappy API
Carsten Niehaus [Sun, 24 Sep 2006 16:49:15 +0000 (16:49 +0000)]
remove crappy API

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=588009

19 years ago* Adding a better ctor so that I can finally rewrite the specturm-widget
Carsten Niehaus [Sun, 24 Sep 2006 16:26:18 +0000 (16:26 +0000)]
* Adding a better ctor so that I can finally rewrite the specturm-widget

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587991

19 years agoJörg, please try to compile now
Carsten Niehaus [Sun, 24 Sep 2006 15:57:19 +0000 (15:57 +0000)]
Jörg, please try to compile now

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587981

19 years agoremoved disturbing data
Jörg Buchwald [Sun, 24 Sep 2006 15:38:17 +0000 (15:38 +0000)]
removed disturbing data

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587970

19 years agoadded decay properties
Jörg Buchwald [Sun, 24 Sep 2006 13:47:25 +0000 (13:47 +0000)]
added decay properties

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587932

19 years agoKrazy: explit ctor. I will only change this one and see if somebody complains or...
Carsten Niehaus [Sun, 24 Sep 2006 12:49:29 +0000 (12:49 +0000)]
Krazy: explit ctor. I will only change this one and see if somebody complains or not...

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587912

19 years agoKrazy: use a const & for QString
Carsten Niehaus [Sun, 24 Sep 2006 12:42:50 +0000 (12:42 +0000)]
Krazy: use a const & for QString

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587909

19 years agorefresh isotopes.xml
Jörg Buchwald [Sun, 24 Sep 2006 11:47:39 +0000 (11:47 +0000)]
refresh isotopes.xml

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587889

19 years ago* Ok, only took me one hour to find out that my code was fine, only the XML changed...
Carsten Niehaus [Sat, 23 Sep 2006 10:06:00 +0000 (10:06 +0000)]
* Ok, only took me one hour to find out that my code was fine, only the XML changed again...

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587588

19 years agoI really wonder where those letters come from...
Carsten Niehaus [Sat, 23 Sep 2006 09:27:10 +0000 (09:27 +0000)]
I really wonder where those letters come from...

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587583

19 years agoAdding Density
Carsten Niehaus [Sat, 23 Sep 2006 09:16:04 +0000 (09:16 +0000)]
Adding Density

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587581

19 years agoapply patch by Walter Bender
Carsten Niehaus [Sat, 23 Sep 2006 09:03:24 +0000 (09:03 +0000)]
apply patch by Walter Bender

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587579

19 years ago* Commit changes from BlueObelisk.
Carsten Niehaus [Sat, 23 Sep 2006 09:00:47 +0000 (09:00 +0000)]
* Commit changes from BlueObelisk.
* I, Jörg and Walter Bender did the changes

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=587578

19 years agore-added isotope properties
Jörg Buchwald [Wed, 20 Sep 2006 19:41:14 +0000 (19:41 +0000)]
re-added isotope properties

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=586859

19 years agore-added isotope properties
Jörg Buchwald [Wed, 20 Sep 2006 19:22:08 +0000 (19:22 +0000)]
re-added isotope properties

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=586849

19 years agoInstall plugins into good directory
Laurent Montel [Mon, 18 Sep 2006 08:50:04 +0000 (08:50 +0000)]
Install plugins into good directory

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=585901

19 years agoFixed crash condition in ExtDate::fromString(QString, QDateFormat).
Jason Harris [Fri, 15 Sep 2006 21:45:57 +0000 (21:45 +0000)]
Fixed crash condition in ExtDate::fromString(QString, QDateFormat).
When using the TextFormat QDateFormat, the code creates a QStringList
from the space-separated fields of the input string, but it then assumed
that the stringlist contains at least three members, which caused a
crash when this was not the case.  Now, it will return an invalid
ExtDate if the stringlist contains fewer than three members.

Thanks for the tip, Jasem.

CCMAIL: kde-edu@kde.org
CCMAIL: kstars-devel@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=584944

19 years agouse kguiitem(qstring) explicitly
Will Entriken [Tue, 12 Sep 2006 23:28:20 +0000 (23:28 +0000)]
use kguiitem(qstring) explicitly
thanks: Thomas Friedrichsmeier

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=583686

19 years agoClean up
Laurent Montel [Wed, 6 Sep 2006 14:54:21 +0000 (14:54 +0000)]
Clean up
Remove executable attribute to file

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=581515

19 years agoCleanup KPlotWidget
Jason Harris [Wed, 6 Sep 2006 14:17:11 +0000 (14:17 +0000)]
Cleanup KPlotWidget

KPlotWidget:

- added setAntialias(bool), set to true for smoother (but slower)
plots

- removed explicit double-buffering (Qt4 does this automatically)

- added top and right axes (by default, they show the same tickmarks
as bottom and left)

- added optional secondary data limits for showing alternate
set of tickmarks on top and right axes.

- removed setShowTickMarks() / setShowTickLabels()...each axis now
handles its own visibility logic.

KPlotAxis:

- each axis now calculates its own tickmark positions (rather
than KPlotWidget)

- rather than setting the number of tickmarks and distance between
them, the tickmark positions are now stored in a QList<double>

- simplified visibility logic:
  + isVisible() : draw axis and tickmarks ?
  + showTickLabels() : obvious
  + the axis label is drawn if it is not empty

- added new ticklabel format 't', which indicates that the ticklabel
values are decimal hours, and should be rendered with a clock-time
format ("hh:mm").  Other special format flags are possible.

I didn't have to modify kalzium or ktouch, so the API hasn't
changed too much.  Most of the changes are "under the hood".

I also didn't look at kmathtool, since they have their own copy
of KPlotWidget in the playground.  I'll let them decide if and when
to use this version.

CCMAIL: kde-edu@kde.org

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=581495

19 years agoDisabled more mouse-selection stuff
Benoît Jacob [Mon, 4 Sep 2006 17:26:10 +0000 (17:26 +0000)]
Disabled more mouse-selection stuff

M    src/kalziumglwidget.cpp

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.cpp; revision=580873

19 years agoTemporarily disabled mouse-selection of atoms
Benoît Jacob [Mon, 4 Sep 2006 17:16:57 +0000 (17:16 +0000)]
Temporarily disabled mouse-selection of atoms

M    src/kalziumglwidget.cpp

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.cpp; revision=580868

19 years agofile no longer exists
Carsten Niehaus [Sun, 3 Sep 2006 11:55:13 +0000 (11:55 +0000)]
file no longer exists

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580382

19 years agosupport the new dataset discoverCountry
Carsten Niehaus [Sun, 3 Sep 2006 11:49:10 +0000 (11:49 +0000)]
support the new dataset discoverCountry

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580381

19 years agoYeah, found the bugs :) Everything back to normal
Carsten Niehaus [Sun, 3 Sep 2006 11:30:52 +0000 (11:30 +0000)]
Yeah, found the bugs :) Everything back to normal

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580371

19 years agoa couple of fixes to the parser... I found some bugs but have not yet found out why...
Carsten Niehaus [Sun, 3 Sep 2006 11:25:45 +0000 (11:25 +0000)]
a couple of fixes to the parser... I found some bugs but have not yet found out why the name and the symbol is not stored...

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580368

19 years agofix the parser, move the tests
Carsten Niehaus [Sun, 3 Sep 2006 11:08:43 +0000 (11:08 +0000)]
fix the parser, move the tests

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580361

19 years agoremove useless stuff
Carsten Niehaus [Sun, 3 Sep 2006 10:26:57 +0000 (10:26 +0000)]
remove useless stuff

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580347

19 years agoNow symbol is parsed from <label> @value too
Egon Willighagen [Sun, 3 Sep 2006 10:00:00 +0000 (10:00 +0000)]
Now symbol is parsed from <label> @value too

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580334

19 years agoOk, I guess then this is also not needed as it is also in a label...
Carsten Niehaus [Sun, 3 Sep 2006 09:50:52 +0000 (09:50 +0000)]
Ok, I guess then this is also not needed as it is also in a label...

CCMAIL:e.willighagen@science.ru.nl

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580331

19 years agocompile fix
Carsten Niehaus [Sun, 3 Sep 2006 09:47:51 +0000 (09:47 +0000)]
compile fix

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580329

19 years agoDeal with value as attrib
Egon Willighagen [Sun, 3 Sep 2006 09:42:09 +0000 (09:42 +0000)]
Deal with value as attrib

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580326

19 years agowow, a huge sync. Many many things changed
Carsten Niehaus [Sun, 3 Sep 2006 09:17:55 +0000 (09:17 +0000)]
wow, a huge sync. Many many things changed

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=580313

19 years agoIt seems Qt 4.2tp1 removed some includes...
Carsten Niehaus [Sun, 3 Sep 2006 08:09:20 +0000 (08:09 +0000)]
It seems Qt 4.2tp1 removed some includes...

svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglhelperclasses.h; revision=580296

19 years agore-added halflife
Jörg Buchwald [Fri, 1 Sep 2006 13:18:51 +0000 (13:18 +0000)]
re-added halflife

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=579708

19 years agoI hope this file is correct. I am trying to activate the api-generation in EBN for...
Carsten Niehaus [Fri, 1 Sep 2006 12:50:22 +0000 (12:50 +0000)]
I hope this file is correct. I am trying to activate the api-generation in EBN for libkdeedu

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=579695

19 years agoadded FIXME (status of isotopes.xml isn't clear)
Jörg Buchwald [Thu, 31 Aug 2006 19:36:06 +0000 (19:36 +0000)]
added FIXME (status of isotopes.xml isn't clear)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=579306

19 years agoadded FIXME (status of isotopes.xml isn't clear)
Jörg Buchwald [Thu, 31 Aug 2006 19:28:56 +0000 (19:28 +0000)]
added FIXME (status of isotopes.xml isn't clear)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=579303

19 years agosync with BO
Carsten Niehaus [Thu, 31 Aug 2006 17:09:53 +0000 (17:09 +0000)]
sync with BO

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=579271

19 years agorenamed all openURL to openUrl to be on the safe side
Stephan Kulow [Thu, 31 Aug 2006 11:11:47 +0000 (11:11 +0000)]
renamed all openURL to openUrl to be on the safe side
openURL is in just too many signals and slots and we don't
get compile errors with moc ;(

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=579185

19 years agoForward port bugfix for 133297.
Inge Wallin [Thu, 31 Aug 2006 07:18:07 +0000 (07:18 +0000)]
Forward port bugfix for 133297.

CCBUGS: 133297

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=579141