Keep It Simple, Stupid

新博客网址:http://ningto.com

QComboBox + QListWidget

class QListWidget; class ComboBox : public QComboBox { Q_OBJECT public: explicit ComboBox(QWidget *parent = 0); private slots: void sl...

2015-05-20 07:51:31

阅读数 2116

评论数 0

swift String extension

extension String { func substr(pos: Int, len: Int = 0) -> String { let start = advance(self.startIndex, pos) let end = (0 == l...

2015-05-14 20:52:22

阅读数 1125

评论数 0

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