📄 msgscreen.h
字号:
/* Demo program for iksemel external sockets.** Copyright (C) 2004-2005 Darrell Karbott (djk2005@users.sf.net)** This code is free software; you can redistribute it and/or** modify it under the terms of the GNU Public Licence (GPL) version 2** See http://www.gnu.org/ for further details of the GPL.*/#ifndef __msgscreen_h__#define __msgscreen_h__#include <qwidget.h>#include <qlineedit.h>#include <qtextedit.h>class MsgScreen : public QWidget { Q_OBJECT; public: MsgScreen(QWidget* parent = 0); void display(const char*); void setToJid(const char*); signals: void sendMsg(const QString& to, const QString& msg); void connect_(); void disconnect(); private slots: void onSend(); void onConnect(); void onDisconnect();private: QLineEdit* txtToJid_; QLineEdit* txtMsg_; QTextEdit* txtDisplay_;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -