When I add padding in a QPushButton's stylesheet the animation doesnt occur during button press,release:
QPushButton{
border: 1px solid green;
padding: 2px;
border-radius: 4px;
}
By that, I mean the button text does not sink in.
Is this normal?
Hi,
Does anyone has Exchange Trader server design.
I want to understand how does it work, does it required queues, to handle multiple trades
how to add various observers to the each request .
I'm working with Maven pom files, and I don't wish to source control iml files.
When I open a project, IntelliJ seems to add some of the iml files it creates to the SVN source control. How can I prevent this?
I have "*.iml" in an "svn:ignore" property on the repository root, but it doesn't seem to prevent IntelliJ from adding the imls.
How can I make a listbox dropdown like a combobox.
Or is it possible to configure a combobox so that the user can't add values but rather only select from the available list of values.
This is for a desktop application.
Thanks
I am using Open Source toolchain to compile my iPhone apps. So I have no Interface Builder or XCode. How would I setup the layout of widgets like UIButton, UITextView, etc. Also, how would I add an event handler to those UI widgets? Please remember that I don't have Interface Builder or XCode.
Hi,
I am searching for the best way for track user on a web site based on asp.net.
We are using log4net to log some business actions (enter on this page, click on button, etc.). But for multiple users, log file cannot be read easily.
So I need add a property 'UserName' on the config file like this :
<conversionPattern value="%date [%thread] - %property{UserName} - %-5level - %logger - %message%newline"/>
Do you hae any idea about the way to set 'UserName' ?
thanks for your help
I really want to upgrade to Visual Studio 2010. But since I do a lot of development for the Pocket PC version of Windows Mobile I cannot. (I develop for a Symbol device that does not support Windows Phone 7, so that is not a option.)
Does any one know any kind of time frame of when Microsoft plans to add support for Smart Device Projects into Visual Studio 2010
Hi,
I have the following two MySQL tables
TABLE NAMES
NAME_ID NAME
1 name1
2 name2
3 name3
TABLE STATUS
STATUS_ID NAME_ID TIMESTAMP
1 1 2010-12-20 12:00
2 2 2010-12-20 10:00
3 3 2010-12-20 10:30
4 3 2010-12-20 14:00
I would like to select all info from table NAMES and add most recent correspondent TIMESTAMP column from table STATUS
RESULT
NAME_ID NAME TIMESTAMP
1 name1 2010-12-20 12:00
2 name2 2010-12-20 10:00
3 name3 2010-12-20 14:00
Am stuck on this one.
How do I left join only on the newer timestamp?
hi,
I've a View page with all the content of my website (the node headers). When I click on one of these header I would like to load the complete node without refreshing the page and display it on the left.
Can I do this with Views (I mean.. does it have a functionality to load a complete node and add it to the current page ?
thanks
Hello
I have a function that returns IQueryable, and I would like to add "HAVING SUM(Quantity) = X" to it, but I get error if I try like this:
_rep.GetBookings().ByBookingObjectID(bookingObjectID).Sum(x => x.Quantity == somevariablehere);
I cant seem to find functions for it to find by sum
/M
I have a javascript variable that basically looks like this:
my_svg_image = '<circle cx="227.58331298828125" cy="102" r="3" style="fill:black;stroke-width:0" />';
It was loaded from my database. Is there a way I can parse that string and add it to the DOM with Javascript? I have svgweb set up, but don't see how I can get it to parse this string. Are there other libraries that might help?
Currently, I have a project, where I have to add some features on to it, but the coding hasn't maintained any standards and it is extremely tough to break it down into manageable and understandable parts, to get started. And there is no documentation, to help out?
How would you start such project, if you had to?
I would like to listen for the mouse over event in GWT 1.6. Since GWT 1.6 has introduced handlers and deprecated listeners I'm unsure as to how I can accomplish this with what little information exists.
Note: I have an Element object. That's what I need to add the mouse handler to. I apologize for my lack of clarity.
Thanks!
I'm doing a steganography project where I read in bytes from a ppm file and add the least significant bit to an array. So once 8 bytes are read in, I would have 8 bits in my array, which should equal some character in a hidden message. Is there an easy way to convert an array of 0's and 1's into an ascii value? For example, the array: char bits[] = "0,1,1,1,0,1,0,0" would equal 't'.
hi. i am trying to dynamically add a UIbutton as a subview to UIlable. but i am not able to click the button. it seems that the lable doesnt allow the buttonTapped event to occur. can somebody explain what exactly is happening here. and can anybody give me an alternative for this. thnx
I've noticed some games in the app store that allow the user to choose background music from their music library (iTunes). As a developer how can I add this functionality to my game?
Is there anything that stops the DateTime AddDays() method that doesn't run within a while loop. I have this simple bit of code;
DateTime last_day = monthCalendar2.SelectionRange.End;
DateTime first_day = new DateTime(year, month, day);
//Insert dates into vector
while (first_day != last_day)
{
dates.Add(first_day);
first_day.AddDays(1);
}
I step through the program and first_day never changes, anyone know why?!
Hi,
Ok so I have 2 list boxes one is connected to a database the other isnt.
I want to be able to send the selected item from the listbox connected to the database to the one that isnt.
Ive written this code
listBox2.Items.Add(listBox1.SelectedItem);
But instead of copyin the item i get "
System.Data.DataRowView
Anyone havin any advice?
I'm trying to extend a Java Swing component in Clojure, i.e. I want to extend a javax.swing.JComponent and add some custom methods implemented in pure Clojure in addition to all the standard inherited methods.
I've tried using "proxy" which works great if I just want a single instance (in the same way as an anonymous inner class). However I'd really like a named class so that I can generate an arbitrary number of instances.
What's the recommended way of doing this?
Why I can't construct large tuples in Haskell? Why there's a tuple size limit?
Prelude> (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
<interactive>:1:0:
No instance for (Show
(t,
t1,
t2,
...
t23))
arising from a use of `print' at <interactive>:1:0-48
Possible fix:
add an instance declaration for
(Show
(t,
t1,
t2,
...
t23))
In a stmt of a 'do' expression: print it
After test driving Google Chrome for 30 minutes or so, I like it, even if it seems bare-bones at the moment. The obvious way to add a few things I can't live without would be through plugins. Does anyone have any links to resources on how to get started building a plugin/addon for Chrome? Thanks.
I need to develop a multiplatform software that takes screenshots from opengl games without affecting the game in performance, it will run in the background and will add a watermark to my screenshots.
What language should i use? I thought of Perl / Python.
Anyone can point me out something to start?
Thanks!
Hi, I believe this is a tough one...
I'm trying to create a collection of variable binding in a class.
It is intended to look something like this:
Dim x as integer, s as string
Dim c as new VBindClass
x = 1
s = "Hello"
c.Add x, s
Debug.Print c.value(x) '= 1
Debug.Print c.value(s) '= "Hello"
Is there some function that allow us to retrieve a unique ID for a given variable and also get/set based on variable?