#include <WdgPointPos.h>
Inheritance diagram for PSQt::WdgPointPos:
Public Slots | |
void | onEdi () |
void | testPosIsChanged (const QPointF &pos) |
void | setPointPos (const QPointF &pos) |
Signals | |
void | posIsChanged (const QPointF &) |
Public Member Functions | |
WdgPointPos (QWidget *parent=0, const std::string &label1=std::string("X:"), const std::string &label2=std::string("Y:"), const float &val1=0, const float &val2=0, const bool &show_boarder=true, const unsigned &fld_width=100, const unsigned &precision=2) | |
~WdgPointPos () | |
void | resizeEvent (QResizeEvent *event=0) |
void | closeEvent (QCloseEvent *event=0) |
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 27 of file WdgPointPos.h.
PSQt::WdgPointPos::WdgPointPos | ( | QWidget * | parent = 0 , |
|
const std::string & | label1 = std::string("X:") , |
|||
const std::string & | label2 = std::string("Y:") , |
|||
const float & | val1 = 0 , |
|||
const float & | val2 = 0 , |
|||
const bool & | show_boarder = true , |
|||
const unsigned & | fld_width = 100 , |
|||
const unsigned & | precision = 2 | |||
) |
Definition at line 21 of file WdgPointPos.cpp.
References onEdi(), posIsChanged(), PSQt::Frame::setBoarderVisible(), setPointPos(), and testPosIsChanged().
PSQt::WdgPointPos::~WdgPointPos | ( | ) | [inline] |
Definition at line 41 of file WdgPointPos.h.
void PSQt::WdgPointPos::closeEvent | ( | QCloseEvent * | event = 0 |
) |
void PSQt::WdgPointPos::onEdi | ( | ) | [slot] |
Definition at line 123 of file WdgPointPos.cpp.
References posIsChanged().
Referenced by WdgPointPos().
void PSQt::WdgPointPos::posIsChanged | ( | const QPointF & | ) | [signal] |
Referenced by onEdi(), and WdgPointPos().
void PSQt::WdgPointPos::resizeEvent | ( | QResizeEvent * | event = 0 |
) |
Definition at line 84 of file WdgPointPos.cpp.
void PSQt::WdgPointPos::setPointPos | ( | const QPointF & | pos | ) | [slot] |
void PSQt::WdgPointPos::testPosIsChanged | ( | const QPointF & | pos | ) | [slot] |
Definition at line 138 of file WdgPointPos.cpp.
References PSQt::INFO, and MsgInLog.
Referenced by WdgPointPos().