📄 fxaccounttab.h
字号:
/*************************************************************************** * Copyright (C) 2008 by DDD * * dedodong@163.com * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/#ifndef FX_ACCOUNTTAB_H#define FX_ACCOUNTTAB_H#include <QDialog>#include <QTabWidget>#include "appconfig.h"#include "ui_msgsend.h"#include "fxmytabwidget.h"#define SYSTEM_ID 10000class FxMainWindow;#if 0class MsgSend : public QWidget, public Ui::MsgSend{ Q_OBJECTpublic: MsgSend(QWidget *parent = 0); ~MsgSend();};#endifclass AccountTab : public QWidget, public Ui::MsgSend{ Q_OBJECTpublic: AccountTab(qlonglong id, FxMyTabWidget *parent = 0, bool awaySendSms = false); ~AccountTab(); bool eventFilter(QObject *target, QEvent *event); void keyPressEvent(QKeyEvent *keyEvent); qlonglong account_id; QString account_name; void startFlickerTab(); void endFlickerTab(); bool isAwaySendSMS; const Fetion_Account *m_account; //MsgSend *msgSend; AccountTab * msgSend; void setSendModle(bool isSMS); void setMainWind( FxMainWindow *mainW); void handle_alt_num( QKeyEvent *keyEvent); void changeTableInputNM();private slots: void flickerTab(); void changeSendModle(); void SendMsg(); void ShowHistroy(); void ShowFaces(); void ChangeInputNM();protected: void resizeEvent ( QResizeEvent * event ) ;private: bool isSendToSelf; FxMyTabWidget *tabWidget; QTimer flickTimer; bool flick_flag; FxMainWindow *mainWind;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -