Qt之模型/视图(自定义按钮)(使用QStyleOption的子类进行drawControl,和我用的方法完全不一样) http://blog.csdn.net/liang19890820/article/details/50974059