Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
first design your app and generate a .UI file using Designer (part of Qt Creator), then run pyuic4 to get it to python, like:
pyuic4-2.6 example.ui > example.py
then import the window classes in example.py and make your up by subclassing like you...
1
1086
posted 13 years ago by blackthorne
You can see details on http://msdn.microsoft.com/en-us/library/ms178592.aspx , but I try to explain how you throw error with "uniqueidentifier" type parameters.
I convert uniqueidentifier to string (nvarchar(50)) and set a variable.
"%s" is equal...
0
1581
posted 13 years ago by emregulcan
returns "City, State" if found otherwise defaults to "Hollywood, CA"
18
8312
posted 13 years ago by crypticsoft
This function allows you to pass any div anchor tag as a parameter to scroll to. You can easily add easing after the 'duration' parameter in the jQuery animation function.
8
1393
posted 13 years ago by ksnagra
Modify the array to get different number of posts, change the order, change / add categories etc.
1
841
posted 13 years ago by amyb
This snippet will allow you to create a template browser for when you need to show multiple pages quickly. simply add the new pages into the select dropdown options and you're away.
0
549
posted 13 years ago by demwunz
Very simple and basic TextHandle class, extends TextField... You can extend to fit your needs.
Basic usage:
var a:TextHandle = new TextHandle("some text");
addChild(a)
Optional params:
_size: uint ( default 22 ) - size of the textfiled...
1
862
posted 13 years ago by burnandbass
Useful bit of CSS to vertically centre a navigation. Good for Pagination.
1
1053
posted 13 years ago by 1man