Getting All Items from QListWidget and QTreeWidget in PyQt4
PyQt4 does not ship with helper methods for enumerating every item in QListWidget
or QTreeWidget
. Here are two straightforward patterns I found online:
Common URL Schemes for Popular Chinese iOS Apps
I rely on URL schemes frequently, yet could not find a tidy list for Chinese apps. This collection pulls together what I found online. Let me know if anything needs updating.
Notes on the Google Python Style Guide
A few notes I took while reading the Google Python Style Guide.
Fixing the Windows 10 "system thread exception not handled" Boot Loop
My aging laptop started crashing after running a game for a while. The screen went blue, showed “system thread exception not handled,” and rebooted endlessly. After trying the usual fixes and preparing for a reinstall, I stumbled across this thread: http://answers.microsoft.com/zh-hans/windows/forum/windows_10-performance/win10/2c730d1a-9e1d-4da1-a11b-5659df6169ec?auth=1
Must-Have Apps on My Mac
A running list of macOS apps I always install. Everyday tools like WeChat are omitted. Order does not imply preference.
Must-Have Apps on My Windows PC
A running list of Windows applications I always install. Everyday tools like WeChat are omitted. Order does not imply preference.
Select All Text on Click in QLineEdit
I needed a QLineEdit
that selects all text when you click it. Since the widget has no built-in click signal, we have to handle it ourselves.