Groups
Groups
Sign in
Groups
Groups
PyQt & PySide
Conversations
About
Send feedback
Help
如何把tableview 中的cell里的checkbox 放到中间? 如果我不想在delegate的paint()里自己draw checkbox
46 views
Skip to first unread message
oglop
unread,
Jul 16, 2013, 10:56:37 PM
7/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqt-...@googlegroups.com
试过checkboxStateRole 也是靠左边的
http://codepad.org/pTb32i8D
上面贴的是可以直接运行的 , column 2 是做实验 看 按了按钮之后,model data变了以后 能不能 让只有一个结果的不显示combobox (和本问题没关系)
Message has been deleted
oglop
unread,
Aug 16, 2013, 12:23:36 AM
8/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqt-...@googlegroups.com
我后来找到两个方法,成功的把checkbox放到中间了,稍后贴过来
Reply all
Reply to author
Forward
0 new messages