📄 gvlogwindow.h
字号:
/*************************************************************************** * Copyright (C) 2005 by Piotr Szymanski <niedakh@gmail.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. * ***************************************************************************/#ifndef LOGWINDOW_H#define LOGWINDOW_H#include "interpreter.h"#include <kvbox.h>#include <qtimer.h>class QTreeWidget;class KTreeWidgetSearchLine;class KUrlLabel;class GSLogWindow : public KVBox{ Q_OBJECTpublic: GSLogWindow( QWidget* parent = 0 );public slots: void append( GSInterpreterLib::MessageType t, const char* buf, int num ); void appendBuffered() { m_lastInt=0; m_clearTimer.stop(); append(m_buffer.first,m_buffer.second); }; void append( GSInterpreterLib::MessageType t, const QString &text); void clear(); bool event( QEvent * event );private: QTreeWidget* m_msgList; KTreeWidgetSearchLine* m_searchLine; QPair <GSInterpreterLib::MessageType, QString> m_buffer; int m_tCol; int m_lastInt; QTimer m_clearTimer;};#endif// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -