]> Git trees. - libqmvoc.git/log
libqmvoc.git
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 agoa few fixes in the comments and other cosmetic changes
Benoît Jacob [Sat, 19 Aug 2006 18:57:35 +0000 (18:57 +0000)]
a few fixes in the comments and other cosmetic changes

M    src/kalziumglhelperclasses.h
M    src/kalziumglwidget.cpp

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

19 years agoChange some things in the way OpenGL selection is done
Benoît Jacob [Tue, 25 Jul 2006 14:24:47 +0000 (14:24 +0000)]
Change some things in the way OpenGL selection is done

It now happens on button press, instead of happening on button release.
The clicked atom is highlighted in a separate color (currently some
shade of purple, tell me what you think) even if it is not selected. The
point of that is that this clicked atom is going to play a very
important role in the mouse navigation system I plan to write. Any
rotation/move will be done with respect to it. So I thought that this
special role of this atom should correspond to a visual highlighting.

M    kalzium/src/kalziumglwidget.h
M    kalzium/src/kalziumglwidget.cpp

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

19 years agoAdded OpenGL selection code.
Benoît Jacob [Tue, 25 Jul 2006 13:18:32 +0000 (13:18 +0000)]
Added OpenGL selection code.

Single left click on an atom now selects/deselects it, if the mouse
didn't move between button press and button release. Some tolerance (2
pixels) added to make that usable with imprecise pointing devices.

TODO: notify the treeview (currently it doesn't get updated).

M    kalzium/src/kalziumglwidget.h
M    kalzium/src/kalziumglhelperclasses.h
M    kalzium/src/kalziumglwidget.cpp
M    kalzium/src/kalziumglhelperclasses.cpp

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

19 years agoSet color of selection back to blue
Benoît Jacob [Sat, 22 Jul 2006 12:12:24 +0000 (12:12 +0000)]
Set color of selection back to blue

M    kalzium/src/kalziumglwidget.cpp

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

19 years agoSmall optimization: when rendering atoms, use GL_RESCALE_NORMAL instead
Benoît Jacob [Sat, 22 Jul 2006 10:04:10 +0000 (10:04 +0000)]
Small optimization: when rendering atoms, use GL_RESCALE_NORMAL instead
of GL_NORMALIZE.

M    kalzium/src/kalziumglwidget.cpp

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

19 years agoRequired: OpenBabel SVN revision 1534 or later
Benoît Jacob [Sat, 22 Jul 2006 09:31:50 +0000 (09:31 +0000)]
Required: OpenBabel SVN revision 1534 or later

Make use again of OBMol::Center() and don't check anymore for weird bond
orders since Geoff fixed the cml-parsing

Fixed selection of atoms. Though, I've got a weird segfault when I
highlight 4 atoms or more, I don't understand what's happening. Atoms
are now highlighted in white because blue is taken by Nitrogen (OB's
color scheme), what do you think Carsten? I don't know what to do about
Hydrogen.

Re-enabled USE_DISPLAY_LISTS. With Mesa 6.5 (as provided with xorg 7.1)
I don't have problems, so maybe that was fixed between Mesa 6.2 and 6.5.
If anyone here has problems like "bonds are rendered too bright", please
tell me.

Some cosmetic changes in VertexArray.

Updated TODO.

CCMAIL: geoff@geoffhutchison.net

M    kalzium/ideas/TODO
M    kalzium/src/kalziumglwidget.h
M    kalzium/src/kalziumglhelperclasses.h
M    kalzium/src/moleculeview.cpp
M    kalzium/src/kalziumglwidget.cpp
M    kalzium/src/kalziumglhelperclasses.cpp

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

19 years agodon't render multiple bonds when in sticks-mode
Benoît Jacob [Fri, 21 Jul 2006 08:22:42 +0000 (08:22 +0000)]
don't render multiple bonds when in sticks-mode

small simplification in Sphere::computeVertex() : make use of vector3's
arithmetic operators.

M    src/kalziumglhelperclasses.h
M    src/kalziumglwidget.cpp
M    src/kalziumglhelperclasses.cpp

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

19 years agoFully commented kalziumglhelperclasses.h
Benoît Jacob [Thu, 20 Jul 2006 17:04:42 +0000 (17:04 +0000)]
Fully commented kalziumglhelperclasses.h

Softened the specular highlights

M    src/kalziumglhelperclasses.h
M    src/kalziumglhelperclasses.cpp

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

19 years agoPrerequisite: you'll need OpenBabel SVN revision at least 1525.
Benoît Jacob [Thu, 20 Jul 2006 12:39:14 +0000 (12:39 +0000)]
Prerequisite: you'll need OpenBabel SVN revision at least 1525.

Reorganization everywhere, especially:
 - Make much more use of OpenBabel, especially for the geometry-stuff
 - Molecule rendering style and related data is now stored using the
MolStyle struct.
 - Big reorganization in the way display lists are used, when this
option is enabled. It is currently disabled, though, because of what
might be a bug in Mesa3d.

New Features:
 - draw multiple bonds
 - support for van der Waals radius. Different atoms are now rendered
with different sizes.

Optimizations:
 - the sphere now uses 2x less memory when not using display
lists (achieved by using the same unique array as vertex&normal arrays)

Other changes:
 - improved specular color computation in Color::applyAsMaterials()
 - reorganized styles, removed "lines" style (looked useless, was
inconsistent with multiple bonds)
 - when the uses clicks "cancel" in the Load molecule dialog, don't try
to load the molecule with filename "".
 - lots more that I can't list

CCMAIL: geoff@geoffhutchison.net

M    src/kalziumglwidget.h
M    src/kalziumglhelperclasses.h
M    src/moleculeview.cpp
M    src/kalziumglwidget.cpp
M    src/kalziumglhelperclasses.cpp
M    src/moleculeviewerwidget.ui

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

19 years ago* Pino please check if this compiles. It should but I cannot test
Carsten Niehaus [Sat, 8 Jul 2006 12:21:42 +0000 (12:21 +0000)]
* Pino please check if this compiles. It should but I cannot test
** This commit removed all traces of non-BO-data

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

19 years agoFix install files
Laurent Montel [Tue, 4 Jul 2006 19:31:08 +0000 (19:31 +0000)]
Fix install files

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

19 years agoChanges in Kalzium's 3D renderer:
Benoît Jacob [Mon, 3 Jul 2006 15:31:13 +0000 (15:31 +0000)]
Changes in Kalzium's 3D renderer:

- Display Lists are back. Enable by #defining USE_DISPLAY_LISTS
  (currently enabled).
  Advantage: makes rendering faster
  Inconvenient: uses more memory
  TODO: measure how much more memory it uses.

  Vertex arrays are now automatically converted into (nested) display
  lists when this option is set. This prevents vertex array data from
  being redundantly copied into the display list.

- Now use OB's GetRGB function to get the color of atoms

- Implement our own molecule centering code. Neither OBMol::Center() nor
  OBMol::Translate() did work for me (but maybe I'm stupid).

- reorganization in the VertexArray class ( more to come )

M    src/kalziumglwidget.h
M    src/kalziumglhelperclasses.h
M    src/kalziumglwidget.cpp
M    src/kalziumglhelperclasses.cpp

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

19 years agoapifixes
Carsten Niehaus [Mon, 3 Jul 2006 06:34:28 +0000 (06:34 +0000)]
apifixes

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

19 years agomain change: added TextRenderer class (and CharRenderer helper class)
Benoît Jacob [Sun, 2 Jul 2006 11:35:46 +0000 (11:35 +0000)]
main change: added TextRenderer class (and CharRenderer helper class)

TextRenderer comment (sorry if this sounds too verbose, I just though it'd be
useful to explain why I didn't just use QGLWidget::renderText()) :

/** This class renders text inside a QGLWidget. It replaces the functionality
* of QGLWidget::renderText(). The advantages over renderText() include:
*  - supports any font, any character encoding supported by Qt
*    (renderText is 8-bit-only and can only use "OpenGL-compatible" fonts)
*  - does not use any library outside Qt (renderText uses FreeType on X11)
*  - renders characters as textured quads instead of calling glDrawPixels,
*    which does not make much of a difference on MesaGL, but can be a lot
*    faster and safer with other (buggy) OpenGL implementations. It will also
*    allow to add more graphical effects in the future, like rotation,
*    if we ever need that.
*  - the characters are stored as 8bpp Alpha, which takes 4 times less
*    memory than the 32bpp RGBA used by renderText.
*  - the characters are rendered on-the-fly on the first time they appear
*    in a QString being printed. This is achieved using a QHash to test whether
*    a character has already been rendered.

M    src/kalziumglwidget.h
M    src/kalziumglhelperclasses.h
M    src/moleculeview.cpp
M    src/kalziumglwidget.cpp
M    src/kalziumglhelperclasses.cpp

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

19 years agoAdding autorotation and the slots for zoomin/out. Benoit, I added the code but have...
Carsten Niehaus [Wed, 28 Jun 2006 20:50:14 +0000 (20:50 +0000)]
Adding autorotation and the slots for zoomin/out. Benoit, I added the code but have no idea how to do it propery (no 3d-knowledge). I added long comments for you there.

CCMAIL:jacob@math.jussieu.fr

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

19 years ago* First implementation of the calculation stuff
Carsten Niehaus [Wed, 28 Jun 2006 18:04:37 +0000 (18:04 +0000)]
* First implementation of the calculation stuff

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

19 years ago- change so that it's not required to explicitly call
Benoît Jacob [Wed, 28 Jun 2006 16:47:22 +0000 (16:47 +0000)]
- change so that it's not required to explicitly call
VertexArray::select() explicitly anymore before drawing

- basic GL text rendering stuff now (sort of) working. It's slow because
it's texture-based, but that'll change.

M    kalzium/src/kalziumglhelperclasses.h
M    kalzium/src/kalziumglwidget.cpp
M    kalzium/src/kalziumglhelperclasses.cpp

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

19 years agoAdd the slots for zooming and measuring
Carsten Niehaus [Wed, 28 Jun 2006 16:38:26 +0000 (16:38 +0000)]
Add the slots for zooming and measuring

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

19 years agofix selection of multiple atoms (Carsten: I apologize for the lack of
Benoît Jacob [Wed, 28 Jun 2006 15:10:35 +0000 (15:10 +0000)]
fix selection of multiple atoms (Carsten: I apologize for the lack of
documentation of my rendering code. Currently you have to call
m_sphere.select() before you can draw a sphere. I could change that now
to make it more easy to use, but it's not the right time to do it
because a lot of things are going to change when we'll implement
rendering different atoms with different sizes).

also begin implementation of text renderer for the GL widget. The
problem with QGLWidget::renderText is that it only works for ASCII text
(possibly 8-bit-extended, though I don't know how to set the character
encoding, but in any case no unicode) . Thus no
safe i18n is possible. Even if it's not necessary to display the message
"please load molecule", I thought it'd be nice to have the possibility
to display whatever text we want in the QGLWidget. But if you think it's
futile, I'll drop it.

Benoit

M    kalzium/src/kalziumglwidget.h
M    kalzium/src/kalziumglhelperclasses.h
M    kalzium/src/kalziumglwidget.cpp

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

19 years ago* Make it possible to select more than 1 atoms. 1 selected atom is now
Carsten Niehaus [Wed, 28 Jun 2006 11:32:28 +0000 (11:32 +0000)]
* Make it possible to select more than 1 atoms. 1 selected atom is now
  just a special case of many atoms (QList<Atom*> with just one member
* Currently the selection is hardcoded to atom 2 and 6, I am now
  coding the QTreeWidget-code
* Benoit: The sphere is not drawn, only the bond it seems... No clue why
  I don't know the structure of the GL-code :)

CCMAIL:jacob@math.jussieu.fr

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

19 years agoMake the getPrettyFormula pretty :)
Carsten Niehaus [Wed, 28 Jun 2006 10:43:29 +0000 (10:43 +0000)]
Make the getPrettyFormula pretty :)

svn path=/trunk/KDE/kdeedu/kalzium/src/openbabel2wrapper.cpp; revision=555698

19 years agoBig reorganization in kalziumglhelperclasses
Benoît Jacob [Mon, 26 Jun 2006 22:01:09 +0000 (22:01 +0000)]
Big reorganization in kalziumglhelperclasses

By the way, maybe we shoud rename these files kalziumglhelpers, because
there's not only classes there, but also functions (all within a
namespace I called KalziumGLHelpers).

Another change is, I removed support for caching with GL display lists.
The reason is, it was getting more and more complicated, and it would
really have been a pain to handle atoms with different radii. (The main
problem is that in principle, GL display lists are incompatible with
glVertexPointer).

Carsten, I tried to do as you asked, display "Please load a molecule" at
KalziumGLWidget startup, but I hit the weirdness of
QGLWidget::renderText(), and I had to give up. Googling for that showed
me that many people had the same problems, but I couldn't find a
solution. I'll ask kde-devel, I think.

Benoit

M    kalzium/src/kalziumglwidget.h
M    kalzium/src/kalziumglhelperclasses.h
M    kalzium/src/kalziumglwidget.cpp
M    kalzium/src/kalziumglhelperclasses.cpp

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

19 years agoBenoit, kalziumglwidget.h/cpp grew just to big, that is why I
Carsten Niehaus [Mon, 26 Jun 2006 13:47:58 +0000 (13:47 +0000)]
Benoit, kalziumglwidget.h/cpp grew just to big, that is why I
moved the code into kalziumglhelperclasses.h/cpp, onle the GLWidget
itself stays in src/kalziumglwidget.cpp.

But for some cpp-magic-reasons I needed to remove two inline-calls,
don't ask me why. Furhtermore,
template<class T> void GLVector3<T>::construct_ortho_basis_given_first_vector
is not longer found when linking, not the slightest idea why... The
other methods of GLVector are found when linking...

CCMAIL:jacob@math.jussieu.fr

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

19 years agoChanges in kalziumglwidget:
Benoît Jacob [Mon, 26 Jun 2006 10:18:33 +0000 (10:18 +0000)]
Changes in kalziumglwidget:

- added FPS (frames per second) counter. Enable it by #defining
  USE_FPS_COUNTER. (Currently enabled).

- added option to cache the rendering of the molecule using a GL display
  list. This improves speed, especially for rendering complex
  molecules; I have measured a speed increase above +35% in some cases
  (depends also on the style and the widget size). Enable it by
  #defining USE_DISPLAY_LIST. (Currently enabled).

Change in latticedialog:

- I allowed myself to comment out ui.glWidget->update(); in
  LatticeDialog::slotUpdateView() because normally this is being
  taken care of by slotSetMolecule; also I think that for a GL widget,
  one should call updateGL() instead of update(); not 100% sure here.
  Carsten, I didn't see the "blank widget" bug in the lattice viewer;
  have you already solved it?

M    kalzium/src/kalziumglwidget.h
M    kalzium/src/kalziumglwidget.cpp
M    kalzium/src/latticedialog.cpp

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

19 years agoAdd intelligent (so to speak) level-of-detail handling in Kalzium's
Benoît Jacob [Sun, 25 Jun 2006 13:08:39 +0000 (13:08 +0000)]
Add intelligent (so to speak) level-of-detail handling in Kalzium's
OpenGL engine. For instance smaller spheres will be drawn with smaller
detail level.

CCMAIL: cniehaus@gmx.de

M    kalzium/src/kalziumglwidget.cpp

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

19 years agoM kalzium/src/kalziumglwidget.h
Benoît Jacob [Sun, 25 Jun 2006 12:34:01 +0000 (12:34 +0000)]
M    kalzium/src/kalziumglwidget.h
M    kalzium/src/kalziumglwidget.cpp

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

19 years agoMany OpenGL-fixes from Benoit.
Carsten Niehaus [Sat, 24 Jun 2006 21:04:21 +0000 (21:04 +0000)]
Many OpenGL-fixes from Benoit.

Benoit, feel free to commit yourself from now on!

Benoit, is it possible that you forgot to center the molecule? They are rotating here like they did in the very first version of your code... But the reason might be that I am now using OpenBabel 2.1...

CCMAIL:jacob@math.jussieu.fr

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

19 years agoBenoit, please copy test.cml to /home/kde4/ and then test the latticeviewer. Somehow...
Carsten Niehaus [Sat, 24 Jun 2006 14:16:55 +0000 (14:16 +0000)]
Benoit, please copy test.cml to /home/kde4/ and then test the latticeviewer. Somehow I will need a new view-type for crystals. I want it to look a bit like this

http://upload.wikimedia.org/wikipedia/commons/d/db/NaCl-estructura_cristalina.svg

Somehow setting the style like I did in latticedialog.cpp (commented out)
doesn't work (gives me a blank widget...). Perhaps you have an idea.

CCMAIL:kalzium@kde.org

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

19 years ago* Remove code which is now in OpenBabel2.1beta
Carsten Niehaus [Sat, 24 Jun 2006 11:06:00 +0000 (11:06 +0000)]
* Remove code which is now in OpenBabel2.1beta

svn path=/trunk/KDE/kdeedu/kalzium/src/openbabel2wrapper.cpp; revision=554558

19 years agoMake the atom-selection cooler and fix the low/high setting (was mixed up)
Carsten Niehaus [Sun, 18 Jun 2006 09:29:25 +0000 (09:29 +0000)]
Make the atom-selection cooler and fix the low/high setting (was mixed up)

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

19 years agoCompile++
Laurent Montel [Sun, 18 Jun 2006 09:23:36 +0000 (09:23 +0000)]
Compile++

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

19 years agoChanges by Benoit:
Carsten Niehaus [Sat, 17 Jun 2006 21:06:47 +0000 (21:06 +0000)]
Changes by Benoit:
 - implemented highlighting of selected atom (paints it in a blue color that is
   influenced by the original color)
 - now uses GLColor struct to handle color stuff
 - in big-spheres style, use smaller spheres (tell me what you think of this)
 - some slotChooseStylePreset reorganization

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

19 years ago* If the user selects an atom in the QTreeWidget KalziumGLWidget will be
Carsten Niehaus [Sat, 17 Jun 2006 17:46:33 +0000 (17:46 +0000)]
* If the user selects an atom in the QTreeWidget KalziumGLWidget will be
  informed about that in

  void KalziumGLWidget::slotAtomSelected( OpenBabel::OBAtom* atom )

  Benoit: Please add you "atom-hightlight" code there, ok?

CCMAIL:jacob@math.jussieu.fr

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

19 years ago* Fixing a crash
Carsten Niehaus [Sat, 17 Jun 2006 08:45:15 +0000 (08:45 +0000)]
* Fixing a crash
* Fixing the connections, now the styleselector works
* Fixing the quality-setting

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

19 years ago* Many many changes by Benoit in the OpenGL-code
Carsten Niehaus [Sat, 17 Jun 2006 08:26:31 +0000 (08:26 +0000)]
* Many many changes by Benoit in the OpenGL-code

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

19 years ago* Many UI-Changes
Carsten Niehaus [Sat, 17 Jun 2006 07:21:41 +0000 (07:21 +0000)]
* Many UI-Changes

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

19 years agoone widget only, please!
Pino Toscano [Fri, 16 Jun 2006 18:41:11 +0000 (18:41 +0000)]
one widget only, please!

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

19 years agoand fix compilation for people with OpenBabel2 ;-)
Pino Toscano [Fri, 16 Jun 2006 16:22:21 +0000 (16:22 +0000)]
and fix compilation for people with OpenBabel2 ;-)

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

19 years agoFix compile
Laurent Montel [Fri, 16 Jun 2006 14:34:30 +0000 (14:34 +0000)]
Fix compile

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

19 years agoNow it compiles fine (need to fix a error when we re-try to compile it)
Laurent Montel [Fri, 16 Jun 2006 10:08:00 +0000 (10:08 +0000)]
Now it compiles fine (need to fix a error when we re-try to compile it)
works fine when we build after a make clean
I will fix it after eating

svn path=/trunk/KDE/kdeedu/kalzium/src/widgets/kalzium.widgets; revision=551984

19 years agoName fix
Carsten Niehaus [Fri, 16 Jun 2006 09:44:41 +0000 (09:44 +0000)]
Name fix

svn path=/trunk/KDE/kdeedu/kalzium/src/widgets/kalzium.widgets; revision=551977

19 years ago* Using M_PI and not a selfdefined pi.
Carsten Niehaus [Fri, 16 Jun 2006 09:23:32 +0000 (09:23 +0000)]
* Using M_PI and not a selfdefined pi.
* Update the view after the molecule has been changed
* Wouldn't it make sense to really only set m_molecule in the slotSetMolecule()
  and have a second slot/method in which  we'd recalculate things?

CCMAIL:jacob@math.jussieu.fr

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

19 years ago* It doesn't link but it is not compiled on default because for that
Carsten Niehaus [Thu, 15 Jun 2006 14:49:46 +0000 (14:49 +0000)]
* It doesn't link but it is not compiled on default because for that
  you need to add_subdir in the CMakeLists.txt in kalzium/src

svn path=/trunk/KDE/kdeedu/kalzium/src/widgets/kalzium.widgets; revision=551763

19 years ago* Add Benoit in the credit-section
Carsten Niehaus [Wed, 14 Jun 2006 16:59:18 +0000 (16:59 +0000)]
* Add Benoit in the credit-section
* Adding apidox and some compile warning-fixes
* Make use of the ui, well, the plugin still does not link and I have not the faintest idea why

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

19 years agosome patches by Benoit in his opengl-code
Carsten Niehaus [Wed, 14 Jun 2006 14:32:06 +0000 (14:32 +0000)]
some patches by Benoit in his opengl-code

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

19 years ago* Many OpenGL-Improvements
Carsten Niehaus [Wed, 14 Jun 2006 13:56:32 +0000 (13:56 +0000)]
* Many OpenGL-Improvements

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

19 years agook, adding two more colours and also making the widget bigger
Carsten Niehaus [Mon, 12 Jun 2006 17:52:18 +0000 (17:52 +0000)]
ok, adding two more colours and also making the widget bigger

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

19 years agoAdd colours for the diffrent atom types :)
Carsten Niehaus [Mon, 12 Jun 2006 17:36:41 +0000 (17:36 +0000)]
Add colours for the diffrent atom types :)

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

19 years agoThis way we can test with real testfiles. Only problem: The path is still hardcoded
Carsten Niehaus [Mon, 12 Jun 2006 17:02:10 +0000 (17:02 +0000)]
This way we can test with real testfiles. Only problem: The path is still hardcoded

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

19 years ago* Ok, make the dialog more sane, adding some slots so that Benoit can continue
Carsten Niehaus [Mon, 12 Jun 2006 15:05:06 +0000 (15:05 +0000)]
* Ok, make the dialog more sane, adding some slots so that Benoit can continue
* Benoit: You'll notice some changes in the GL-classes. I added 2 members and 2 slots.
  In the moleculewidget I removed everything but the constructor. I hope that works
  fine for you :)

CCMAIL:jacob@math.jussieu.fr

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

19 years agoMaking reading of chemical datafiles work. I created a small OB-wrapper to hide the...
Carsten Niehaus [Mon, 12 Jun 2006 13:23:30 +0000 (13:23 +0000)]
Making reading of chemical datafiles work. I created a small OB-wrapper to hide the ugly OB-API

svn path=/trunk/KDE/kdeedu/kalzium/src/openbabel2wrapper.cpp; revision=550626

19 years agoAs I also want to make the Crystalview OpenGL Benoit proposed to create a KalziumGL...
Carsten Niehaus [Sun, 11 Jun 2006 12:08:01 +0000 (12:08 +0000)]
As I also want to make the Crystalview OpenGL Benoit proposed to create a KalziumGL-widget, as both will use them

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