PSQt::WdgPointPos3D Class Reference
[PSQt package]

Widget to display 3 values for 3-d point (x,y,z/intensity). More...

#include <WdgPointPos3D.h>

Inheritance diagram for PSQt::WdgPointPos3D:

PSQt::Frame List of all members.

Public Slots

void onEdi ()
void testPosIsChanged (const float &val1, const float &val2, const float &val3)
void setPointPos (const float &val1, const float &val2, const float &val3)

Signals

void posIsChanged (const float &, const float &, const float &)

Public Member Functions

 WdgPointPos3D (QWidget *parent=0, const std::string &label1=std::string("X:"), const std::string &label2=std::string("Y:"), const std::string &label3=std::string("Z:"), const float &val1=0, const float &val2=0, const float &val3=0, const bool &show_boarder=true, const unsigned &fld_width=80, const unsigned &prec1=0, const unsigned &prec2=0, const unsigned &prec3=0)
 ~WdgPointPos3D ()
void resizeEvent (QResizeEvent *event=0)
void closeEvent (QCloseEvent *event=0)

Detailed Description

Widget to display 3 values for 3-d point (x,y,z/intensity).

This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.

See also:
GUIImageViewer
Version:
Id
WdgPointPos3D.h 11033 2015-11-26 01:38:24Z dubrovin@SLAC.STANFORD.EDU
Author:
Mikhail Dubrovin

Definition at line 27 of file WdgPointPos3D.h.


Constructor & Destructor Documentation

PSQt::WdgPointPos3D::WdgPointPos3D ( QWidget *  parent = 0,
const std::string &  label1 = std::string("X:"),
const std::string &  label2 = std::string("Y:"),
const std::string &  label3 = std::string("Z:"),
const float &  val1 = 0,
const float &  val2 = 0,
const float &  val3 = 0,
const bool &  show_boarder = true,
const unsigned &  fld_width = 80,
const unsigned &  prec1 = 0,
const unsigned &  prec2 = 0,
const unsigned &  prec3 = 0 
)

Definition at line 21 of file WdgPointPos3D.cpp.

References onEdi(), posIsChanged(), PSQt::Frame::setBoarderVisible(), setPointPos(), and testPosIsChanged().

PSQt::WdgPointPos3D::~WdgPointPos3D (  )  [inline]

Definition at line 45 of file WdgPointPos3D.h.


Member Function Documentation

void PSQt::WdgPointPos3D::closeEvent ( QCloseEvent *  event = 0  ) 

Definition at line 107 of file WdgPointPos3D.cpp.

References PSQt::INFO, and MsgInLog.

void PSQt::WdgPointPos3D::onEdi (  )  [slot]

Definition at line 140 of file WdgPointPos3D.cpp.

References posIsChanged().

Referenced by WdgPointPos3D().

void PSQt::WdgPointPos3D::posIsChanged ( const float &  ,
const float &  ,
const float &   
) [signal]

Referenced by onEdi(), and WdgPointPos3D().

void PSQt::WdgPointPos3D::resizeEvent ( QResizeEvent *  event = 0  ) 

Definition at line 99 of file WdgPointPos3D.cpp.

void PSQt::WdgPointPos3D::setPointPos ( const float &  val1,
const float &  val2,
const float &  val3 
) [slot]

Definition at line 120 of file WdgPointPos3D.cpp.

Referenced by WdgPointPos3D().

void PSQt::WdgPointPos3D::testPosIsChanged ( const float &  val1,
const float &  val2,
const float &  val3 
) [slot]

Definition at line 156 of file WdgPointPos3D.cpp.

References PSQt::INFO, and MsgInLog.

Referenced by WdgPointPos3D().


The documentation for this class was generated from the following files:
Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7