This is one of those things I tend to forget
>>> PyQt4.Qt.qVersion()
'4.3.3'
Personal Coding and Hobby Notebook
This is one of those things I tend to forget
>>> PyQt4.Qt.qVersion()
'4.3.3'
//By Gubatron, just a silly function to clear the contents of a listbox object var ua = navigator.userAgent.toLowerCase(); var Browser = new Object() Browser.isIE = window.ActiveXObject ? true : false; Browser.isFirefox = (ua.indexOf(“firefox”)!=-1); function clearListbox(listboxObject) { if (Browser.isFirefox) { //in firefox “Option” objects remove themselves. var options = listboxObject.options while (options.length > 0) { options[options.length-1].remove() […]
Usually we use <shape> objects in our .xml drawables meant for the backgrounds of buttons or other View objects. I came across a situation where such object should appear as if it had been previously selected, and the graphic design choice was to put a thick rounded stroke around the container, while at the same […]
Maybe for some wild reason, your Java application will need to execute a pre launcher that won’t know about the Main class it’s supposed to invoke until it’s being executed. For example, you have distributed your Java application but you used pack200 to compress your jars, and your new application launcher will unpack everything, but […]