|
tschak909
|
 |
« 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
|
 |
« 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
|
 |
« 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: 821
hrumpf!
|
 |
« 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 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
|
|
|
|
|
l3mce
|
 |
« 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
|
 |
« 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: 821
hrumpf!
|
 |
« 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/3526the 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
|
|
|
|
phenigma
wants to work for LinuxMCE
 
Posts: 779
|
 |
« Reply #7 on: June 07, 2010, 06:20:37 pm » |
|
Thanks.
J.
|
|
|
|
|
Logged
|
|
|
|
|
tschak909
|
 |
« Reply #8 on: July 11, 2010, 05:16:01 pm » |
|
Has anyone attempted anything?
-Thom
|
|
|
|
|
Logged
|
|
|
|
|
l3mce
|
 |
« 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
|
 |
« 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.
|
|
|
|
|
|
tschak909
|
 |
« Reply #12 on: October 06, 2010, 10:21:29 pm » |
|
Is anyone attempting this?
-Thom
|
|
|
|
|
Logged
|
|
|
|
phenigma
wants to work for LinuxMCE
 
Posts: 779
|
 |
« 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
|
 |
« 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.
|
|
|
|