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

📄 texteditor.cpp

📁 爱可视605看PDF程式源代码, 基于APDF
💻 CPP
字号:
#include "texteditor.h"#include "texteditor_internal.h"#include <qlayout.h>archos::TextEditor::TextEditor(QWidget *parent)	: QWidget( parent )	, m_editw( new TextEditorInternal( this ) ){	QVBoxLayout *l = new QVBoxLayout( this );	l->addWidget( m_editw );	connect(		m_editw, SIGNAL( editingFinished() ),		this, SIGNAL( editingFinished() )	);}void archos::TextEditor::setText( const QString &txt ){	( (TextEditorInternal*) m_editw )->setText( txt );}QString archos::TextEditor::text() const{	return ( (TextEditorInternal*) m_editw )->text();}

⌨️ 快捷键说明

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