Join Today
+ Reply to Thread
Results 1 to 8 of 8
  1. #1

    Default about Zmplayer's Splash


    As you can see, this is the splash of Zmplayer,I am insteresting in how can it be implemented.
    I just considering that it is a ZMainWidget with a QLabel on it, am i right?
    I have tried to implement it by myself, but All I can do just a blank ZMainWidget, and I can't add any control on it.
    Can anyone tell me how to add a label on a ZMainWidget just like Zmplayer?
    It will be good that bragon or dbateman give an answer.
    Thanks in advance.

  2. #2

    Default

    Yes thats right but its also wrapped in a ZApplication as well, and handles some signals for power management and in a version not released yet some other signals such as incoming calls.

    As for control, I presume you mean the fact that zmplayer handles the keyboard of the ming. For this you need to install an eventHandler and deal with the QEvent::KeyPress and QEvent::KeyRelease events. As for the key mapping, thats easy enough to figure out by just having the eventHandler print the key pressed and then go ahead and touch buttons. We also create a two way socket to mplayer with socketpair and connect the send socket to stdin of mplayer and the stdout to the recieve socket. We use the "-slave" option of mplayer to accept command on stdin.

    Cheers
    D.

  3. #3

    Default

    thanks for your reply!

    now I want to control the program through signal/slot mechanism,when compiling the gcc report two errors:
    xxx.o(.gnu.linkonce.r._ZTVllxxxWidget+0x10): undefined reference to 'ZMainWidget::enent(QEvent*)'
    xxx.o(.gnu.linkonce.r._ZTVllxxxWidget+0x150): undefined reference to 'ZMainWidget::qwsEvent(QWSEvent*)'

    Can you give me some hints?

  4. #4
    Join Date
    Sep 2006
    Location
    Rio de Janeiro, Brasil
    Posts
    117

    Default

    Yes it will very cool if we can see the source code.
    Brazilian Motorola User
    A1200 , 08P

  5. #5

    Default

    anyone have implemented the signal/slot mechanism for Ezx?

  6. #6

    Default

    Quote Originally Posted by pcs306
    anyone have implemented the signal/slot mechanism for Ezx?
    qt signal/slots work fine for ezx, assuming you have the header files to compile against. (that means it works fine for e680i and a780 as, thanks to samr7, we have a set of includes; but for the a1200 i do not yet know of such headers that work)

  7. #7
    Join Date
    Apr 2006
    Location
    USA
    Posts
    3,570

    Default

    Any word yet on a future release of zmplayer for the A1200? or is it even in the works?

    ~Alpha~
    -Alpha The Legend-

  8. #8

    Default

    lots of things seems had changed!
    under A1200,I even can't derived the ZMainWidget class.
    link error and segmentation fault exist anywhere!


 
+ Reply to Thread

Similar Threads

  1. Need some Splash Screens
    By Rigor in forum Moto Media
    Replies: 1
    Last Post: 05-02-2008, 06:35 PM
  2. Nice Splash Screens
    By Chefanim in forum MotoTheme
    Replies: 9
    Last Post: 03-27-2008, 09:02 AM
  3. default splash screen
    By DEAD MAN ALIVE in forum MotoTheme
    Replies: 3
    Last Post: 02-27-2008, 07:00 PM
  4. Nice splash screens!
    By nin3 in forum MotoTheme
    Replies: 3
    Last Post: 02-18-2008, 11:40 PM
  5. splash screens
    By eakrin in forum MotoTheme
    Replies: 0
    Last Post: 10-01-2007, 02:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1