mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
ParaView-5.0.1: Added the source-tree to ThirdParty-dev and patched as described in the README file
Resolves bug-report http://bugs.openfoam.org/view.php?id=2098
This commit is contained in:
39
ParaView-5.0.1/VTK/Examples/GUI/Qt/Events/main.cxx
Normal file
39
ParaView-5.0.1/VTK/Examples/GUI/Qt/Events/main.cxx
Normal file
@ -0,0 +1,39 @@
|
||||
/*=========================================================================
|
||||
|
||||
Copyright 2004 Sandia Corporation.
|
||||
Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
|
||||
license for use of this work by or on behalf of the
|
||||
U.S. Government. Redistribution and use in source and binary forms, with
|
||||
or without modification, are permitted provided that this Notice and any
|
||||
statement of authorship are reproduced on all copies.
|
||||
|
||||
=========================================================================*/
|
||||
|
||||
/*========================================================================
|
||||
For general information about using VTK and Qt, see:
|
||||
http://www.trolltech.com/products/3rdparty/vtksupport.html
|
||||
=========================================================================*/
|
||||
|
||||
/*========================================================================
|
||||
!!! WARNING for those who want to contribute code to this file.
|
||||
!!! If you use a commercial edition of Qt, you can modify this code.
|
||||
!!! If you use an open source version of Qt, you are free to modify
|
||||
!!! and use this code within the guidelines of the GPL license.
|
||||
!!! Unfortunately, you cannot contribute the changes back into this
|
||||
!!! file. Doing so creates a conflict between the GPL and BSD-like VTK
|
||||
!!! license.
|
||||
=========================================================================*/
|
||||
|
||||
#include "QVTKApplication.h"
|
||||
|
||||
#include "GUI4.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
QVTKApplication app(argc, argv);
|
||||
GUI4 widget;
|
||||
|
||||
widget.show();
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
Reference in New Issue
Block a user