LinuxMCE Forums
May 22, 2013, 03:00:10 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1] 2 3 4
  Print  
Author Topic: Re: Clutter Exercise: Media List - [X] DONE  (Read 7814 times)
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« on: June 05, 2010, 02:21:12 am »

As a first experiment, let's try to build a media list, using Clutter or Qt.

How about the following:

* A Grid of thumbnails that stretch from left to right, and scroll off the bottom
* as you mouse over one of them, it pushes forward, becomes larger, and expands into a rectangle, containing the thumbnail. and some text.
* kinetic scrolling.

Go.

-Thom
« Last Edit: September 03, 2011, 06:21:19 pm by hari » Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #1 on: June 05, 2010, 05:06:37 am »

Learning qt.

Can you point me to the lmce side to where to draw this off of DB? I am obviously green.

By scroll off of the bottom, do you mean simple up/down or left/right buttons... or do you mean more advanced scrolling like ui2?
Logged

I never quit... I just ping out.
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #2 on: June 05, 2010, 05:10:24 am »

Well, for now, just use some dummy data. Whatever will get you moving faster.

I am actually referring to kinetic scrolling, where dragging with the mouse, will scroll in a given direction... If you have another idea, have at it.. I was just trying to give some example ideas.

I don't want a scroll bar, if we can avoid it.

-Thom
Logged
golgoj4
wants to work for LinuxMCE
**
Posts: 823


hrumpf!


View Profile WWW
« Reply #3 on: June 07, 2010, 06:07:55 am »

Learning qt.

Can you point me to the lmce side to where to draw this off of DB? I am obviously green.

By scroll off of the bottom, do you mean simple up/down or left/right buttons... or do you mean more advanced scrolling like ui2?

there is a good example in the database section of those books i linked in irc, specifically c++ gui programming with qt4 should get you up and running allthough you may need to grab the qtmysql driver. Tschak pointed me in the right direction and it was just a matter of moving the .so from one place to another.

lastly, if your using qt-creator, you'll need to add
Code:
QT += sql

on its own line to your .pro file otherwise it wont include things properly.

In other news, i realized after this was all worked out that I would have to create an dummy mysql user for this to work properly. I could have used temp data, but i like the idea of working with data in a form that its going to live in to see what can be done.

-golgoj4
Logged

Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #4 on: June 07, 2010, 11:31:04 am »

I was thinking of using smaller thumbs and including space for a resized pip for active video... I then realized that I am looking at a huge TV, and would have to keep in mind a smaller one. Would have to function differently than a mobile orbiter... or waste space.

Worthwhile for this exercise?
Logged

I never quit... I just ping out.
phenigma
wants to work for LinuxMCE
**
Posts: 779


View Profile
« Reply #5 on: June 07, 2010, 01:52:53 pm »

there is a good example in the database section of those books i linked in irc, specifically c++ gui programming with qt4 should get you up and running allthough you may need to grab the qtmysql driver. Tschak pointed me in the right direction and it was just a matter of moving the .so from one place to another.

Could you provide that link here for those who were not on IRC at the time?

J.
Logged

golgoj4
wants to work for LinuxMCE
**
Posts: 823


hrumpf!


View Profile WWW
« Reply #6 on: June 07, 2010, 04:40:27 pm »

there is a good example in the database section of those books i linked in irc, specifically c++ gui programming with qt4 should get you up and running allthough you may need to grab the qtmysql driver. Tschak pointed me in the right direction and it was just a matter of moving the .so from one place to another.

Could you provide that link here for those who were not on IRC at the time?

J.

http://www.kdedevelopers.org/node/3526
the book only really covers the basics, but me being very new I found that its really helpful to get a good feel for how things work.

-golgoj4
Logged

Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius
phenigma
wants to work for LinuxMCE
**
Posts: 779


View Profile
« Reply #7 on: June 07, 2010, 06:20:37 pm »

Thanks.

J.
Logged

tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #8 on: July 11, 2010, 05:16:01 pm »

Has anyone attempted anything?

-Thom
Logged
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #9 on: July 18, 2010, 09:28:05 pm »

Has anyone attempted anything?

-Thom

I did some very unimpressive things before I got sick. I am out of the hospital now and will spend the next 3 days doing this. I mean... the qt interface is pretty much drag and drop... so you can do really pretty things pretty easily... I was trying to get into alpha layering and PIP... so most of the time I have invested is just reading.

I will just do what you asked first so that there is at least some measure of progress.
Logged

I never quit... I just ping out.
l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #10 on: August 06, 2010, 02:06:18 pm »

3 days, 3 weeks... you get the idea. Had to take on some projects to keep the people fed.
Logged

I never quit... I just ping out.
uplink
Administrator
Guru
*****
Posts: 183

Linux and LinuxMCE witchdoctor


View Profile
« Reply #11 on: August 27, 2010, 01:23:59 am »

And I clicked on the topic thinking I'll find something to drool on... Silly me Smiley
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #12 on: October 06, 2010, 10:21:29 pm »

Is anyone attempting this?

-Thom
Logged
phenigma
wants to work for LinuxMCE
**
Posts: 779


View Profile
« Reply #13 on: October 06, 2010, 11:40:23 pm »

Unfortunately not I.  In the time I do have right now I am re-learning c++ and looking at the linux TouchOrbiter among other things...  trying to get my head re-wrapped around pointers (and pointers to pointers).

J.
Logged

l3mce
NEEDS to work for LinuxMCE
***
Posts: 1031



View Profile
« Reply #14 on: October 17, 2010, 04:32:03 pm »

Yes.

Every time I make headway my life folds in around me. Will have a working model before forever or never. Need a job.
Logged

I never quit... I just ping out.
Pages: [1] 2 3 4
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!