`
gyht0808
  • 浏览: 111940 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

(转)QScintilla2和PyQt4

阅读更多

是一个用于给Qt增加新部件的库。在PyQt4中,我们可以使用Qscintilla2。下载并解压源文件, 安装(linux/unix):

 

qmake qscintilla.pro
make
make install

进入Python目录,运行命令:

 

python configure.py
make
make install

切换到designer-Qt4,运行:

 

qmake designer.pro
make
make install

安装结束。运行以下代码测试:

 

import PyQt4.Qsci
langs = [i for i in dir(PyQt4.Qsci) if i.startswith('QsciLexer')]

for i,l in enumerate(langs):
    print i,l[9:]

结果:

 

0
1 Bash
2 Batch
3 CMake
4 CPP
5 CSS
6 CSharp
7 D
8 Diff
9 HTML
10 IDL
11 Java
12 JavaScript
13 Lua
14 Makefile
15 POV
16 Perl
17 Properties
18 Python
19 Ruby
20 SQL
21 TeX
22 VHDL


分享到:
评论

相关推荐

    QScintilla-PyQt5

    最近一直在使用sublime text 3,发现sublime text相当好用,但是在windows上主题定制上还是不够完善,所以笔者也想开发一款类似的代码编辑器,拥有更加强大的主题定制功能。...最后使用环境是:python3.3.5和PyQt5.2.1

    qscintilla_docs:PyQt框架的QScintilla编辑组件的文档

    qscintilla_docs:PyQt框架的QScintilla编辑组件的文档

    Qt.rar_Tabú_pyqt4_qt图形编辑_qyo

    qt 图形界面库介绍 简易的文本编辑器 - PyQt4第一个程序 增加文本编辑器的功能 - 增加更多的功能 QYolk I - PyQt4中的列表部件 - 怎么使用PyQt4中的列表部件 ...QScintilla2和PyQt4 - 给PyQt4增加部件

    QScintilla

    QScintilla-2.10.8-5.11.2-cp35.cp36.cp37.cp38-none-win_amd64

    pyqt4 for py2.5安装文件 part2

    * PyQt * Qt (with database support for MySQL, PostgreSQL, SQLite3 and ODBC) * Qt Designer * Qt Linguist * Qt Assistant * pyuic4 * pylupdate4 * lrelease * pyrcc4 * QScintilla

    最新 eric4 pyqt ide

    eric4.4.5 编辑pyqt4的ide ,推荐使用 Eric is a Python IDE written using PyQt and QScintilla. It provides various features such as any number of open editors, an integrated (remote) debugger, project ...

    PyQt5 一组QRadioButton全不选的实现方式

    QScintilla 2.11.1 eric6 18.05 本工程的功能: 点击choose按钮,可以启动定时器,每2s查询一次3个radiobutton,打印被选中的信息。 点击init按钮,可以让3个radiobutton回到初始全不选的状态。

    pyqt4 for py2.5安装文件 part3

    * PyQt * Qt (with database support for MySQL, PostgreSQL, SQLite3 and ODBC) * Qt Designer * Qt Linguist * Qt Assistant * pyuic4 * pylupdate4 * lrelease * pyrcc4 * QScintilla

    pyqt4 for py2.5安装文件 part1

    * PyQt * Qt (with database support for MySQL, PostgreSQL, SQLite3 and ODBC) * Qt Designer * Qt Linguist * Qt Assistant * pyuic4 * pylupdate4 * lrelease * pyrcc4 * QScintilla

    PyQt5-5.12.1-5.12.2-cp35.cp36.cp37.cp38-none-win_amd64.whl

    PyQt5-5.12.1-5.12.2-cp35.cp36.cp37.cp38-none-win_amd64.whl

    PyQt-Mac-开源

    PyQt 的二进制发行版,原生支持 Mac OS X,包括 Qt 支持 QScintilla 和 Python-Qt 模块,以及 Eric3 Python IDE。

    eric5-5.0.2

    1.跨Windows/Linux/Mac等开台 ...12.与QtDesigner(PyQt4的界面设计器)结合得很好,使得GUI程序的开发变得方便。 13.支持代码版本管理(svn等) 14.软件使用PyQt4作为图形库,界面美观大方。 15.支持在线自动更新。

    Anaconda3+PyQt5+Eric6+PyCharm 安装配置教程(Win10)

    PyQt5工具可以快速实现简单... PyQt5安装2.1 PyQt5安装2.2 PyQt5_tools安装2.3 QScintilla安装3. Eric 6 安装配置3.1 下载解压3.2 安装3.3 配置3.4 测试4. PyCharm相关配置4.1 配置Qt Designer4.2 配置PyUIC4.3 测试 1

    Be2:“ Be2-从屏兰逃生” iOS游戏源代码

    该编辑器是用Python和PyQT编写的。 要使用它,您首先必须安装: qmake 请按照相关软件包的安装说明进行操作。 通常: QScintilla: cd Qt4Qt5 qmake qscintilla.pro make make install 啜: python con

    eric5-5.3.1

    If the required packages (Qt4, QScintilla2, sip and PyQt4) are not installed, please get them and install them in the following order (order is important). 1. Install Qt4 (from Nokia) 2. ...

    edis:[不支持] 一个简单的 C 跨平台 IDE

    # Edis-IDE 内容 什么是爱迪斯? Edis是一个免费的多平台 IDE(集成开发环境),用于 C 编程语言,用 Python 和 ... PyQt4 QScintilla 标签 下载源代码或克隆存储库: git clone https://github.com/centaurialph

    eric6-18.01.tar.gz

    无汉化, ubuntu16.04自测安装成功,对应版本如下,其他版本不保证 Qt 5.9.0 sip 4.19.3 PyQt 5.9 QScintilla 2.10.3

    PyMiner数学工具-其他

    4、代码编辑器从QScintilla 改为使用pyside2重新构建;5、新增数据统计模块-生成数据功能;6、优化完善高分屏支持;7、优化完善了主题切换功能;8、新增了其他数据处理模块;9、主程序新增在线更新功能。

    matlab集成c代码-ExCo:用Python编写的可扩展GUI文本编辑器

    QScintilla库和Cython中提供的一些词法分析器来更有效地突出显示文本。 我在开发时就考虑到了使用的简便性和可扩展性。 对于Windows的预编译包,请参见发行页面()。 网站: 快速功能视频: 执照: GNU通用公共许可...

    Eric6-18.08

    Eric is a Python IDE written using PyQt and QScintilla. It provides various features such as any number of open editors, an integrated (remote) debugger, project management facilities, unit test, ...

Global site tag (gtag.js) - Google Analytics