GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
QWebCanvas Class Reference

#include <QWebCanvas.h>

+ Inheritance diagram for QWebCanvas:

Public Slots

void activateEditor (TPad *pad=0, TObject *obj=0)
 
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=0)
 
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

virtual void resizeEvent (QResizeEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
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
 qt webwidget to show More...
 
TCanvas * fCanvas
 
QTimer * fRepaintTimer
 
double fQtScalingfactor
 

Detailed Description

Definition at line 25 of file QWebCanvas.h.

Constructor & Destructor Documentation

QWebCanvas::QWebCanvas ( QWidget *  parent = 0)
QWebCanvas::~QWebCanvas ( )
virtual

Definition at line 164 of file QWebCanvas.cpp.

References fCanvas, and SetPrivateCanvasFields().

Member Function Documentation

void QWebCanvas::activateEditor ( TPad *  pad = 0,
TObject *  obj = 0 
)
slot

Definition at line 245 of file QWebCanvas.cpp.

References fCanvas.

Referenced by TGo4ViewPanel::ActivateInGedEditor().

void QWebCanvas::activateStatusLine ( )
slot

Definition at line 276 of file QWebCanvas.cpp.

References fCanvas.

void QWebCanvas::CanvasDropEvent ( QDropEvent *  ,
TPad *   
)
signal

Referenced by dropEvent(), and dropView().

void QWebCanvas::CanvasUpdated ( )
signal

Referenced by ProcessCanvasUpdated().

void QWebCanvas::dropEvent ( QDropEvent *  event)
protectedvirtual

Definition at line 213 of file QWebCanvas.cpp.

References CanvasDropEvent(), fCanvas, and scaledPosition().

void QWebCanvas::dropView ( QDropEvent *  event)
protectedslot

Definition at line 230 of file QWebCanvas.cpp.

References CanvasDropEvent(), fCanvas, and scaledPosition().

Referenced by QWebCanvas().

TCanvas* QWebCanvas::getCanvas ( )
inline

returns canvas shown in the widget

Definition at line 34 of file QWebCanvas.h.

References fCanvas.

Referenced by TGo4ViewPanel::GetCanvas(), and TGo4ViewPanel::TGo4ViewPanel().

bool QWebCanvas::isEditorVisible ( )

Definition at line 259 of file QWebCanvas.cpp.

References fCanvas.

Referenced by TGo4ViewPanel::StartRootEditor().

bool QWebCanvas::isStatusBarVisible ( )

Definition at line 254 of file QWebCanvas.cpp.

References fCanvas.

Referenced by TGo4ViewPanel::ShowEventStatus().

void QWebCanvas::Modified ( )

Definition at line 287 of file QWebCanvas.cpp.

References fCanvas.

Referenced by TGo4ViewPanel::CanvasUpdate().

void QWebCanvas::PadClicked ( TPad *  ,
int  ,
int   
)
signal

Referenced by ProcessPadClicked().

void QWebCanvas::PadDblClicked ( TPad *  ,
int  ,
int   
)
signal

Referenced by ProcessPadDblClicked().

void QWebCanvas::ProcessActivePadChanged ( TPad *  pad)
inlineprotected

Definition at line 84 of file QWebCanvas.h.

References SelectedPadChanged().

Referenced by QWebCanvas().

void QWebCanvas::ProcessCanvasUpdated ( )
inlineprotected

Definition at line 82 of file QWebCanvas.h.

References CanvasUpdated().

Referenced by QWebCanvas().

void QWebCanvas::ProcessPadClicked ( TPad *  pad,
int  x,
int  y 
)
inlineprotected

Definition at line 86 of file QWebCanvas.h.

References PadClicked().

Referenced by QWebCanvas().

void QWebCanvas::ProcessPadDblClicked ( TPad *  pad,
int  x,
int  y 
)
inlineprotected

Definition at line 88 of file QWebCanvas.h.

References PadDblClicked().

Referenced by QWebCanvas().

void QWebCanvas::processRepaintTimer ( )
protectedslot

Definition at line 282 of file QWebCanvas.cpp.

References fCanvas.

Referenced by QWebCanvas().

void QWebCanvas::resizeEvent ( QResizeEvent *  event)
protectedvirtual

Definition at line 206 of file QWebCanvas.cpp.

References fCanvas, and fView.

double QWebCanvas::scaledPosition ( int  p)
inlineprotected

Definition at line 75 of file QWebCanvas.h.

References fQtScalingfactor.

Referenced by dropEvent(), and dropView().

void QWebCanvas::SelectedPadChanged ( TPad *  )
signal

Referenced by ProcessActivePadChanged().

void QWebCanvas::setEditorVisible ( bool  flag = true)
slot

Definition at line 270 of file QWebCanvas.cpp.

References fCanvas.

Referenced by TGo4ViewPanel::StartRootEditor().

void QWebCanvas::SetPrivateCanvasFields ( bool  on_init)
protected

Definition at line 177 of file QWebCanvas.cpp.

References fCanvas.

Referenced by QWebCanvas(), and ~QWebCanvas().

void QWebCanvas::setStatusBarVisible ( bool  flag = true)
slot

Definition at line 264 of file QWebCanvas.cpp.

References fCanvas.

Referenced by TGo4ViewPanel::ShowEventStatus(), and TGo4ViewPanel::TGo4ViewPanel().

void QWebCanvas::Update ( )

Definition at line 292 of file QWebCanvas.cpp.

References fRepaintTimer.

Referenced by TGo4ViewPanel::CanvasUpdate().

Member Data Documentation

TCanvas* QWebCanvas::fCanvas
protected
double QWebCanvas::fQtScalingfactor
protected

Definition at line 96 of file QWebCanvas.h.

Referenced by QWebCanvas(), and scaledPosition().

QTimer* QWebCanvas::fRepaintTimer
protected

Definition at line 94 of file QWebCanvas.h.

Referenced by QWebCanvas(), and Update().

QWebEngineView* QWebCanvas::fView
protected

qt webwidget to show

Definition at line 90 of file QWebCanvas.h.

Referenced by QWebCanvas(), and resizeEvent().


The documentation for this class was generated from the following files: