Archive for November, 2007
Gotcha!
growlingagainstgod
Originally uploaded by biscottiallozenzero.
I took myself another hour to complete the movida import wizard. Movies are now being actually imported and added to the current collection ![]()
The movies you see in the screenshot below have been added using the wizard. I have just typed “.45″, selected the only “exact match” found on IMDb.com, then I have hit the new fancy “new search” button to enter a new query: “matrix”.
That’s all. Movie posters and all the information have been downloaded from IMDb.com and parsed using a perl script.
In case you are having some doubt, the posters will be imported in the collections persistent data directory and saved in the collection’s zip file. This way you won’t loose them
Hope the code on the SVN is still building on both ‘nix and windows ^___^
No comments(X)
Are you sure? Come on! Are you serious? Do you really want to quit the application and have a real life?
Lately I was looking for a way to disable that nifty little close (X) button on a window title bar. There is no way to do this using Qt code so I had to write my own platform dependant code.
This is the macro I am using on Windows:
# ifdef Q_OS_WIN
# include <windows.h>
# define ENABLE_CLOSE_BTN(Enable) \
{ QWidget* tlw = this; \
while (tlw && !tlw->isWindow() && tlw->windowType() != Qt::SubWindow) \
tlw = tlw->parentWidget(); \
HMENU hMenu = GetSystemMenu((HWND) tlw->winId(), FALSE); \
EnableMenuItem(hMenu, SC_CLOSE, Enable ? (MF_BYCOMMAND | MF_ENABLED) : (MF_BYCOMMAND | MF_GRAYED)); }
# endif // Q_OS_WIN
The macro can be used from any widget (e.g. a QWizardPage) as it will automatically look for the parent top level widget.
I still haven’t found a way to achieve the same on X11 or Mac OS X. Any suggestions? Anyone reading this blog? No? Rats, I knew that!
neutralidad si
koyaanisqatsi patchwork
Originally uploaded by alvazer.
A banner on a Chilean underground website got my attention this morning. The text: “neutralidad si”. The link: www.neutralidadsi.org.
Please do not look on your local newspapers or on Google news - you won’t find a single f****** line in the news.
It looks like on October 11th, the Chilean “Cámara de Diputados” has approved a project to ensure the neutrality of the Internet. The initiative has still to be approved by the Chilean “Senado”, but this is a quite interesting news to me.
It is my understanding that the contents of this project is similar to a discussion being held in the United States. Nevertheless, it states that “the internet provider should restrict their themselves only to provide the access and not to allowing privilege or to hinder the access to some content”.
Quite the opposite to what our dear Italian politicians are trying to do. No wonder you won’t find it on the news.
No comments
