multiple

Qt QGraphicsView QGraphicsScene cursor related bug feature what?

Take a look at the youtube video link provided below: http://www.youtube.com/watch?v=FJDxuKAdYNo If possible ask question here and I'll try to explain my problem accordingly. Can you explain what could be the reason for multiple cursors? ...

Android: View multiple image with system image viewer

We can view an image with code: Intent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); File file = new File("/sdcard/test.jpg"); intent.setDataAndType(Uri.fromFile(file), "image/*"); startActivity(intent); What if we have some images? How can we put the extras to let the viewer know we have /sdcard/a...

Select multiple columns as a result of a case expression

This is what I would like to do: case p.residency_status when 0 then dbo.fn_formatAddress(r1.prm_name, p.py_hospital, p.py_address1, p.py_city, p.pyear_state) when 1 then dbo.fn_formatAddress(r1.prm_name, p.respgm_hospital, p.respgm_address1, p.respgm_city, p.respgm_state) when 2 then dbo.fn_formatAdd...

Builder::XmlMarkup add multiple elements to root

I already create a xml documnt by using Builder::XmlMarkup lib and add elements something like that <sportVenueNextBookingConfigurations> <sportVenue id ='23'> <numberOfMonthsForBookings> <value type='staff'>8</value> <value type='normal'>7</value> <value type='booking_start_date'>2010-09-01...

How to configure phpMyAdmin for multiple users - each with access to their database only

I want to configure phpMyAdmin to be able to accept one of several different user account logins. Each user would be allocated a specific database and only have access to that. The default configuration with phpMyAdmin is one super user, e.g. root which has access to every database on the server. I need to be able to give people access...

Oracle SQLPlus: Underline format when computing sum on multiple columns

Hello, I am computing the sum of multiple columns on the same break, but the output only displays a dash (-) underline between the last record and the column totals for a single column only...and it appears to always be the second column upon which the sums are being computed. Is there a reason for this and a way to apply the underline...

How do I control flow of PHP multi-page form?

Hi There, I am a bit of a PHP newb I have developed a multi-page form which works fine at the moment - each stage is on another page (I use the session to retain the data). However I know that users don't always use these forms the way you want! I want to control the flow of the form. I would like the user to be able to use the browse...

Adding multiple inline styles to the head with DOM and JavaScript

Hello, I use dom to add inline styles directly to the head of a web page via Javascipt. The function goes like this: // Create internal style sheet function createStyle(styleText, styleName) { // Create the node var cssNode = document.createElement('style'); cssNode.type = "text/css"; cssNode.rel = "stylesheet"; cssNode.titl...

drupal multiple view arguments with PHP code validation for empty arguments

I have a view set up to accept 2 arguments. The url is like this: playlists/video5/%/%/rss.xml It works fine if I supply the url with 2 arguments like playlists/video5/front/coach/rss.xml. I have 2 arguments of "Taxonomy: Term" But I need it to run even if 1 or no arguments are supplied. It looks like you can do this with PHP Code under...

C++: using a base class as the implementation of an interface

In C++ is it possible to use another base class to provide the implementation of an interface (i.e. abstract base class) in a derived class? class Base { virtual void myfunction() {/*...*/}; } class Interface { virtual void myfunction() = 0; } class Derived : public Base, public Interface { // myfunction is implemented...

using svn to delete multiple directories at once so then I can replace them with new directories of the same name

Hey all, I find a lot of svn commands out there to delete directories and files. Unfortunately, every time I run these commands, I get strange errors afterwards like 'not under version control' or 'conflict'. I'm just looking for a straightforward svn command that will allow me to delete all the directories under the MARKT directory bel...

How to open two dialog boxes at once in C++ MFC?

Hi, Is it possible to open more dialog boxes at the same time in C++ MFC, when I press a button? How? (One for background: full-screen and semi-transparent, and one for a dialog box.) Thank you! ...

Getting MULTIPLE distances with google maps

So.. I have 10 latitude/longitude values in a database. Using the V3 JS API i plot these on a map. I then have an 11th point which is 'users current location' I want to find the distance between the user location and each of the other points. I have created a javascript which does this - essentially, it gets the lat/long, plots the ...

Need to have a user in more than one groups in cakePHP

Hello I am trying the ACL component in cakephp for my web application. The example on their website for using their ACL structure has a many to one relationship between groups and users. A user can belong to one group, while a group can have more than one users in it. But I have a situation where I need to have a few users in more than ...

iBatis multiple parameter mapper method called as inline query

Hi, I want to use an inline query in an annotated mapper which gets two parameters. Can I do that? I see in debug that it tries to pass the same parameter twice. I've added the @Param to each parameter of the inline query method but I don't know how to reference the two parameters from the parent query because the column property can ge...

problem selecting jqGrid cell on rowSelect and sending them to server

When I am using rowSelect and sending the values of column 1 and 2 its not sending the value selected for second rowSelect ...instead only sending all the value of column 1 but not column 2 . ... my approach: jQuery("#viewt").click( function(){ var grid = jQuery("#inventoryInq"); var ids =grid.jqGrid('getGridParam','selarrrow...

Drupal Webform email receipt

I'm trying to set up an email receipt to send to the user who fills out the form. I'm using Webform 6.x-3.1. On this help page for Webform "admin/help/webform" it hints at that function by stating this "Once finished adding fields, you may want to send e-mails to administrators or back to the user who filled out the form. Click on the Em...

How to use resources for globalization in asp.net mvc ?

Hi all, I have an application which will be used by multiple companies.So my views/pages are being accessed by all these companies and each company will have their respective content... for e.g. there are 5 titles so each company will have their own titles on each page. So , I am using different resource files for each company and changi...

virtual function redefinition hides other overloaded functions of same name from another base class

Ok, I'm using virtual functions, overloaded functions, and multiple inheritance. Of course this doesn't turn out well. The scenario: Class base1 has a virtual function that needs to be specified by its child. Class derived derives from two parents base1 and base2, and should use base2's existing functionality to define base1's virtual ...

Multiple DatePickers in same activity

Hello. I am absolutely new to the Android platform and have been building an application while learning the development process. Currently, I am working on an activity in which i need to deploy 2 date pickers. One is a "Start Date" and the other is an "End date". I have been following the DatePicker tutorial on the android developers p...