00001 #ifndef FRAME_H 00002 #define FRAME_H 00003 00004 #include <QtGui> 00005 //#include <QtCore> 00006 //#include <Qt> 00007 00008 #include "PSQt/WdgImage.h" 00009 #include "PSQt/WdgFile.h" 00010 00011 namespace PSQt { 00012 00013 //-------------------------- 00014 00015 /** 00016 * @ingroup PSQt 00017 * 00018 * @brief Inherits from QFrame and sets its basic parameters. Is used to display widget frame. 00019 * 00020 * @code 00021 * @endcode 00022 * 00023 * This software was developed for the LCLS project. If you use all or 00024 * part of it, please give an appropriate acknowledgment. 00025 * 00026 * @see 00027 * 00028 * @version $Id: Frame.h 9841 2015-03-26 18:35:44Z dubrovin@SLAC.STANFORD.EDU $ 00029 * 00030 * @author Mikhail Dubrovin 00031 */ 00032 00033 //-------------------------- 00034 00035 class Frame : public QFrame 00036 { 00037 Q_OBJECT // macro is needed for connection of signals and slots 00038 00039 public: 00040 Frame( QWidget *parent = 0, Qt::WindowFlags f = 0 ); 00041 00042 void setFrame() ; 00043 void showTips() ; 00044 void setBoarderVisible(const bool isVisible) ; 00045 00046 //void resizeEvent (QResizeEvent *event = 0) ; 00047 //void closeEvent (QCloseEvent *event = 0) ; 00048 //void moveEvent (QMoveEvent *event = 0) ; 00049 //void mousePressEvent (QMouseEvent *event = 0) ; 00050 00051 private: 00052 00053 }; 00054 00055 } // namespace PSQt 00056 00057 #endif // FRAME_H