AGX Dynamics
2.38.0.2
Loading...
Searching...
No Matches
ProcessWidget.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2024. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#ifndef AGXQT_QPROCESS_WIDGET_H
18
#define AGXQT_QPROCESS_WIDGET_H
19
20
#include <
agx/Referenced.h
>
21
22
#include <
agx/PushDisableWarnings.h
>
// Disabling warnings. Include agx/PopDisableWarnings.h below!
23
#include <osgViewer/ViewerEventHandlers>
24
#include <osgViewer/Renderer>
25
#include <QWidget>
26
#include <QProcess>
27
#include <agxQt/ui_ProcessOutputWidget.h>
28
#include <
agxQt/export.h
>
29
#include <
agx/PopDisableWarnings.h
>
// End of disabled warnings.
30
31
namespace
agxQt
32
{
33
class
AGXQT_EXPORT
ProcessOutputWidget
:
public
QWidget
34
{
35
Q_OBJECT
36
37
public
:
38
explicit
ProcessOutputWidget
(QWidget *parent = 0);
39
virtual
~ProcessOutputWidget
();
40
41
void
connectProcess
(QProcess *p);
42
void
appendTextToOutputConsole
(QString text);
43
44
public
slots:
45
void
updateOutput
();
46
void
updateError
();
47
48
private
slots:
49
void
slotCloseButtonPressed();
50
void
processFinished(
int
exitCode, QProcess::ExitStatus exitStatus);
51
53
// Variables
55
private
:
56
Ui::QProcessWidget* m_ui;
57
QProcess * m_process;
58
};
59
}
60
61
62
63
#endif
PopDisableWarnings.h
PushDisableWarnings.h
Referenced.h
export.h
AGXQT_EXPORT
#define AGXQT_EXPORT
agxQt::ProcessOutputWidget
Definition
ProcessWidget.h:34
agxQt::ProcessOutputWidget::ProcessOutputWidget
ProcessOutputWidget(QWidget *parent=0)
agxQt::ProcessOutputWidget::updateError
void updateError()
agxQt::ProcessOutputWidget::~ProcessOutputWidget
virtual ~ProcessOutputWidget()
agxQt::ProcessOutputWidget::connectProcess
void connectProcess(QProcess *p)
agxQt::ProcessOutputWidget::updateOutput
void updateOutput()
agxQt::ProcessOutputWidget::appendTextToOutputConsole
void appendTextToOutputConsole(QString text)
agxQt
Contains classes/utility functions for connecting AGX to QT with OSG.
Definition
AnalysisBoundWidget.h:31
include
agxQt
ProcessWidget.h
Generated on Sun Sep 1 2024 11:24:47 for AGX Dynamics by
1.9.8