I would like to build an app that has one view that hosts a powerpoint (Just like Safari does) and have two buttons to move back/forward through the powerpoint. Is that possible?
Style, set to Qt application, vanishes, when QDockWindow or QToolBar is being unattached.
Application is designed to work in Windows XP environment, most of users use it's 'classic' scheme, and application's style is Cleanlooks. It looks fine, until one want to undock dockable window or move toolbar. CLeanlooks vanishes, and it is rather ugly.
Is there any workaround to handle this?
I've used emacs for decades and always wondered, but kept on coding, if there was a way to type in something, them move the cursor and insert the same text, like the VI . command.
Instead what I do is to type the text, set the mark, backup, copy the region, go to the next spot (often just C-n, down one line) and then pre-arg yank, C-u C-y.
It's the overhead of set mark, backup and copy region that makes me just go ahead and retype the thing.
In general terms and pseudo-code, what would be the best way to have a collision response of sliding along a wall if the wall is actually just a part of an entire square that a point is colliding into? The collision test method used is a test to see if the point lies in the square.
Should I divide the square into four lines and just calculate the shortest distance to the line and then move the point back that distance?If so, then how can I determine which edge of the square the point is closest to after collision?
Can't remove an entry from table.
here's my code
dropItem = dropList[ math.random( #dropList ) ]
dropSomething[brick.index] = crackSheet:grabSprite(dropItem, true)
dropSomething[brick.index].x = brick.x
dropSomething[brick.index].y = brick.y
dropSomething[brick.index].name = dropItem
dropSomething[brick.index].type = "dropppedItems"
collision
function bounce(event)
local item = event.other
if item.type == "dropppedItems" then
if item.name == "bomb" then
Lives = Lives - 1
LivesNum.text = tostring(Lives)
end
item:removeSelf();
end
end
What I've tried:
item:removeSelf(); - removes the whole table
item = nil - seams to do nothing, the object continue to move and i still see the image
This code works to rotate:
CGAffineTransform transform = CGAffineTransformMakeRotation(radians(lastAngle++));
anImage.transform = transform;
and this code works to move my UIImageView
CGRect frame = [anImage frame];
frame.origin.x+=1;
frame.origin.y+=1;
[anImage setFrame:frame];
but when I combine them, the image stretches out increasingly on each run through. Perhaps the frame should not be modified like this?
I am looking to use Webkit CSS3 to move a absolutely positioned DIV from one location to another on the screen when a button is pressed, by changing its left and right CSS properties. However, all the examples for doing this that I saw use a static CSS rule to apply this transition.
I don't know the new position before hand, so how do I apply this CSS3 transition dynamically?
I'm using google map api for showing location. In that i case i need option to get city sate zip from google map marker. In map , user can move the marker to position it after drag finished it will return the city, state and zip. I have successfully get the lat and lng but how can i get the city , state and zip. please help me as soon as possible..
Hi,
Currently we are using xml files as local data store for our disconnected application,
there is proposal to move to SQL CE database.
Can some one with experience of SQL CE provide some pros and cons of using sql compact, for example data type support etc. As Central DB server we are using SQL Server2005.
One of the requirement is to merge local store with central DB, and we don't want any data loss.
Thanks
Hi,
i jus friend reference function so i pass the user id through url like below
www.example.com?fid=22
i need to set this as a session or cookie which access to all modules in drupal 6.
if i set session it return for tht particular module . set cookie is not workin at all.
$user-new_property works only on particular page where set if i move to another page no new_property in $user variable object list .
Thanxs in advance,
Gobi
I have a JPanel which has a line, circle etc..Now when I click on the line, will the event get reported as a line event or a general jframe event. I need to be able to move the line, if the user clicks on the line and moves it. Is this possible in Java2d.
Thank you.
I've never been happy with anything I've ever found. But not having good UML, or at a minimum some clear class diagrams, makes it difficult to move forward with design on a team. Especially if you're a team deeply engrained in Agile concepts wrapped in Scrum.
UML Tools? Visio? Visual Studio? Other?
Hello,
I created a Server that listens for HTTP connections all the time. It's a default Console Application and runs on a Linux Machine using Mono (2.4).
The Problem is that i want this Server to move itself to the background (deamonize itself).
I couldn't find a Solution on Google and mono Server.exe & is not really what i'm looking for, eventhough it works for the moment.
Any hints/ideas?
Using only keyboard, how can I select non-consecutive options of a multiple select element. On Firefox or Windows explorer, I can simply ctrl+Arrow to move the focus and then space bar to select. But I don't see any way to make it work on IE.
Thanks
I have a spreadsheet (in Google Docs, but can be any spreadsheet) with a list of users (one per row), including a username (and other columns). Lets say there are 'n' rows.
I have another spreadsheet with less than 'n' rows. One column has a username, another column has some other piece of data (lets say car rego number). I want to move the car rego number to the corresponding user in the first spreadsheet.
How might I do this?
I am displaying data in a GridPanel. My requirement is to hide some menu items based on the row selections. I have this perfectly working when a user clicks or rightclicks - i am handling the event for rowclick and rowcontextmenu respecitvely. But i am facing issue to locate the event - If the user first clicks on the row and them use up and down arrows to move on to other rows.
Thanks in Advance
I am able to read the phone no, subject, sender, and date and time and i need some help on reading the body of the email, i know that it can be read using openproperty but not able to move far.. hope help from u people thanks in advance.
Which orm you would recommend for a beginner moving from ado.net?... Thus far used ado.net stored procedures with asp.net and now like to move with an orm.. Any suggestion..
I'm an experienced iOS programmer and have recently began to dabble in web development to expand my horizons. I've found it quite interesting and was wondering what learning path I should take through all the numerous languages. Here's what I planned on doing:
HTML+CSS- PHP/Jquery
Does that sound reasonable? Currently I'm nearly confident with my html/css abilities, and am planning to move ahead. Any good suggestions you guys could throw my way?
I would like to dynamically hide a button in one of my views, depending on a certain condition.
I tried adding some code to the view controller's -viewWillAppear method, to make the button hidden before displaying the actual view, but I still don't know how to do that.
I have a reference to the button through an IBOutlet, but I'm not sure how to move forward from here. For reference, this is a UIBarButtonItem instance.
i need to copy the tables and data (about 5 yrs data, 6200 tables) stored in sqlserver, i am using datastage and odbc connection to connect and datstage automatically creates the table with data, but its taking 2-3 hours per table as tables are very large(0.5 gig, 300+columns and about 400k rows).
How can i achieve this the fastes as at this rate i am able to only copy 5 tables per day but within 30 days i need move over these 6000 tables.
I'm a consultant, helping a provider of small medical practice management software move to the web. We're looking for a host that has experience with HIPAA-compliance, and supports the MS Web stack (IIS / .net / SQL Server)
Can anyone here provide a recommendation of such a hosting company?
Thanks,
Andrew
We have some applications that are being worked upon in .Net 2.0 since long back. I'm recommending my team to move the base from .net 2.0 to .net 3.5sp1 and focus and leverage from C# 3.0 but I'm facing difficulties in doing so. What are the implications of not migrating to .net 3.5 and C# 3.0 ? What are your experiences on this front and what tactics did you use to successfully migrate your team and projects to .net3.5.
Hi everyone,
I've written this code which makes an animation of 2 ellipsoids. Parameter k1 of these ellipsoids must depend on time (so they'd move asynchronously), but I need to animate them in one figure. Can I use loop for it or is it better to use timer & some kind of callback functions? The second problem - I need to move inner ellipsoid so they would have one common side. How can I do this?
a=5;
b=a;
c=10;
u = (0:0.05*pi:2*pi)';
v = [0:0.05*pi:2*pi];
X = a*sin(u)*cos(v);
Y = a*sin(u)*sin(v);
Z = c*cos(u)*ones(size(v));
Z(Z0)=0; % cut upper
V1=4/3*pi*a*b*c;
d=1/2;
e=2^d;
a2=a/e;
b2=a/e;
c2=c;
V2=4/3*pi*a2*b2*c2;
X2 = a2*sin(u)*cos(v);%-2.5;
Y2 = b2*sin(u)*sin(v);
Z2 = c2*cos(u)*ones(size(v));%+0.25;
Z2(Z20)=0; % cut
h=1/3;
for j = 1:20
k1=(sin(pi*j/20)+0.5)^h;
a=a*k1;
c=c*k1;
X = a*sin(u)*cos(v);
Y = a*sin(u)*sin(v);
Z = c*cos(u)*ones(size(v));
Z(Z0)=0;
a2=a2*k1;
b2=a2*k1;
c2=c2*k1;
X2 = a2*sin(u)*cos(v)+5;%-2.5;
Y2 = b2*sin(u)*sin(v);
Z2 = c2*cos(u)*ones(size(v));%+0.25;
Z2(Z20)=0;
hS1=surf(X,Y,Z);
alpha(.11)
hold on
hS2=surf(X2,Y2,Z2);
hold off
axis([-20 20 -20 20 -20 20]);
F(j) = getframe;
end
movie(F,4)
I'm using ECJ with Java. I have an army of individuals who I all want to have the same brain. Basically, I'd like to evolve the brains using GP. I want things like "if-on-enemy-territory" and "if-sense-target" for if statements and "go-home" or "move-randomly" or "shoot" for terminals. However, these statements need to be full executable Java code. How can I do this with ECJ?