PSQt::WdgFile Class Reference
[PSQt package]

Widget for file name input. More...

#include <WdgFile.h>

List of all members.

Public Slots

void onButFile ()
void onEdiFile ()
void testSignalString (const std::string &fname)

Signals

void fileNameIsChanged (const std::string &fname)
void valueChanged (int value)

Public Member Functions

 WdgFile (QWidget *parent=0, const std::string &but_title=std::string("File:"), const std::string &path=std::string(), const std::string &search_fmt=std::string("*.data *.png *.gif *.jpg *.jpeg\n *"), const bool &show_frame=true, const unsigned &but_width=100)
void resizeEvent (QResizeEvent *event=0)
void closeEvent (QCloseEvent *event=0)
std::string & fileName ()


Detailed Description

Widget for file name input.

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

See also:
GUIMain, GUIImageViewer
Version:
Id
WdgFile.h 9841 2015-03-26 18:35:44Z dubrovin@SLAC.STANFORD.EDU
Author:
Mikhail Dubrovin

Definition at line 37 of file WdgFile.h.


Constructor & Destructor Documentation

PSQt::WdgFile::WdgFile ( QWidget *  parent = 0,
const std::string &  but_title = std::string("File:"),
const std::string &  path = std::string(),
const std::string &  search_fmt = std::string("*.data *.png *.gif *.jpg *.jpeg\n *"),
const bool &  show_frame = true,
const unsigned &  but_width = 100 
)

Definition at line 21 of file WdgFile.cpp.

References onButFile(), and onEdiFile().


Member Function Documentation

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

Definition at line 103 of file WdgFile.cpp.

References PSQt::INFO, and MsgInLog.

std::string& PSQt::WdgFile::fileName (  )  [inline]

Definition at line 52 of file WdgFile.h.

Referenced by PSQt::GUIImageViewer::GUIImageViewer().

void PSQt::WdgFile::fileNameIsChanged ( const std::string &  fname  )  [signal]

void PSQt::WdgFile::onButFile (  )  [slot]

Definition at line 128 of file WdgFile.cpp.

References PSQt::DEBUG, PSQt::INFO, and MsgInLog.

Referenced by WdgFile().

void PSQt::WdgFile::onEdiFile (  )  [slot]

Definition at line 116 of file WdgFile.cpp.

References PSQt::DEBUG, PSQt::INFO, and MsgInLog.

Referenced by WdgFile().

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

Definition at line 92 of file WdgFile.cpp.

void PSQt::WdgFile::testSignalString ( const std::string &  fname  )  [slot]

Definition at line 203 of file WdgFile.cpp.

References PSQt::DEBUG, and MsgInLog.

void PSQt::WdgFile::valueChanged ( int  value  )  [signal]


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