摘要: You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin 阅读全文
posted @ 2015-02-12 15:07 Grandyang 阅读(17284) 评论(0) 推荐(1) 编辑
摘要: 在Qt中添加按钮或表格控件时需要添加其按键响应,一般来说有两种方法,一种是直接实现其响应函数,第二种是自己写一个响应函数,然后用Qt的信号槽将它们连接起来。愚以为第一种方法更为简单一些。声明这些控件:QPushButton *pbutton;QListWidget *lwidget;然后实现它们的响... 阅读全文
posted @ 2015-02-12 02:16 Grandyang 阅读(3963) 评论(0) 推荐(0) 编辑
Fork me on GitHub