← Back to team overview

ubuntu-phone team mailing list archive

Re: [Design]Toolbar on desktop

 

Cool But there is no option like that in the sdk at this point.  Maybe a
q_invokable via QScreen (
logicalDotsPerInch Y/X ) then also could use something like name from the
same class that can be used to look at the logical dots and say
if ( name === "HDMI" || "VGA" && locicaldotsPerInch <= m_desktopNumber &&
logicaldotsPerInch > = m_phoneNumber ....)
do this //desktop
if ()......


I think something like that would work great it would look atthe type of
cable that is attached to the system and could tell the screensize (inches
not px) and could conform that way.  Though again my ideas are just them
ideas and I have not implanted them nor do they matter.

Joseph


On Sun, Jul 14, 2013 at 1:11 PM, Martin Kaistra <admin@xxxxxxxx> wrote:

> Am 14.07.2013 18:57, schrieb Joseph Mills:
> >
> > Yeah that is what I meant swipe is not ideal for desktops or anything
> > that uses a mouse. As far as things having labels on them ie phone
> > core apps. I don't think that that should matter the programmer should
> > have a way to say if desktop use this else do this. It down not matter
> > what the platform what matters is it does what the end user wants it
> > to do. Not my personal feelings and again they don't matter. But a
> > simple thing like
> > If (Qt.platform ==== "Linux") do this or some sorta bool option that a
> > Dev can use. Maybe a c++ dbus plugin that says what kinda device it
> > is. There are many options. The import part of all this IMHO (again
> > does not matter) is that nothing gets locked into one thing. What if I
> > want to run this on desktop TV toaster oven that is my choice as a end
> > user.
> >
> >
> My understanding was that as part of the convergence you can choose your
> layout based not only on screen size but also depending on the input
> devices available. The toolbar and other SDK components though should
> behave differently automatically when there is a mouse available.
>
> martin
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>

References