⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qlineedit.h

📁 PIXIL is a small footprint operating environment, complete with PDA PIM applications, a browser and
💻 H
字号:
#ifndef __QLINEEDIT_H#define __QLINEEDIT_H#include "qwidget.h"#include "qstring.h"#include <Fl_Input.H>class QLineEdit : public QWidget{  Q_OBJECT protected:  Fl_Input * m_pInput; public:  enum        EchoMode { Normal, NoEcho, Password };    QLineEdit(QWidget * parent, const char * name=0);  ~QLineEdit() { }  QString text() const { return m_pInput->value(); }  void _callback();  void setText(const QString & text) { m_pInput->value(text); }  void setMaxLength(int len) { m_pInput->maximum_size(len); }  int maxLength() const { return m_pInput->maximum_size(); }  virtual void setEchoMode(bool echo) { if(echo) m_pInput->type(FL_SECRET_INPUT); }  signals:    void textChanged( const char *);  void returnPressed( );};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -