自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (4)
  • 收藏
  • 关注

原创 SECS/GEM Definitions

SECS/GEM useful website

2022-07-26 10:48:17 117

原创 VSCode + python2.7 +pyqt4 环境搭建

已经安装好了多个版本python,其中某个版本有pyqt指定python版本路径:https://code.visualstudio.com/docs/python/environments#_environment-variable-definitions-fileFile(Codeon macOS) >Preferences>Settingsmenu com...

2019-11-26 16:07:48 723

原创 Connvert paintEvent of QPlainTextEdit to Pyqt

   def paintEvent(self,event):        painter=QPainter(self.viewport())        offset=QPointF(self.contentOffset())        er = event.rect()        viewportRect = self.viewport().rect()        ed...

2018-11-29 14:58:27 226

转载 Sample for QtextTable

ui->setupUi(this);    QTextCursor cursor=ui->textEdit->textCursor();    cursor.setPosition(0);    QTextTableFormat tableFormat;    tableFormat.setCellPadding(5);    tableFormat.setAlig...

2018-11-27 17:00:17 367

原创 qtextlayout-manual-line-breaking

Maybe useful someday ,will test later . Currently try to modify the paintEvent in derived classhttps://stackoverflow.com/questions/40076670/qtextlayout-manual-line-breaking

2018-11-26 16:57:19 372

原创 Url for online view QT code

https://code.woboq.org/qt5/qtbase/src/

2018-11-26 16:49:57 78

转载 About override paintEvent QPainter not work

Overriding QPaintEvents in PyQtI'm trying to create a TextEdit widget that will have a delimiter line. As a start, I've created a MyTextEdit class (as a subclass of a QTextEdit) and overridden its p...

2018-11-23 14:41:19 235

原创 Sample of standalone in python

from lxml import etreetree = etree.fromstring(templateXml).getroottree() # NOTE: .getroottree()xmlFileOut = '/Users/User1/Desktop/Python/Done.xml'   with open(xmlFileOut, "w") as f:    f.w

2018-01-03 12:17:26 168

原创 A class for write log

class logger(object):      def __init__(self):        self.logPath=sys.path[0]+'/log.txt'            def writeLog(self,logString):        if not os.path.exists(self.logPath):            os.mknod(self.

2018-01-02 15:00:41 143

简单线性迭代聚类

自己写的SLIC在Matlab上的调用接口,以及相关论文,供研发参考,有问题联系[email protected]

2015-08-26

OpenCV读视频并保存为图片

使用OpenCV2.4.9,读视频,框选区域并右键双击保存,左键双击有BUG,不会解决。供学习OpenCV使用。

2015-08-08

matlab和C++混编实现四叉树分块均衡化

用matlab和C++混合编程实现四叉树分解的均衡化.

2013-01-17

graphcut作者主页代码

graphcut with label cost代码,这是挂在作者主页上的代码,需要修改才能使用!

2012-09-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除