All Questions

5
answers

Return all CSS classes with Regular Expression

I need to return all classes found inside a CSS string, so that when the expression conflicts with: div.classe1{/*...*/} .classe2 div a{/*...*/} .classe3.classe4{/*...*/} .classe5{/*...*/} Return in an array (with or without the dots before...
asked on 24.02.2014 / 21:14
3
answers

Block window magnification

How can I block the increase of the window QDialog and QWidget ? For example, in the Skype login window you can not enlarge the window.     
asked on 18.03.2014 / 13:17
1
answer

In a checkbox list, know which ones are checked

In my application I'm printing a list of data coming from the database, and in each item in the list I'm putting a checkbox, as the following image shows: NowwhenIclick"Start Copy" I want to select the items in the list that are selected, and...
asked on 15.04.2014 / 13:18
4
answers

Error in mysql_fetch_object

I do not know what happens in this error.    Fatal error: Can not use object of type stdClass as array in $result = mysql_query("select * from usuarios"); while ($row = mysql_fetch_object($result)) { echo $row["Id"]; echo $row["Nom...
asked on 18.02.2014 / 19:15
2
answers

Selenium problem with get!

What I want Open a browser using Selenium, making you go to a website (eg link ) driver.get("http://www.google.com"); and type in its text field a search element.sendKeys("Cheese!"); after finalizing submit form to search el...
asked on 05.05.2014 / 18:15
2
answers

How to animate the divs and caption arrangement, when hovering in one of these elements?

I'm creating a website, they asked me to play a joke on the team part. According to this image, when it is done: hover in one of the parts, all text and image are sorted: Idonotknowhowtotakeoffthisboot,becausejavascriptisnotmystrong.Iwishyouc...
asked on 20.03.2014 / 21:54
4
answers

How to do a "Generic Trigger" in SQL Server?

Hello, I have in my database in all tables the following fields DateTime CreatedEm | Modified DateTime I wanted to know if there is a way to do a generic trigger to control these fields, since when you enter, CriadoEm and Modif...
asked on 18.03.2014 / 17:28
2
answers

How the android attribute works: ems (TextView)

I would like to understand how this attribute works ( android:ems ). I saw something quoting that it acts on the source of the text, but I do not understand in what way. I tried to do some testing, and I did not notice a result. Does...
asked on 26.03.2014 / 15:38
2
answers

Remove banner depending on window size

I'm using a template with the Responsive layout. I have a banner on the right side of a website. What I'm doing is that by scrolling the page the banner accompanies the page. When I lower the window, the banner goes over the content. What he wan...
asked on 06.03.2014 / 10:52
3
answers

Subtraction of multiple selects

I'm learning about SQL and I'm having a problem making certain calculations. I would like to subtract values from selects below. I've already tried to SUM ( A - B - C) , but to no avail. My code: (SELECT sum (dr.valortitulo)...
asked on 24.04.2014 / 14:53