eye.h
来自「在linux环境下使用QT编的小程序」· C头文件 代码 · 共 47 行
H
47 行
/****************************************************************************** Eye interface generated from reading ui file 'form.ui'**** Created: Tue Feb 26 14:37:01 2008** by: The User Interface Compiler ($Id: qt/main.cpp 3.1.1 edited Nov 21 17:40 $)**** WARNING! All changes made in this file will be lost!****************************************************************************/#ifndef EYE_H#define EYE_H#include "form.h"#include <qvariant.h>#include <qwidget.h>class QVBoxLayout;class QHBoxLayout;class QGridLayout;class Eye : public Form{ Q_OBJECTpublic: Eye( Form* parent = 0, const char* name = 0, WFlags fl = 0 ); ~Eye();private: void paintEvent(QPaintEvent* ); void positionLeft(); void positionRight(); QPainter *painter; QPoint mousepoint; double pxleft; double pyleft; double pxright; double pyright; protected: void mouseMoveEvent( QMouseEvent * );};#endif // EYE_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?