GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <QWebCanvas.h>
Public Slots | |
void | activateEditor (TPad *pad=nullptr, TObject *obj=nullptr) |
void | activateStatusLine () |
void | setStatusBarVisible (bool flag=true) |
void | setEditorVisible (bool flag=true) |
Signals | |
void | CanvasDropEvent (QDropEvent *, TPad *) |
void | CanvasUpdated () |
void | SelectedPadChanged (TPad *) |
void | PadClicked (TPad *, int, int) |
void | PadDblClicked (TPad *, int, int) |
Public Member Functions | |
QWebCanvas (QWidget *parent=nullptr) | |
virtual | ~QWebCanvas () |
TCanvas * | getCanvas () |
returns canvas shown in the widget More... | |
bool | isStatusBarVisible () |
bool | isEditorVisible () |
void | Modified () |
void | Update () |
Protected Slots | |
void | dropView (QDropEvent *event) |
void | processRepaintTimer () |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *event) override |
void | dropEvent (QDropEvent *event) override |
double | scaledPosition (int p) |
void | SetPrivateCanvasFields (bool on_init) |
void | ProcessCanvasUpdated () |
void | ProcessActivePadChanged (TPad *pad) |
void | ProcessPadClicked (TPad *pad, int x, int y) |
void | ProcessPadDblClicked (TPad *pad, int x, int y) |
Protected Attributes | |
QWebEngineView * | fView {nullptr} |
qt webwidget to show More... | |
TCanvas * | fCanvas {nullptr} |
QTimer * | fRepaintTimer {nullptr} |
double | fQtScalingfactor {0} |
Definition at line 25 of file QWebCanvas.h.
QWebCanvas::QWebCanvas | ( | QWidget * | parent = nullptr | ) |
Definition at line 35 of file QWebCanvas.cpp.
References go4init::args, dropView(), fCanvas, fQtScalingfactor, fRepaintTimer, fView, ProcessActivePadChanged(), ProcessCanvasUpdated(), ProcessPadClicked(), ProcessPadDblClicked(), processRepaintTimer(), SetPrivateCanvasFields(), and TGo4Log::subGO4SYS().
|
virtual |
Definition at line 142 of file QWebCanvas.cpp.
References fCanvas, and SetPrivateCanvasFields().
|
slot |
Definition at line 223 of file QWebCanvas.cpp.
References fCanvas.
Referenced by TGo4ViewPanel::ActivateInGedEditor(), and getCanvas().
|
slot |
|
signal |
Referenced by dropEvent(), dropView(), getCanvas(), StartUserPanel(), and TGo4ViewPanel::TGo4ViewPanel().
|
signal |
Referenced by getCanvas(), ProcessCanvasUpdated(), and TGo4ViewPanel::TGo4ViewPanel().
|
overrideprotected |
Definition at line 191 of file QWebCanvas.cpp.
References CanvasDropEvent(), fCanvas, and scaledPosition().
Referenced by getCanvas().
|
protectedslot |
Definition at line 208 of file QWebCanvas.cpp.
References CanvasDropEvent(), fCanvas, and scaledPosition().
Referenced by getCanvas(), and QWebCanvas().
|
inline |
returns canvas shown in the widget
Definition at line 34 of file QWebCanvas.h.
References activateEditor(), activateStatusLine(), CanvasDropEvent(), CanvasUpdated(), dropEvent(), dropView(), fCanvas, isEditorVisible(), isStatusBarVisible(), Modified(), PadClicked(), PadDblClicked(), processRepaintTimer(), resizeEvent(), SelectedPadChanged(), setEditorVisible(), setStatusBarVisible(), and Update().
Referenced by TGo4ViewPanel::GetCanvas(), and TGo4ViewPanel::TGo4ViewPanel().
bool QWebCanvas::isEditorVisible | ( | ) |
Definition at line 237 of file QWebCanvas.cpp.
References fCanvas.
Referenced by getCanvas(), and TGo4ViewPanel::StartRootEditor().
bool QWebCanvas::isStatusBarVisible | ( | ) |
Definition at line 232 of file QWebCanvas.cpp.
References fCanvas.
Referenced by getCanvas(), and TGo4ViewPanel::ShowEventStatus().
void QWebCanvas::Modified | ( | ) |
Definition at line 265 of file QWebCanvas.cpp.
References fCanvas.
Referenced by TGo4ViewPanel::CanvasUpdate(), and getCanvas().
|
signal |
Referenced by getCanvas(), ProcessPadClicked(), and TGo4ViewPanel::TGo4ViewPanel().
|
signal |
Referenced by getCanvas(), ProcessPadDblClicked(), and TGo4ViewPanel::TGo4ViewPanel().
|
inlineprotected |
Definition at line 81 of file QWebCanvas.h.
References SelectedPadChanged().
Referenced by QWebCanvas().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protectedslot |
Definition at line 260 of file QWebCanvas.cpp.
References fCanvas.
Referenced by getCanvas(), and QWebCanvas().
|
overrideprotected |
Definition at line 184 of file QWebCanvas.cpp.
References fCanvas, and fView.
Referenced by getCanvas().
|
inlineprotected |
Definition at line 75 of file QWebCanvas.h.
References fQtScalingfactor, and SetPrivateCanvasFields().
Referenced by dropEvent(), and dropView().
|
signal |
Referenced by getCanvas(), ProcessActivePadChanged(), and TGo4ViewPanel::TGo4ViewPanel().
|
slot |
Definition at line 248 of file QWebCanvas.cpp.
References fCanvas.
Referenced by getCanvas(), and TGo4ViewPanel::StartRootEditor().
|
protected |
Definition at line 155 of file QWebCanvas.cpp.
References fCanvas.
Referenced by QWebCanvas(), scaledPosition(), and ~QWebCanvas().
|
slot |
Definition at line 242 of file QWebCanvas.cpp.
References fCanvas.
Referenced by getCanvas(), TGo4ViewPanel::ShowEventStatus(), and TGo4ViewPanel::TGo4ViewPanel().
void QWebCanvas::Update | ( | ) |
Definition at line 270 of file QWebCanvas.cpp.
References fRepaintTimer.
Referenced by TGo4ViewPanel::CanvasUpdate(), and getCanvas().
|
protected |
Definition at line 89 of file QWebCanvas.h.
Referenced by activateEditor(), activateStatusLine(), dropEvent(), dropView(), getCanvas(), isEditorVisible(), isStatusBarVisible(), Modified(), processRepaintTimer(), QWebCanvas(), resizeEvent(), setEditorVisible(), SetPrivateCanvasFields(), setStatusBarVisible(), and ~QWebCanvas().
|
protected |
Definition at line 93 of file QWebCanvas.h.
Referenced by QWebCanvas(), and scaledPosition().
|
protected |
Definition at line 91 of file QWebCanvas.h.
Referenced by QWebCanvas(), and Update().
|
protected |
qt webwidget to show
Definition at line 87 of file QWebCanvas.h.
Referenced by QWebCanvas(), and resizeEvent().