Radu Ursu
270173202d
added new line at the end of the file
2003-05-09 09:07:15 +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
e8396407dd
see changes
2003-03-17 10:38:39 +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
ec459d1b5e
fixed bug 58. Please verify and close the bug.
2003-03-10 14:55:30 +00:00
Radu Ursu
094a44e00e
removed warnings: 3 vars unused, but defined
2003-03-10 09:58:51 +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
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
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
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
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
0674c7f305
removed "already defined" errors
2003-02-18 10:56:07 +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
92ff615e9b
added #include <qcursor.h>
2003-02-11 14:19:47 +00:00
Radu Ursu
9f9c4c1693
fixed to compile with g++-2.95 with LEDA
2003-01-20 09:56:13 +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
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
Laurent Rineau
39da2c4efc
Fix the constructor under qt-2.3
2002-11-28 11:23:39 +00:00
Laurent Rineau
d17ae5db4b
Added endlines to these files, to fix gcc warnings.
2002-11-28 10:31:48 +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
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
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
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
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
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
Laurent Rineau
c59fae0fd5
to_double has to be prefixed by CGAL::, even when we are in the CGAL
...
namespace, because however there can be a conflict with the to_double
function defined by LEDA in the global namespace.
2002-10-28 16:45:53 +00:00
Radu Ursu
14d2d756b5
#include <CGAL/Cartesian.h> -> #include <CGAL/Simple_cartesian.h>
...
Solved bug in output operator for segment in Qt_widget. The operator compute the intersection between the segment and the iso_rectangle using Simple_cartesian<double> kernel.
2002-10-24 13:27:05 +00:00
Radu Ursu
1cadfe5ec0
The layers contain one more boolean member, that is made false by default:
...
bool does_eat_events;
When you use attach_standard for attaching a layer, this field is true.
The show_mouse_coordinates have this member made false by the standard toolbar.
The widget send the events to the other active layers attached only if there is no other standard_layer active that eat events.
2002-10-23 09:25:28 +00:00
Radu Ursu
23b8c2e65c
File name mentioned in header (Qt_layer_show_mouse_coordinates.h) is incorrect.
2002-10-22 13:04:15 +00:00
Radu Ursu
0ad9dbc601
The demos use the layer show_coordinates from the standard toolbar.
2002-10-18 11:30:05 +00:00
Radu Ursu
2a9633e33e
The show_mouse_coordinates layer became a part of standard_toolbar
...
The Qt_layer_show_mouse_coordinates will be removed.
2002-10-18 08:57:36 +00:00
Radu Ursu
1b58a8c136
The method clear_history should call configure_history_buttons.
2002-10-16 14:52:39 +00:00
Radu Ursu
6a374fa6b5
fixed bug in Triangulation_2_constrained
...
Point -> OpPoint
2002-10-16 12:39:54 +00:00
Radu Ursu
c3d1d03d44
removed unnecessary typename for Linux
2002-10-11 08:24:14 +00:00
Radu Ursu
8d305d46f0
removed a couple of typenames.
2002-10-11 08:20:55 +00:00
Radu Ursu
f44993b31c
#include <CGAL/Segment_2_segment_2_intersection.h> ->
...
#include <CGAL/Segment_2_Segment_2_intersection.h>
2002-10-11 07:59:13 +00:00
Radu Ursu
b95eaf1dfc
#include <CGAL/Intersections.h> ->
...
#include <CGAL/intersections.h>
2002-10-11 07:56:22 +00:00
Radu Ursu
e3e385653e
The << operator for triangulation_2 use the apply to range function, to draw only the triangles that are visible.
...
Usefull for large traingulations.
+ removed lines too long
2002-10-10 08:28:37 +00:00
Radu Ursu
9dbaee5afe
The << operator for triangulation_2 use the apply to range function, to draw only the triangles that are visible.
...
Usefull for large traingulations.
2002-10-10 08:27:59 +00:00