QListWidget and Multiple Selection

Unfortunately I can’t help with the Python specific syntax but you don’t need to create any subclasses. After your QListWidget is created, call setSelectionMode() with one of the multiple selection types passed in, probably QAbstractItemView::ExtendedSelection is the one you want. There are a few variations on this mode that you may want to look at. … Read more

GUI tools that are actively developed and well documented for Haskell

wxHaskell is good, yes, and my go-to GUI middle level library. I admit there’s been a focus on updating the code before the docs in the new version. For modern, functional-reactive-programming fun stuff on top of it I gor for reactive banana, which is actively maintained, and has the added benefit that Heinrich Apfelmus himself … Read more

Why is a modal/modeless dialog called modal/modeless?

With a modal dialog, you set your application in a particular mode (a different “state” if you will), whereby only actions pertaining to that “mode” are accepted, hence preventing UI actions outside of the dialog. At Andreas’ prompting I thought I may have to dig dusty Windows API books, as often, the etymology/origin of a … Read more

How to hide Chrome “paused in debugger” overlay?

Now there is an option in Inspector’s settings, just uncheck Disable paused state overlay: Go to Settings (F1), the Preferences tab (the first one) and it’s the last option under Appearance (top left). It is very usable with the setTimeout(function(){debugger;}, 5000); trick to inspect elements that are visible only on hover.

jQuery UI Tabs back button history

I just ran into this as well. Its really easy with the jquery address plugin here http://www.asual.com/jquery/address/ The demo for tabs seemed a bit over complicated. I just did this: $(‘document’).ready(function() { // For forward and back $.address.change(function(event){ $(“#tabs”).tabs( “select” , window.location.hash ) }) // when the tab is selected update the url with the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)