VTK  9.1.0
vtkQtInitialization.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkQtInitialization.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
32#ifndef vtkQtInitialization_h
33#define vtkQtInitialization_h
34
35#include "vtkObject.h"
36#include "vtkRenderingQtModule.h" // For export macro
37
38class QApplication;
39
40class VTKRENDERINGQT_EXPORT vtkQtInitialization : public vtkObject
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47protected:
50
51private:
53 void operator=(const vtkQtInitialization&) = delete;
54
55 QApplication* Application;
56};
57
58#endif // vtkQtInitialization_h
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract base class for most VTK objects
Definition: vtkObject.h:73
Initializes a Qt application.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkQtInitialization() override
static vtkQtInitialization * New()