mirror of https://github.com/CGAL/cgal
Before, the examples were in a subdirectory
This commit is contained in:
parent
9747186cbc
commit
0085b87132
|
|
@ -1231,6 +1231,10 @@ QP_solver/test/QP_solver/data_to_mps-double.cin -text
|
||||||
QP_solver/test/QP_solver/data_to_mps-rational.C -text
|
QP_solver/test/QP_solver/data_to_mps-rational.C -text
|
||||||
QP_solver/test/QP_solver/data_to_mps-rational.cin -text
|
QP_solver/test/QP_solver/data_to_mps-rational.cin -text
|
||||||
QP_solver/test/QP_solver/data_to_mps.cin -text
|
QP_solver/test/QP_solver/data_to_mps.cin -text
|
||||||
|
Qt_widget/demo/Qt_widget/hellosegment.C -text
|
||||||
|
Qt_widget/demo/Qt_widget/layer.C -text
|
||||||
|
Qt_widget/demo/Qt_widget/standard_toolbar.C -text
|
||||||
|
Qt_widget/demo/Qt_widget/tutorial2.C -text
|
||||||
Qt_widget/doc_tex/Qt_widget/standard_toolbar.eps -text
|
Qt_widget/doc_tex/Qt_widget/standard_toolbar.eps -text
|
||||||
Qt_widget/doc_tex/Qt_widget/standard_toolbar.gif -text svneol=unset#unset
|
Qt_widget/doc_tex/Qt_widget/standard_toolbar.gif -text svneol=unset#unset
|
||||||
Qt_widget/doc_tex/Qt_widget/standard_toolbar.pdf -text svneol=unset#unset
|
Qt_widget/doc_tex/Qt_widget/standard_toolbar.pdf -text svneol=unset#unset
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,55 @@
|
||||||
|
// Copyright (c) 1997-2004 Utrecht University (The Netherlands),
|
||||||
|
// ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
// INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
// (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
// and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
//
|
||||||
|
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
// published by the Free Software Foundation; version 2.1 of the License.
|
||||||
|
// See the file LICENSE.LGPL distributed with CGAL.
|
||||||
|
//
|
||||||
|
// Licensees holding a valid commercial license may use this file in
|
||||||
|
// accordance with the commercial license agreement provided with the software.
|
||||||
|
//
|
||||||
|
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
//
|
||||||
|
// $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/trunk/Qt_widget/demo/Qt_widget/Examples/hellosegment.C $
|
||||||
|
// $Id: hellosegment.C 29724 2006-03-23 14:11:42Z afabri $
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Author(s) : Laurent Rineau
|
||||||
|
// Radu Ursu <rursu@sophia.inria.fr
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
|
|
||||||
|
#ifndef CGAL_USE_QT
|
||||||
|
#include <iostream>
|
||||||
|
int main(int, char*){
|
||||||
|
std::cout << "Sorry, this demo needs QT..." << std::endl; return 0;}
|
||||||
|
#else
|
||||||
|
#include <CGAL/Cartesian.h>
|
||||||
|
#include <CGAL/IO/Qt_widget.h>
|
||||||
|
|
||||||
|
#include <qapplication.h>
|
||||||
|
|
||||||
|
typedef CGAL::Cartesian<int> Rep;
|
||||||
|
typedef CGAL::Point_2<Rep> Point_2;
|
||||||
|
typedef CGAL::Segment_2<Rep> Segment;
|
||||||
|
|
||||||
|
int main( int argc, char **argv )
|
||||||
|
{
|
||||||
|
QApplication app( argc, argv );
|
||||||
|
CGAL::Qt_widget *w = new CGAL::Qt_widget();
|
||||||
|
app.setMainWidget( w );
|
||||||
|
w->resize(600, 600);
|
||||||
|
w->set_window(0, 600, 0, 600);
|
||||||
|
w->show();
|
||||||
|
w->lock();
|
||||||
|
*w << CGAL::BackgroundColor(CGAL::ORANGE) << CGAL::RED;
|
||||||
|
*w << Segment(Point_2(100,100), Point_2(400,400));
|
||||||
|
w->unlock();
|
||||||
|
return app.exec();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,154 @@
|
||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.10"
|
||||||
|
Name="hellosegment"
|
||||||
|
ProjectGUID="{FAA5B40B-55E5-42D3-8EE2-479CD8E3F477}"
|
||||||
|
Keyword="Win32Proj">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory="Debug"
|
||||||
|
IntermediateDirectory="Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/Zm900"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../include/CGAL/config/msvc7;../../include;$(QTDIR)/include"
|
||||||
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CGAL_USE_QT"
|
||||||
|
MinimalRebuild="TRUE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
RuntimeTypeInfo="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
|
DebugInformationFormat="4"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cgal.lib cgalqt.lib qt-mt.lib qtmain.lib wsock32.lib winmm.lib imm32.lib"
|
||||||
|
OutputFile="$(OutDir)/hellosegment.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile="$(OutDir)/robustness.pdb"
|
||||||
|
SubSystem="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory="Release"
|
||||||
|
IntermediateDirectory="Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/Zm900"
|
||||||
|
Optimization="2"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
OmitFramePointers="TRUE"
|
||||||
|
AdditionalIncludeDirectories="../../include/CGAL/config/msvc7;../../include;$(QTDIR)/include"
|
||||||
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CGAL_USE_QT"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
RuntimeTypeInfo="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
|
DebugInformationFormat="3"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cgal.lib cgalqt.lib qt-mt.lib qtmain.lib wsock32.lib winmm.lib imm32.lib"
|
||||||
|
OutputFile="$(OutDir)/hellosegment.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
SubSystem="2"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<References>
|
||||||
|
</References>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
|
||||||
|
<File
|
||||||
|
RelativePath=".\hellosegment.C">
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl;inc">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
||||||
|
|
@ -0,0 +1,92 @@
|
||||||
|
// Copyright (c) 1997-2004 Utrecht University (The Netherlands),
|
||||||
|
// ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
// INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
// (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
// and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
//
|
||||||
|
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
// published by the Free Software Foundation; version 2.1 of the License.
|
||||||
|
// See the file LICENSE.LGPL distributed with CGAL.
|
||||||
|
//
|
||||||
|
// Licensees holding a valid commercial license may use this file in
|
||||||
|
// accordance with the commercial license agreement provided with the software.
|
||||||
|
//
|
||||||
|
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
//
|
||||||
|
// $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/trunk/Qt_widget/demo/Qt_widget/Examples/layer.C $
|
||||||
|
// $Id: layer.C 29724 2006-03-23 14:11:42Z afabri $
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Author(s) : Radu Ursu <rursu@sophia.inria.fr
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
|
|
||||||
|
#ifndef CGAL_USE_QT
|
||||||
|
#include <iostream>
|
||||||
|
int main(int, char*){
|
||||||
|
std::cout << "Sorry, this demo needs QT..." << std::endl; return 0;}
|
||||||
|
#else
|
||||||
|
#include <CGAL/Cartesian.h>
|
||||||
|
#include <CGAL/Delaunay_triangulation_2.h>
|
||||||
|
#include <CGAL/IO/Qt_widget_Delaunay_triangulation_2.h>
|
||||||
|
#include <CGAL/IO/Qt_widget.h>
|
||||||
|
#include <CGAL/IO/Qt_widget_layer.h>
|
||||||
|
#include <CGAL/IO/Qt_widget_get_point.h>
|
||||||
|
|
||||||
|
#include <qapplication.h>
|
||||||
|
#include <qmainwindow.h>
|
||||||
|
|
||||||
|
typedef CGAL::Cartesian<double> Rep;
|
||||||
|
typedef CGAL::Point_2<Rep> Point_2;
|
||||||
|
typedef CGAL::Delaunay_triangulation_2<Rep> Delaunay;
|
||||||
|
|
||||||
|
Delaunay dt;
|
||||||
|
|
||||||
|
class My_Layer : public CGAL::Qt_widget_layer{
|
||||||
|
void draw(){
|
||||||
|
*widget << dt;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
class My_Window : public QMainWindow {
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
My_Window(int x, int y){
|
||||||
|
widget = new CGAL::Qt_widget(this, "CGAL Qt_widget");
|
||||||
|
setCentralWidget(widget);
|
||||||
|
resize(x,y);
|
||||||
|
widget->attach(&get_point);
|
||||||
|
widget->attach(&v);
|
||||||
|
connect(widget, SIGNAL(new_cgal_object(CGAL::Object)),
|
||||||
|
this, SLOT(get_new_object(CGAL::Object)));
|
||||||
|
widget->set_window(0, 600, 0, 600);
|
||||||
|
};
|
||||||
|
private: //members
|
||||||
|
CGAL::Qt_widget_get_point<Rep> get_point;
|
||||||
|
My_Layer v;
|
||||||
|
CGAL::Qt_widget *widget;
|
||||||
|
private slots:
|
||||||
|
void get_new_object(CGAL::Object obj)
|
||||||
|
{
|
||||||
|
Point_2 p;
|
||||||
|
if (CGAL::assign(p, obj)) {
|
||||||
|
dt.insert(p);
|
||||||
|
}
|
||||||
|
widget->redraw();
|
||||||
|
}
|
||||||
|
}; //endclass
|
||||||
|
|
||||||
|
// moc_source_file : layer.C
|
||||||
|
#include "layer.moc"
|
||||||
|
|
||||||
|
int main( int argc, char **argv )
|
||||||
|
{
|
||||||
|
QApplication app( argc, argv );
|
||||||
|
My_Window *W = new My_Window(600,600);
|
||||||
|
app.setMainWidget( W );
|
||||||
|
W->show();
|
||||||
|
return app.exec();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,156 @@
|
||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.10"
|
||||||
|
Name="layer"
|
||||||
|
ProjectGUID="{FAA5B40B-55E5-42D3-8EE2-479CD8E3F477}"
|
||||||
|
Keyword="Win32Proj">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory="Debug"
|
||||||
|
IntermediateDirectory="Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/Zm900"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../include/CGAL/config/msvc7;../../include;$(QTDIR)/include"
|
||||||
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CGAL_USE_QT"
|
||||||
|
MinimalRebuild="TRUE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
RuntimeTypeInfo="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
|
DebugInformationFormat="4"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cgal.lib cgalqt.lib qt-mt.lib qtmain.lib wsock32.lib winmm.lib imm32.lib"
|
||||||
|
OutputFile="$(OutDir)/layer.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile="$(OutDir)/robustness.pdb"
|
||||||
|
SubSystem="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"
|
||||||
|
CommandLine="$(QTDIR)/bin/moc.exe -o layer.moc layer.C"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory="Release"
|
||||||
|
IntermediateDirectory="Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/Zm900"
|
||||||
|
Optimization="2"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
OmitFramePointers="TRUE"
|
||||||
|
AdditionalIncludeDirectories="../../include/CGAL/config/msvc7;../../include;$(QTDIR)/include"
|
||||||
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CGAL_USE_QT"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
RuntimeTypeInfo="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
|
DebugInformationFormat="3"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cgal.lib cgalqt.lib qt-mt.lib qtmain.lib wsock32.lib winmm.lib imm32.lib"
|
||||||
|
OutputFile="$(OutDir)/layer.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
SubSystem="2"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"
|
||||||
|
CommandLine="$(QTDIR)/bin/moc.exe -o layer.moc layer.C"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<References>
|
||||||
|
</References>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
|
||||||
|
<File
|
||||||
|
RelativePath=".\layer.C">
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl;inc">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
||||||
|
|
@ -0,0 +1,96 @@
|
||||||
|
// Copyright (c) 1997-2004 Utrecht University (The Netherlands),
|
||||||
|
// ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
// INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
// (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
// and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
//
|
||||||
|
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
// published by the Free Software Foundation; version 2.1 of the License.
|
||||||
|
// See the file LICENSE.LGPL distributed with CGAL.
|
||||||
|
//
|
||||||
|
// Licensees holding a valid commercial license may use this file in
|
||||||
|
// accordance with the commercial license agreement provided with the software.
|
||||||
|
//
|
||||||
|
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
//
|
||||||
|
// $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/trunk/Qt_widget/demo/Qt_widget/Examples/standard_toolbar.C $
|
||||||
|
// $Id: standard_toolbar.C 29724 2006-03-23 14:11:42Z afabri $
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Author(s) : Laurent Rineau
|
||||||
|
// Radu Ursu <rursu@sophia.inria.fr
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
|
|
||||||
|
#ifndef CGAL_USE_QT
|
||||||
|
#include <iostream>
|
||||||
|
int main(int, char*){
|
||||||
|
std::cout << "Sorry, this demo needs QT..." << std::endl; return 0;}
|
||||||
|
#else
|
||||||
|
#include <CGAL/Cartesian.h>
|
||||||
|
#include <CGAL/Delaunay_triangulation_2.h>
|
||||||
|
#include <CGAL/IO/Qt_widget_Delaunay_triangulation_2.h>
|
||||||
|
|
||||||
|
#include <qapplication.h>
|
||||||
|
#include <qmainwindow.h>
|
||||||
|
|
||||||
|
#include <CGAL/IO/Qt_widget.h>
|
||||||
|
#include <CGAL/IO/Qt_widget_standard_toolbar.h>
|
||||||
|
#include <CGAL/point_generators_2.h>
|
||||||
|
|
||||||
|
typedef CGAL::Cartesian<double> Rep;
|
||||||
|
typedef CGAL::Point_2<Rep> Point_2;
|
||||||
|
typedef CGAL::Delaunay_triangulation_2<Rep> Delaunay;
|
||||||
|
|
||||||
|
Delaunay dt;
|
||||||
|
|
||||||
|
class My_window : public QMainWindow{
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
My_window(int x, int y)
|
||||||
|
{
|
||||||
|
widget = new CGAL::Qt_widget(this);
|
||||||
|
setCentralWidget(widget);
|
||||||
|
resize(x,y);
|
||||||
|
widget->show();
|
||||||
|
widget->set_window(0, x, 0, y);
|
||||||
|
|
||||||
|
CGAL::Random_points_in_disc_2<Point_2> g(500);
|
||||||
|
for(int count=0; count<100; count++) {
|
||||||
|
dt.insert(*g++);
|
||||||
|
}
|
||||||
|
|
||||||
|
//How to attach the standard toolbar
|
||||||
|
std_toolbar = new CGAL::Qt_widget_standard_toolbar(widget, this,
|
||||||
|
"Standard Toolbar");
|
||||||
|
|
||||||
|
connect(widget, SIGNAL(redraw_on_back()),
|
||||||
|
this, SLOT(redraw_win()) );
|
||||||
|
}
|
||||||
|
|
||||||
|
private slots: //functions
|
||||||
|
void redraw_win()
|
||||||
|
{
|
||||||
|
*widget << dt;
|
||||||
|
}
|
||||||
|
|
||||||
|
private: //members
|
||||||
|
CGAL::Qt_widget *widget;
|
||||||
|
CGAL::Qt_widget_standard_toolbar *std_toolbar;
|
||||||
|
};
|
||||||
|
|
||||||
|
// moc_source_file: standard_toolbar.C
|
||||||
|
#include "standard_toolbar.moc"
|
||||||
|
|
||||||
|
int main( int argc, char **argv )
|
||||||
|
{
|
||||||
|
QApplication app( argc, argv );
|
||||||
|
My_window W(600,600);
|
||||||
|
app.setMainWidget( &W );
|
||||||
|
W.show();
|
||||||
|
W.setCaption("Using the Standard Toolbar");
|
||||||
|
return app.exec();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,156 @@
|
||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.10"
|
||||||
|
Name="standard_toolbar"
|
||||||
|
ProjectGUID="{FAA5B40B-55E5-42D3-8EE2-479CD8E3F477}"
|
||||||
|
Keyword="Win32Proj">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory="Debug"
|
||||||
|
IntermediateDirectory="Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/Zm900"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../include/CGAL/config/msvc7;../../include;$(QTDIR)/include"
|
||||||
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CGAL_USE_QT"
|
||||||
|
MinimalRebuild="TRUE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
RuntimeTypeInfo="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
|
DebugInformationFormat="4"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cgal.lib cgalqt.lib qt-mt.lib qtmain.lib wsock32.lib winmm.lib imm32.lib"
|
||||||
|
OutputFile="$(OutDir)/standard_toolbar.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile="$(OutDir)/robustness.pdb"
|
||||||
|
SubSystem="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"
|
||||||
|
CommandLine="$(QTDIR)/bin/moc.exe -o standard_toolbar.moc standard_toolbar.C"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory="Release"
|
||||||
|
IntermediateDirectory="Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/Zm900"
|
||||||
|
Optimization="2"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
OmitFramePointers="TRUE"
|
||||||
|
AdditionalIncludeDirectories="../../include/CGAL/config/msvc7;../../include;$(QTDIR)/include"
|
||||||
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CGAL_USE_QT"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
RuntimeTypeInfo="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
|
DebugInformationFormat="3"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cgal.lib cgalqt.lib qt-mt.lib qtmain.lib wsock32.lib winmm.lib imm32.lib"
|
||||||
|
OutputFile="$(OutDir)/standard_toolbar.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
SubSystem="2"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"
|
||||||
|
CommandLine="$(QTDIR)/bin/moc.exe -o standard_toolbar.moc standard_toolbar.C"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<References>
|
||||||
|
</References>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
|
||||||
|
<File
|
||||||
|
RelativePath=".\standard_toolbar.C">
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl;inc">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
||||||
|
|
@ -0,0 +1,88 @@
|
||||||
|
// Copyright (c) 1997-2004 Utrecht University (The Netherlands),
|
||||||
|
// ETH Zurich (Switzerland), Freie Universitaet Berlin (Germany),
|
||||||
|
// INRIA Sophia-Antipolis (France), Martin-Luther-University Halle-Wittenberg
|
||||||
|
// (Germany), Max-Planck-Institute Saarbruecken (Germany), RISC Linz (Austria),
|
||||||
|
// and Tel-Aviv University (Israel). All rights reserved.
|
||||||
|
//
|
||||||
|
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
|
||||||
|
// modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
// published by the Free Software Foundation; version 2.1 of the License.
|
||||||
|
// See the file LICENSE.LGPL distributed with CGAL.
|
||||||
|
//
|
||||||
|
// Licensees holding a valid commercial license may use this file in
|
||||||
|
// accordance with the commercial license agreement provided with the software.
|
||||||
|
//
|
||||||
|
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
||||||
|
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
//
|
||||||
|
// $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/trunk/Qt_widget/demo/Qt_widget/Examples/tutorial2.C $
|
||||||
|
// $Id: tutorial2.C 29724 2006-03-23 14:11:42Z afabri $
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Author(s) : Mariette Yvinec <Mariette.Yvinec@sophia.inria.fr>
|
||||||
|
|
||||||
|
#include <CGAL/basic.h>
|
||||||
|
|
||||||
|
#ifndef CGAL_USE_QT
|
||||||
|
#include <iostream>
|
||||||
|
int main(int, char*){
|
||||||
|
std::cout << "Sorry, this demo needs QT..." << std::endl; return 0;}
|
||||||
|
#else
|
||||||
|
#include <CGAL/Cartesian.h>
|
||||||
|
#include <CGAL/Delaunay_triangulation_2.h>
|
||||||
|
#include <CGAL/IO/Qt_widget_Triangulation_2.h>
|
||||||
|
#include <CGAL/IO/Qt_widget.h>
|
||||||
|
#include <qapplication.h>
|
||||||
|
#include <qmainwindow.h>
|
||||||
|
|
||||||
|
typedef CGAL::Cartesian<double> K;
|
||||||
|
typedef K::Point_2 Point_2;
|
||||||
|
typedef CGAL::Delaunay_triangulation_2<K> Delaunay;
|
||||||
|
|
||||||
|
Delaunay dt;
|
||||||
|
|
||||||
|
class My_window : public QMainWindow {
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
My_window(int x, int y)
|
||||||
|
{
|
||||||
|
widget = new CGAL::Qt_widget(this);
|
||||||
|
widget->resize(x,y);
|
||||||
|
widget->set_window(0, x, 0, y);
|
||||||
|
|
||||||
|
connect(widget, SIGNAL(redraw_on_back()),
|
||||||
|
this, SLOT(redraw_win()));
|
||||||
|
|
||||||
|
connect(widget, SIGNAL(s_mousePressEvent(QMouseEvent*)),
|
||||||
|
this, SLOT(mousePressEvent(QMouseEvent*)));
|
||||||
|
|
||||||
|
setCentralWidget(widget);
|
||||||
|
};
|
||||||
|
private slots:
|
||||||
|
void redraw_win()
|
||||||
|
{
|
||||||
|
*widget << dt;
|
||||||
|
}
|
||||||
|
|
||||||
|
void mousePressEvent(QMouseEvent *e)
|
||||||
|
{
|
||||||
|
dt.insert(Point_2(widget->x_real(e->x()), widget->y_real(e->y())));
|
||||||
|
widget->redraw();
|
||||||
|
}
|
||||||
|
|
||||||
|
private: // private data member
|
||||||
|
CGAL::Qt_widget* widget;
|
||||||
|
};
|
||||||
|
|
||||||
|
//moc_source_file : tutorial2.C
|
||||||
|
#include "tutorial2.moc"
|
||||||
|
|
||||||
|
int main( int argc, char **argv )
|
||||||
|
{
|
||||||
|
QApplication app( argc, argv );
|
||||||
|
My_window *w = new My_window(400,400);
|
||||||
|
app.setMainWidget( w);
|
||||||
|
w->show();
|
||||||
|
return app.exec();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,156 @@
|
||||||
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
|
<VisualStudioProject
|
||||||
|
ProjectType="Visual C++"
|
||||||
|
Version="7.10"
|
||||||
|
Name="tutorial2"
|
||||||
|
ProjectGUID="{FAA5B40B-55E5-42D3-8EE2-479CD8E3F477}"
|
||||||
|
Keyword="Win32Proj">
|
||||||
|
<Platforms>
|
||||||
|
<Platform
|
||||||
|
Name="Win32"/>
|
||||||
|
</Platforms>
|
||||||
|
<Configurations>
|
||||||
|
<Configuration
|
||||||
|
Name="Debug|Win32"
|
||||||
|
OutputDirectory="Debug"
|
||||||
|
IntermediateDirectory="Debug"
|
||||||
|
ConfigurationType="1"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/Zm900"
|
||||||
|
Optimization="0"
|
||||||
|
AdditionalIncludeDirectories="../../include/CGAL/config/msvc7;../../include;$(QTDIR)/include"
|
||||||
|
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;CGAL_USE_QT"
|
||||||
|
MinimalRebuild="TRUE"
|
||||||
|
BasicRuntimeChecks="3"
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
RuntimeTypeInfo="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
|
DebugInformationFormat="4"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cgal.lib cgalqt.lib qt-mt.lib qtmain.lib wsock32.lib winmm.lib imm32.lib"
|
||||||
|
OutputFile="$(OutDir)/tutorial2.exe"
|
||||||
|
LinkIncremental="2"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
ProgramDatabaseFile="$(OutDir)/robustness.pdb"
|
||||||
|
SubSystem="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"
|
||||||
|
CommandLine="$(QTDIR)/bin/moc.exe -o tutorial2.moc tutorial2.C"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration
|
||||||
|
Name="Release|Win32"
|
||||||
|
OutputDirectory="Release"
|
||||||
|
IntermediateDirectory="Release"
|
||||||
|
ConfigurationType="1"
|
||||||
|
CharacterSet="2">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/Zm900"
|
||||||
|
Optimization="2"
|
||||||
|
InlineFunctionExpansion="1"
|
||||||
|
OmitFramePointers="TRUE"
|
||||||
|
AdditionalIncludeDirectories="../../include/CGAL/config/msvc7;../../include;$(QTDIR)/include"
|
||||||
|
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;CGAL_USE_QT"
|
||||||
|
StringPooling="TRUE"
|
||||||
|
RuntimeLibrary="2"
|
||||||
|
EnableFunctionLevelLinking="TRUE"
|
||||||
|
RuntimeTypeInfo="TRUE"
|
||||||
|
UsePrecompiledHeader="0"
|
||||||
|
WarningLevel="3"
|
||||||
|
Detect64BitPortabilityProblems="FALSE"
|
||||||
|
DebugInformationFormat="3"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCCustomBuildTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCLinkerTool"
|
||||||
|
AdditionalDependencies="cgal.lib cgalqt.lib qt-mt.lib qtmain.lib wsock32.lib winmm.lib imm32.lib"
|
||||||
|
OutputFile="$(OutDir)/tutorial2.exe"
|
||||||
|
LinkIncremental="1"
|
||||||
|
GenerateDebugInformation="TRUE"
|
||||||
|
SubSystem="2"
|
||||||
|
OptimizeReferences="2"
|
||||||
|
EnableCOMDATFolding="2"
|
||||||
|
TargetMachine="1"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCMIDLTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPostBuildEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreBuildEventTool"
|
||||||
|
CommandLine="$(QTDIR)/bin/moc.exe -o tutorial2.moc tutorial2.C"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCPreLinkEventTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCResourceCompilerTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebServiceProxyGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCXMLDataGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCWebDeploymentTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCManagedWrapperGeneratorTool"/>
|
||||||
|
<Tool
|
||||||
|
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||||
|
</Configuration>
|
||||||
|
</Configurations>
|
||||||
|
<References>
|
||||||
|
</References>
|
||||||
|
<Files>
|
||||||
|
<Filter
|
||||||
|
Name="Source Files"
|
||||||
|
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
|
||||||
|
<File
|
||||||
|
RelativePath=".\tutorial2.C">
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Debug|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"/>
|
||||||
|
</FileConfiguration>
|
||||||
|
<FileConfiguration
|
||||||
|
Name="Release|Win32">
|
||||||
|
<Tool
|
||||||
|
Name="VCCLCompilerTool"
|
||||||
|
CompileAs="2"/>
|
||||||
|
</FileConfiguration>
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Header Files"
|
||||||
|
Filter="h;hpp;hxx;hm;inl;inc">
|
||||||
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="Resource Files"
|
||||||
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
|
||||||
|
</Filter>
|
||||||
|
</Files>
|
||||||
|
<Globals>
|
||||||
|
</Globals>
|
||||||
|
</VisualStudioProject>
|
||||||
Loading…
Reference in New Issue