Commit Graph

1291 Commits

Author SHA1 Message Date
Radu Ursu 6ca8ebeb32 Finaly I have finished the DOC for Nef_2 polyhedron !!! 2003-06-03 09:00:40 +00:00
Radu Ursu 0fcd8de732 Upgraded Nef_2 demo.
It is possible to use multiple windows.
The listbox control is synchronizing itself.
I hope there are no bugs left.
Still have to write the HowTO ....
2003-06-02 09:54:29 +00:00
Radu Ursu d5df5b241a ed 2003-06-01 15:52:23 +00:00
Radu Ursu b56944a100 *** empty log message *** 2003-06-01 15:48:57 +00:00
Radu Ursu 8f18a278ac added functionality demanded by Andreas:
- exclusive layers could deactivate themselfs when button is pressed 2 times
2003-05-26 13:39:09 +00:00
Radu Ursu 8ec83eb5ff - implemented leave even. useful when the user move the mouse outside the window
- listening for ESC key. Reinitialize everything when the ESC key was hit.
2003-05-26 11:02:42 +00:00
Radu Ursu 3fe03f4560 Documented HelpWindow class. 2003-05-21 12:19:38 +00:00
Radu Ursu 22f18dbd54 Added demo for Spatial Searching.
Not finished yet. :)
2003-05-21 09:58:16 +00:00
Radu Ursu a09612484b removed lines too long 2003-05-19 13:12:27 +00:00
Radu Ursu c52e70c01b Bump for 1.3.30 (16 May 2003) 2003-05-16 15:10:51 +00:00
Radu Ursu ee39adb203 updated 2003-05-16 15:10:34 +00:00
Radu Ursu cb8334000a this is the VC++ .NET project for Polygon demo 2003-05-16 14:40:03 +00:00
Radu Ursu d1601459fc Fixed bug #63.
All demos use now stoolbar->clear_history() instead of widget->clear_history().
This was necessary due to changes in implementation of standard toolbar and
Qt_widget concernig the History.
2003-05-16 14:16:45 +00:00
Radu Ursu 0260e22221 removed warnings lines too long 2003-05-16 13:20:21 +00:00
Radu Ursu 305151e843 removed warnings lines too long 2003-05-16 12:59:09 +00:00
Radu Ursu c625e56d07 removed warnings lines too long 2003-05-16 12:47:25 +00:00
Radu Ursu f2b2c0a2c2 removed warnings lines too long 2003-05-16 12:40:10 +00:00
Radu Ursu 734591a464 removed warnings lines too long 2003-05-16 12:32:01 +00:00
Radu Ursu 4be671b5eb removed warnings lines too long 2003-05-16 10:16:18 +00:00
Radu Ursu 009b95babe removed warnings line too long 2003-05-16 10:07:51 +00:00
Radu Ursu e46a0fd0fe removed warnings lines too long 2003-05-16 09:55:43 +00:00
Radu Ursu 676464dc59 removed warnings lines too long 2003-05-16 09:47:48 +00:00
Radu Ursu a362c54499 removed warnings lines too long 2003-05-16 09:38:46 +00:00
Radu Ursu a819ecfb2a added points_on_square_grid_2 2003-05-16 09:27:50 +00:00
Radu Ursu 406f3e8d81 Finished Polygon demo. 2003-05-16 08:44:51 +00:00
Radu Ursu 46205d9fff modified the polygon demo. It is not finished yet. :) 2003-05-15 15:47:07 +00:00
Radu Ursu 48d309a996 Added Polygon demo is not finished yet. I intend to finish it soon. 2003-05-14 15:18:11 +00:00
Radu Ursu a56c0e4df3 modified the C file: removed unnecessary things 2003-05-14 12:24:53 +00:00
Radu Ursu 76fbc938cc this is the VC++ .NET project for Generator demo 2003-05-14 10:00:48 +00:00
Radu Ursu 1e20ad47a2 this is the VC++ .NET project for Min_circle_2 demo 2003-05-14 09:56:28 +00:00
Radu Ursu 299095e381 added the Generator demo 2003-05-14 09:27:12 +00:00
Radu Ursu 6cfaaa0d5e added output operator for Optimisation_circle_2 and doc support 2003-05-13 15:42:31 +00:00
Radu Ursu 59b09ff2b5 the help for Min_circle_2 2003-05-13 15:35:35 +00:00
Radu Ursu 4964b58fd9 Added Min_circle_2 demo in the repository.
Very similar to Min_ellipse_2 demo.
2003-05-13 15:29:42 +00:00
Radu Ursu 47cc8b09a6 modified the pixmap section 2003-05-12 09:12:19 +00:00
Radu Ursu 77d33ed209 Bump for 1.3.29 ( 9 May 2003) 2003-05-09 09:32:34 +00:00
Radu Ursu bfceeec3d4 updated 2003-05-09 09:31:57 +00:00
Radu Ursu 270173202d added new line at the end of the file 2003-05-09 09:07:15 +00:00
Radu Ursu 5737fd312b removed icons from the doc. 2003-05-09 09:00:22 +00:00
Radu Ursu c33240720b added ifdefs for CGAL_USE_QT to be able to
build them for the platforms that doesn't support Qt

see the testsuite
2003-05-08 21:42:37 +00:00
Radu Ursu 4dffa83b77 added ifdefs for CGAL_USE_QT to be able to
build them for the platforms that doesn't support Qt

see the testsuite
2003-05-08 21:29:16 +00:00
Radu Ursu e577838689 modified the icons part. Removed the icons from the manual because it was somehow ridiculous.
I have to remove the icons too from the CVS if Laurent agrees with this change.
2003-05-07 20:27:38 +00:00
Radu Ursu d439843390 Bump for 1.3.28 ( 3 Apr 2003) 2003-04-03 09:33:40 +00:00
Radu Ursu 0d5d56dc44 updated 2003-04-03 09:33:29 +00:00
Radu Ursu 7330aa864f fixed bug 56 2003-04-03 09:27:37 +00:00
Radu Ursu 88cf520891 fixed Bugzilla bug 48
demos toolbars became real QToolBar classes
removed method addToolBar from demos
we can now close bug 48
2003-04-03 09:00:20 +00:00
Radu Ursu e916efd8ce modified the doc of the standard_toolbar
modified the images of the standard toolbar and the first image of the doc, to corespond to the current implementation
2003-04-02 14:18:04 +00:00
Radu Ursu ca1cabab66 Bump for 1.3.27 (28 Mar 2003) 2003-03-28 13:09:23 +00:00
Radu Ursu fdc82ddc39 - fixed move_point layers for Windows. squared_distance method is in the CGAL namespace. 2003-03-28 13:08:59 +00:00
Radu Ursu 72e7c68b8c Bump for 1.3.26 (25 Mar 2003) 2003-03-25 12:52:53 +00:00
Radu Ursu 67703a90ed - added demo howto for Convex_hull_2, Partition_2, Minimum_ellipse_2, Largest_empty_rect_2, Max_k-gon, Minimum_quadrilateral
- restructured partition_2 demo
	- made demos more uniform
	- modified project files for Partition_2, Triangulation_2, Regular_triangulation_2
2003-03-25 12:52:33 +00:00
Radu Ursu a2a7fca138 modified the project to reflect latest changes 2003-03-24 15:18:50 +00:00
Radu Ursu 95137c0b5a made this project binary file on the CVS 2003-03-24 14:36:59 +00:00
Radu Ursu 7ff219b4fd removed to make it binary 2003-03-24 14:36:05 +00:00
Radu Ursu faeef5a959 modified the projects to reflect the latest changes 2003-03-24 14:33:16 +00:00
Radu Ursu 79a6c1b2e3 Fixed help howto in Triangulation_2
Added Help HowTo in Partition_2 demo.
Modified Partition_2 demo:
- moved layers files in partition_2_layers.h
- renamed Qt_widget_toolbar... stuff in partition_2_toolbar...
2003-03-24 14:04:01 +00:00
Radu Ursu 9cd3a69328 added Help HowTo for:
- Convex_hull_2
- Max_k-gon
- Min_ellipse_2
- Min_quadrilateral_2
- Largest_empty_rect_2

also made the layers uniform: PointStyle(DISC)
2003-03-24 12:59:31 +00:00
Radu Ursu c73ddb8ed4 Modified the "move_point" layer in order to set mouse position after choosing menu option. 2003-03-20 09:18:19 +00:00
Radu Ursu 50867419b0 Undo changes did earlier:
moved templated x_real from Qt_widget.C in the header
2003-03-19 10:46:32 +00:00
Radu Ursu 187bc1d59e fixed error in intro.tex \renewcommand -> \newcommand
moved x_real templated versions in Qt_widget.C
documented well the versions of x_real method
2003-03-19 10:11:28 +00:00
Radu Ursu 35adf597e0 modified the makefile to build the regular_triangulation_2 demo too. 2003-03-19 08:55:29 +00:00
Radu Ursu cc601e873e modified the makefile too for the latest changes 2003-03-18 16:17:21 +00:00
Radu Ursu 3de2cf149f changed file name from
Qt_widget_move_point.h/C -> triangulation_2_edit_vertex.h/C
added layers toolbar in regular triangulation
2 classes appeared in triangulation_2_edit_vertex.h/C:
triangulation_2_edit_vertex
triangulation_2_edit_weightedpoint
They are both derived from triangulation_2_edit_vertex_helper
The weighted point edit layer is able to remove point, move point and change the weight.
2003-03-18 15:55:52 +00:00
Radu Ursu ec63c51fac Bump for 1.3.25 (18 Mar 2003) 2003-03-18 09:34:18 +00:00
Radu Ursu b053b92cfa - fixed bug in Triangulation_2 demo (uses Qt_widget_toolbar_layers.h that doesn't exist)
- added Qt_widget_move_weightedpoint layer in Qt_widget_movepoint.h
2003-03-18 09:33:55 +00:00
Radu Ursu 60b6dd8590 fixed bug in triangulation_2_demo. (using old Qt_widget_toolbar_layers.h that no longer exist)
added Qt_widget_move_weightedpoint class for regular tr 2 demo.
2003-03-18 09:15:03 +00:00
Radu Ursu e8396407dd see changes 2003-03-17 10:38:39 +00:00
Radu Ursu c53a51a0f5 Bump for 1.3.24 (14 Mar 2003) 2003-03-14 10:16:33 +00:00
Radu Ursu 9273b7c4b7 1.3.24 - 14/03/2003 (rursu)
-------------------
	radu:
	- Added Regular_triangulation_2 demo in Triangulation_2 dir
	- Modified names in Triangulation_2 dir of toolbar and toolbar_layers
	- Modified the Makefile to compile the doc, ref pages and tutorial
2003-03-14 10:16:16 +00:00
Radu Ursu 806b509270 added support in Makefile to compile the doc
improved Makefile to compile the reference pages too
2003-03-14 10:11:26 +00:00
Radu Ursu c981520c7a Added regular_triangulation_2 demo
renamed the toolbar files in triangulation
modified the makefile but didn't add yet the regular for testing. I still have couple more things to modify.
2003-03-14 08:48:32 +00:00
Laurent Rineau 4d9d6d14db Fix bug #61. 2003-03-12 11:15:27 +00:00
Radu Ursu 869558a766 Fixed bug in resize Bugzilla Bug 60.
Introduced 4 more backup doubles: xmin_old, xmax_old ...
It seems to me it's ok.
2003-03-12 10:04:27 +00:00
Laurent Rineau c13051e01e Fix a compile time bug. 2003-03-11 16:19:59 +00:00
Radu Ursu 13a66553ff Bump for 1.3.23 (11 Mar 2003) 2003-03-11 10:15:00 +00:00
Radu Ursu be36e0c0fa updated 2003-03-11 10:14:45 +00:00
Radu Ursu 2e075e94c1 Undo changes did by mistake. 2003-03-11 09:51:53 +00:00
Radu Ursu 24cd334b99 Fixed bug from removing the namespace in this layer.
LineWidth -> CGAL::LineWidth
2003-03-10 18:04:28 +00:00
Laurent Rineau 086a000b51 Remove the use of Qt_widget::back() and Qt_widget::forward() that are deprecated 2003-03-10 17:45:27 +00:00
Laurent Rineau 9ecfb3b737 Add a usefull comment in set_center 2003-03-10 17:44:32 +00:00
Radu Ursu 9b6ff841f6 removed warnings lines too long for ever :) 2003-03-10 17:15:44 +00:00
Radu Ursu c86c136be9 removed warnings lines too long 2003-03-10 17:14:54 +00:00
Radu Ursu a60cb8918b fix for namespace removal 2003-03-10 17:01:28 +00:00
Radu Ursu f6e644cd59 fixed bug 45.
I have tried to remove the namespace from demos, it was very stupid from our part to have it allover.
I have found the namespace everywhere.
It could happen that this fix will produce bugs, I couldn't test everything because of bugs in the CGAL library
2003-03-10 16:34:42 +00:00
Radu Ursu ec459d1b5e fixed bug 58. Please verify and close the bug. 2003-03-10 14:55:30 +00:00
Radu Ursu 44f6f98848 fixed sl_set_window -> set_window 2003-03-10 13:38:40 +00:00
Radu Ursu 9f5e8d6128 removed set_window member from MainWindow class
The application only use set_window from Qt_widget instance widget
removed portability warnings from VC7 projects
2003-03-10 13:36:41 +00:00
Radu Ursu a9a5839944 removed set_window member from MainWindow class
The application only use set_window from Qt_widget instance widget
2003-03-10 13:02:42 +00:00
Radu Ursu 7bfa05db83 removed set_window member from MainWindow class
The application only use set_window from Qt_widget instance widget
2003-03-10 12:51:17 +00:00
Radu Ursu a906f1e4c8 added clear_history before set_window when creating a new window
fixed project and removed portability warnings
2003-03-10 12:40:08 +00:00
Radu Ursu 6ee21fa1c6 fixed bug in Qt_widget_toolbar.h using K2, not K1
fixed project and removed portability warnings
2003-03-10 12:25:48 +00:00
Radu Ursu 6c1ad9dcc6 removed set_window from MainWindow. Now remains only in Qt_widget.
we should do the same with the others demos too.
and line too long
2003-03-10 10:44:33 +00:00
Radu Ursu 96f363b178 removed set_window from MainWindow. Now remains only in Qt_widget.
we should do the same with the others demos too.
2003-03-10 10:37:40 +00:00
Radu Ursu 094a44e00e removed warnings: 3 vars unused, but defined 2003-03-10 09:58:51 +00:00
Radu Ursu ac7e0c1f1c Added Qt_widget_history.C in the project file for release and debug configuration. 2003-03-10 09:56:26 +00:00
Radu Ursu 2368e09427 removed tabs from this file 2003-03-10 08:57:38 +00:00
Radu Ursu 04fdaf3b25 removed demo.dsw from Nef2 2003-03-10 08:25:06 +00:00
Radu Ursu bbc38317b3 custom_redraw() signal is deprecated. It was kept for back comp.
It was replaced by:
redraw_on_back() and redraw_on_front() signals.
2003-03-03 10:26:24 +00:00
Radu Ursu 94e443bb93 Found bug in zoom. xmin -> ymin. 2003-03-03 09:19:40 +00:00
Radu Ursu b4a8bd0091 For applications that don't use set_window( , , , ) the constructor of Qt_widget should call emit(rangesChanged()); 2003-03-03 09:14:53 +00:00
Laurent Rineau 1f6ae50e76 Remove the Mesh_2 stuff that I had commited be error. 2003-03-01 11:47:46 +00:00
Laurent Rineau 328eda2008 Fix bug #37: "Memory leak in src/CGALQt/Qt_widget_standard_toolbar.C" 2003-02-27 15:15:20 +00:00
Laurent Rineau 254814148c fix a dependancy 2003-02-27 13:16:44 +00:00
Laurent Rineau e7f332eca4 Remove the use of printf 2003-02-27 12:53:27 +00:00
Laurent Rineau 3d6e9d19bb Add a newline at end of file, again. 2003-02-26 17:12:56 +00:00
Laurent Rineau 122e0dc5c7 Bump for 1.3.22 (26 Feb 2003) 2003-02-26 17:05:51 +00:00
Laurent Rineau 6483645517 Rewrite of Qt_widget_standard_toolbar 2003-02-26 17:05:35 +00:00
Laurent Rineau 9b56ab4048 I forgot to remove debugging outputs to std::cerr before commiting. 2003-02-26 15:24:49 +00:00
Laurent Rineau c24d3191b2 The .env requirement was quite dumb. 2003-02-26 15:05:26 +00:00
Laurent Rineau 810c1e805e Bump for 1.3.21 (21 Feb 2003) 2003-02-21 13:59:23 +00:00
Laurent Rineau 83af5db037 Changes for version 1.3.21. 2003-02-21 13:52:00 +00:00
Laurent Rineau e89e4181ed The whole history stuff has been modified as I said in bug#38 comment #5. 2003-02-21 10:59:00 +00:00
Laurent Rineau 03838fe125 Fix warnings 2003-02-18 16:35:56 +00:00
Laurent Rineau db49669416 Add newline at end of files 2003-02-18 16:33:43 +00:00
Laurent Rineau bbf65076ae Remove an unused parameter name 2003-02-18 15:50:12 +00:00
Laurent Rineau 9055b9116b Add typenames to calm down gcc-3.2.1 warnings. 2003-02-18 15:46:37 +00:00
Laurent Rineau 80f14b8da7 Add newline at end of files. 2003-02-18 15:42:26 +00:00
Radu Ursu a74a3f11ad Bump for 1.3.20 (18 Feb 2003) 2003-02-18 13:23:44 +00:00
Radu Ursu 2ca407e7a2 updated 2003-02-18 13:23:29 +00:00
Radu Ursu 0674c7f305 removed "already defined" errors 2003-02-18 10:56:07 +00:00
Radu Ursu 792cbd1808 added Qt_widget_helpwindow.C 2003-02-18 10:53:58 +00:00
Radu Ursu 14cb9e9114 load constraints get documented in help how to 2003-02-18 10:27:06 +00:00
Radu Ursu d14ced326a Bump for 1.3.19 (17 Feb 2003) 2003-02-17 17:11:10 +00:00
Radu Ursu 59ceeffdaf Bump for 1.3.18 (17 Feb 2003) 2003-02-17 12:52:36 +00:00
Radu Ursu 1c03ac31f6 Bump for 1.3.17 (17 Feb 2003) 2003-02-17 12:25:04 +00:00
Radu Ursu 58074075e3 Bump for 1.3.16 (17 Feb 2003) 2003-02-17 09:14:08 +00:00
Radu Ursu 89d8c8fffd Bump for 1.3.15 (14 Feb 2003) 2003-02-14 16:15:36 +00:00
Radu Ursu 187eaa2d30 updated 2003-02-14 16:15:24 +00:00
Radu Ursu 01091299a1 Bump for 1.3.14 (14 Feb 2003) 2003-02-14 15:54:38 +00:00
Radu Ursu b55aa31e25 Bump for 1.3.13 (14 Feb 2003) 2003-02-14 15:41:09 +00:00
Radu Ursu 0f621be9a2 Bump for 1.3.12 (14 Feb 2003) 2003-02-14 15:09:55 +00:00
Radu Ursu 7dc0517e6e Bump for 1.3.11 (14 Feb 2003) 2003-02-14 14:28:54 +00:00
Radu Ursu 54eebf3d95 Bump for 1.3.10 (14 Feb 2003) 2003-02-14 14:21:09 +00:00
Radu Ursu 5ef01d4fbf removed #include <CGAL/Qt_widget.h> from apply_to_range.h 2003-02-14 13:34:03 +00:00
Radu Ursu 9fc90f7d28 Bump for 1.3.9 (14 Feb 2003) 2003-02-14 12:33:15 +00:00
Radu Ursu 479129d936 removed dsp projects for VC6 2003-02-14 12:32:51 +00:00
Radu Ursu aa9fc8b661 Bump for 1.3.8 (14 Feb 2003) 2003-02-14 11:05:17 +00:00
Radu Ursu ef19828309 removed project files for VC6 2003-02-14 11:03:21 +00:00
Radu Ursu e4e5e02986 Bump for 1.3.7 (13 Feb 2003) 2003-02-13 13:20:17 +00:00
Radu Ursu 7e597586b8 Bump for 1.3.6 (13 Feb 2003) 2003-02-13 12:39:40 +00:00
Radu Ursu ebeda2c36b updated 2003-02-13 12:39:00 +00:00
Radu Ursu 92ff615e9b added #include <qcursor.h> 2003-02-11 14:19:47 +00:00
Radu Ursu c96d342459 Added help how to for Triangulation_2_constrained 2003-02-11 12:06:39 +00:00
Radu Ursu c324a1b8cb fixed bug in new_window for number_of_vertices() <= 1 2003-02-11 10:13:02 +00:00
Radu Ursu 3c4f2d82d9 fixed bug in new_window when tr1.number_of_vertices() <= 1 2003-02-11 10:09:44 +00:00
Radu Ursu d11f7a5818 Triangulation_2_constrained
removed layers and put them in triangulation_2_constrained_layers.h
	added support for new window
	removed namespace CGAL from this demo
Alpha_shapes_2
	when pressing New_window, the viewport fits the bounding box
Triangulation_2
	when pressing New_window, the viewport fits the bounding box
2003-01-30 15:10:30 +00:00
Radu Ursu ae7dee55ee Added help "How To" for Triangulation_2.
Modified the way to change the viewport in Alpha Shape. xmin, xmax, ymin, ymax are at the beginning the values of the first vertices.
2003-01-30 11:25:46 +00:00
Radu Ursu 7686d70b41 Added print functionality 2003-01-29 14:03:45 +00:00
Radu Ursu 3f60ed0138 - added a file named "cgal_types.h" containing types used in this demo
- removed namespace CGAL from this demo (conflict type Rep with Rep class from Handle.h)
2003-01-29 12:42:07 +00:00
Radu Ursu c1fe7b33be Bump for 1.3.5 (21 Jan 2003) 2003-01-21 15:11:39 +00:00
Radu Ursu 26e91e68c9 updated 2003-01-21 15:11:25 +00:00
Radu Ursu 9f9c4c1693 fixed to compile with g++-2.95 with LEDA 2003-01-20 09:56:13 +00:00
Radu Ursu 658967be0e Bump for 1.3.4 (17 Jan 2003) 2003-01-17 10:16:11 +00:00
Radu Ursu f7885b055a updated 2003-01-17 10:15:45 +00:00
Radu Ursu 789b09bb71 The nef_2 demo needs GMP.
It compiles now even if the GMP was not used.
2003-01-16 15:37:10 +00:00
Radu Ursu 0795549010 The helpwindow is a part of the CGALQt library. It was removed from Alpha_shape demo and put in /src/CGALQt/Qt_widget_helpwindow.C and /include/CGAL/IO/Qt_widget_helpwindow.h.
The icons went in the header file(declarations) and the source file(definitions).
2003-01-16 10:20:32 +00:00
Radu Ursu ab03c5262a Removed imposed style and color from all the demos. 2003-01-15 14:51:06 +00:00
Radu Ursu 0680f50dfc The menu and combobox have been fixed 2003-01-15 14:36:11 +00:00
Radu Ursu a868bc1747 - Triangulation_2 demo layers were moved in the triangulation_2_layers.h file
- when generate a triangulation, the new triangulation will fit the window.
2003-01-15 14:10:21 +00:00
Radu Ursu e38250389d Updated the demo how to for Alpha shapes 2 demo. 2003-01-15 09:30:35 +00:00
Radu Ursu ba1e24ee0f - removed the layers header files that moved in alpha_shapes_2_layers.h
- the alpha shape is updated when deleting a vertex. (resolved bug)
2003-01-14 09:03:44 +00:00
Radu Ursu 907a6ed032 added "demo how to" in Help menu.
added data directory
added help directory that will store the "How To" HTML files
the helpwindow class is defined/declared in helpwindow.C/.h files
2003-01-13 15:37:25 +00:00
Radu Ursu 3c2c06fc42 this file contains the big and small pixmaps for alpha_shape demo
this is a new feature that have been added to this demo.
2003-01-08 12:22:53 +00:00
Radu Ursu 86da599f2c Lots of improovements:
- the possibility to activate/deactivate alpha_shape layer at run time
	- the possibility to activate/deactivate image layer at run time
	- all the output layers have been moved in alpha_shapes_2_layers.h file
	- when moving vertex, the alpha_shape reflect changes
	- the new window slot is working well now
	- the possibility to input alpha greater than 1
2003-01-08 12:20:14 +00:00
Radu Ursu 14ed13fcba Bump for 1.3.3 ( 6 Jan 2003) 2003-01-06 10:14:42 +00:00
Radu Ursu 4e36681a4b updated 2003-01-06 10:14:31 +00:00
Radu Ursu 4f3ea8dcc8 updated 2003-01-06 10:13:45 +00:00
Radu Ursu 03d577d706 decommented lines in the gray layer concerning the 2nd nef polyhedron.
both nef2 polyhedrons are visible.
2003-01-06 10:09:45 +00:00
Laurent Rineau d956a7a36b Fix set_scale(). 2002-12-16 18:13:02 +00:00
Radu Ursu fd4db4c8ee fixed bug in set_scales:
double tempmin = min(width(), height());
  double div = min(xmax-xmin, ymax-ymin);
to build the scales the min should have been divided by MIN not by MAX

simplified operations in x_real
2002-12-16 08:15:11 +00:00
Laurent Rineau b84f7a9b63 For version 1.3.2 2002-12-04 09:12:10 +00:00
Laurent Rineau c3c029620b Bump for 1.3.2 ( 4 Dec 2002) 2002-12-04 09:10:47 +00:00
Laurent Rineau 39da2c4efc Fix the constructor under qt-2.3 2002-11-28 11:23:39 +00:00
Laurent Rineau b586f12bbf Added qtoolbutton.h in includes. 2002-11-28 11:23:00 +00:00
Laurent Rineau d17ae5db4b Added endlines to these files, to fix gcc warnings. 2002-11-28 10:31:48 +00:00
Laurent Rineau 31d06fc92d Bump for 1.3.1 (26 Nov 2002) 2002-11-26 14:12:43 +00:00
Laurent Rineau 815758e287 Revert my changes: Qt_widget no longer derives from QFrame. If we want a
border, one can use a QFrame parent of the Qt_widget. It will be probably
more efficient. Thank to Radu for not having agreed to easily: it
prevended my from doing an error. ;-)
2002-11-26 09:58:42 +00:00
Laurent Rineau bc69c33cd6 Added comments about the last modifications I made. 2002-11-26 07:51:14 +00:00
Laurent Rineau 2b2b2a9264 - Renaming set_scale_center(x,y) to set_ranges_const_center(): this
functions set ranges (xmin,ymin,xmax,ymax) with constant center. Arguments
where always equal to xcenter, ycenter thus they were uneeded.
- Use drawContents(QPainter*), the protected method of QFrame called by
QFrame::paintEvent(...). paintEvent(...) is no longer overridden.
- Added comments in include/CGAL/IO/Qt_widget.h to explain the role of
private functions. It was increasingly difficult to understand the code.
- New void Qt_widget::frameChanged() function, that resize the pixmap if
the frame border is changed.
2002-11-26 07:47:03 +00:00
Laurent Rineau 0e589b74ae I forgot to swap the connect(...) too. 2002-11-26 07:28:21 +00:00
Laurent Rineau cd27a5b499 I have changed a lot the class Qt_widget_standard_toolbar.
- It now derives from QToolBar, as it should have since the beginning.
- The constructor has now additional facultative parameters:
    Dock = DockTop,
    bool newLine = true,
    const char* name = 0
  With Qt-3, the first parameter is
QMainWindow::ToolBarDock=QMainWindow::Top
- The header file has been cleaned from uneeded includes or pointer
declarations.
- The backward compatibility has been preserved by adapted default values.
- I have filled bug #36 for as a reminder for documentation changes.
2002-11-26 02:25:54 +00:00
Laurent Rineau 60e3714355 Added a linebreak at end of those files, to remove warnings under linux.
A test file is not correct if it doesn't end by a linebreak.
2002-11-26 01:50:49 +00:00
Laurent Rineau 251d92f0e8 Fix the clean rule in some demo makefiles (Largest_empty_rect_2 and all
tutorials).
We should use create_makefile -q
2002-11-26 01:48:56 +00:00
Laurent Rineau 7db5b59af8 I have a made a change in the library, that can appear to be important,
but is quite small actually:
Qt_widget now derives from QFrame instead of QWidget. The differences are
that:
- the Qt_widget can have a border, like a QFrame
- the drawing area is not the whole Qt_widget but the contentsRect()
rectangle, which is the widget without its border.
As, by default, the border is null, it should change anything for
compatibility. By default, a QFrame is like a QWidget.
2002-11-25 17:44:21 +00:00
Laurent Rineau 3db15d4e86 There wasn't any .cvsignore in the Nef_2 directory. Added. 2002-11-25 17:38:36 +00:00
Laurent Rineau b8812477f5 This file Makefile (with an upper case M) is for development only and
doesn't go into the package.
While developping Qt_widget, the libCGALQt.a file shouldn't be moved into
the CGAL installation! That's why is should be commented.
Under unix, to use this last version anyway, use:
  make CUSTOM_LIBPATH="/path/to/Qt_widget/src/CGALQt"
instead of make. It works with GNU Make at least.
2002-11-25 17:15:22 +00:00
Laurent Rineau 94f873e107 Fix contrained.C: this demo was crashing when the file data/fish wasn't
found.
2002-11-25 17:07:43 +00:00
Laurent Rineau 6e30bfab04 I really don't understand why zoom_rect was changing the color when
deactivating.
2002-11-23 14:04:43 +00:00
Radu Ursu e4fd21ca3b Bump for 1.3.0 (12 Nov 2002) 2002-11-12 13:39:18 +00:00
Radu Ursu 706c52fbb5 updated 2002-11-12 13:39:06 +00:00
Radu Ursu edc1bba4bc The demos know about small and big icons.
By default all the demos use small icons. To change them just use big icons in your mainwindow.
2002-11-12 13:34:23 +00:00
Radu Ursu 5b3cc93b4b small pixmaps were added in the same file as the big pixmaps
the name is composed by : filename_small_xpm
2002-11-12 09:36:42 +00:00
Radu Ursu c78cece288 Bump for 1.2.49 ( 8 Nov 2002) 2002-11-08 08:18:14 +00:00
Radu Ursu b2024bc4a5 updated 2002-11-08 08:17:48 +00:00
Radu Ursu 328d8f6893 Fixed error in VC7 testsuite:
error C2027: use of undefined type 'QMainWindow'
c:\Qt\3.0.4.NET\include\qdockwindow.h(56) : see declaration of 'QMainWindow'
2002-11-06 09:45:18 +00:00
Radu Ursu 071f5cbfe5 Removed CGAL_NO_LEDA_HANDLE macro definition.
The patch applied to install_cgal for CGAL_QT_LDFLAGS when Qt is not installed works also when you use Leda and don't use Qt.
2002-11-04 13:52:38 +00:00
Susan Hert 80b574bae4 remove Susan as maintainer 2002-11-04 11:29:58 +00:00
Radu Ursu e49caf8da6 Try to fix the linker error for those that have Leda installed and don't have Qt. (Borland compiler)
Scavenging LEDA, we provide the identical functionality in the CGAL classes Leda_like_handle and Leda_like_rep. If LEDA is not available or CGAL_NO_LEDA_HANDLE is set, Handle and Rep correspond to these types.


typedef Leda_like_handle Handle;
typedef Leda_like_rep    Rep;
2002-11-04 10:00:10 +00:00
Radu Ursu 6a27f85e3a Fixed bug in VC7. Maibe it was also in Linux. 2002-10-29 17:28:07 +00:00
Radu Ursu 22d44d1fc3 Fixed bug for VC7. Maibe it was also present in Linux. 2002-10-29 16:28:11 +00:00