📄 htmlview.h
字号:
// (c) 2005 Christian Muehlhaeuser <chris@chris.de>// (c) 2006 Seb Ruiz <me@sebruiz.net>// License: GNU General Public License V2#ifndef AMAROK_HTMLVIEW_H#define AMAROK_HTMLVIEW_H#include <khtml_events.h>#include <khtml_part.h>#include <khtmlview.h>class KAction;class KTempFile;class HTMLView : public KHTMLPart{ Q_OBJECT public: HTMLView( QWidget *parentWidget = 0, const char *widgetname = 0, const bool DNDEnabled = false, const bool JScriptEnabled = true ); ~HTMLView(); static QString loadStyleSheet(); static void openURLRequest(const KURL &url ); void set( const QString& data ); static void paletteChange(); private: static KTempFile *m_bgGradientImage; static KTempFile *m_headerGradientImage; static KTempFile *m_shadowGradientImage; static int m_instances; KAction *m_selectAll; KAction *m_copy; private slots: void enableCopyAction(); void selectAll(); void copyText();};#endif /* AMAROK_HTMLVIEW_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -