[uae] Re: UAE qt frontend

  • From: Ivo Couckuyt <iv0co@xxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Mon, 02 Jul 2007 23:15:44 +0200

i decided to throw a new cleaned version online

without the moc_ files and ui_mydialog.h (and other generated files), had some troubles compiling then so i fixed the Makefile.am
it seems to compile here from a clean e-uae dir so i hope it's ok now

http://fenix.cmi.ua.ac.be/~p035054/getfile.php?nr=7
http://fenix.cmi.ua.ac.be/~p035054/files.php

only two fixes:
- remembering directories
- chipset speed (well works sort off)
i mostly cleaned up some code

if this version is k, i'll leave it online for everyone to criticize design/features/bugs/...
while i'm adding new frames to the frontend (for gameport, display, ...)

Drummond: can you enlighten me about loading/saving configurations. do i have to take care of it. or can i use the function declarations in
includes/options.h  (cfg_load/save( FILE*, uae-prefs ) )

kind regards,
Ivo Couckuyt

Ivo Couckuyt wrote:


daniel åkerud wrote:

Tried it out now, and here are my comments so far :-)

1. When I quit (F12+Q) the emulation, the UI died screaming:
QObject::killTimers: timers cannot be stopped from another thread
99% of the time it stops nice here, by Quit button or using the 'X' directly. wether uae is running or not. if uae's window is closed, it won't quit. but the frontend is set back to the stopped state. perhaps you have an other way of quiting, F12+Q ? doesn't seem to work here
2. Some buttons/labels look really wierd on my desktop. I don't know why. I'll send a screenshot to you. Don't have anywhere to put it... and I don't have the guts to attach screenshots on this mailinglist yet :-)
hmm, that will be hard to fix. it shows ok here in designer and otherwise. also the chipset and collision group box'es are aligned perfectly here. most likely a qt version problem ?

3. I really like the treeview layout style.
i just copied winuae's layout and icons, but thanks anyways :D anyway, if you see some functionality which could be different/better just tell me. for instance i noticed winuae has sound configuration on 2 separate pages (chipset and sound) (configuring the same options). so i was thinking of just
moving it all together to sound (haven't made that page yet)


4. The file dialogs puts the current working directory in "My Computer". Very windows-ish. Why? It would be cool if it sensed where the current rom/floppy-image is put that as working directory for the file dialog.
it remembered the last directory you visited, but it wasn't initialised. fixed :-) please note, it remembers directory on widget/pushbutton basis.
so "..." will give a different path for floppy 1,2,3 or 4.

5. I'd move the About Qt button to a menubar. Looks wierd in the middle of the frame.
again, copied the about frame from winuae. i was thinking for a menu. but i thought that would be weird (having only one item).
btw: the About Qt button is normally in the right-bottom corner... ?

A very promising start! Keep the updates coming and I can give you more feedback :-D

thanks, just keep the suggestions/criticism coming (i make simple mistakes very easily) especially suggestions considering the direction to take for the frontend, winuae's frontend is not bad but it isn't everything either. there are many improvements that can be made.

thanks for testing.

ps: i think the cpu speed options (match a500 etc) is still broken in your version, so don't mind that

BR/D

On 7/2/07, *Ivo Couckuyt* <iv0co@xxxxxxxxxxx <mailto:iv0co@xxxxxxxxxxx>> wrote:

    1)
    normally it is generated automatically, perhaps delete  Makefile
    and run
    ./bootstrap.sh again

    2)
    you're right, that function was introduced in qt 4.3
    try deleting ui_myDialog.h , on compiling it will be generated using
    ui_myDialog.ui (using the moc of your qt installation).
    i guess if the ui file doesn't contain anything qt 4.3 specific a
    correct ui_myDialog.h will be generated

    i should have removed all system dependent files (Makefile moc files
    etc), sorry

    daniel åkerud wrote:
    >
    > Hello, it works now.
    >
    > First problem:
    >
    > da@brutus ~/e-uae-0.8.29-WIP4/src/gui-qt $ grep programmeren *
    > Makefile:ACLOCAL = ${SHELL}
    >
/home/ilm/programmeren/projects/euae/e-uae-0.8.29-WIP4.modified/missing
    > --run aclocal-1.7
    > Makefile:AMTAR = ${SHELL}
    >
/home/ilm/programmeren/projects/euae/e-uae-0.8.29-WIP4.modified/missing
    > --run tar
    > Makefile:AUTOCONF = ${SHELL}
    >
/home/ilm/programmeren/projects/euae/e-uae-0.8.29-WIP4.modified/missing
    > --run autoconf
    > Makefile:AUTOHEADER = ${SHELL}
    > /home/ilm/programmeren/projects/euae/e-
    uae-0.8.29-WIP4.modified/missing
    > --run autoheader
    > Makefile:AUTOMAKE = ${SHELL}
    >
/home/ilm/programmeren/projects/euae/e-uae-0.8.29-WIP4.modified/missing
    > --run automake-1.7
    > Makefile:MAKEINFO = ${SHELL}
    >
/home/ilm/programmeren/projects/euae/e-uae-0.8.29-WIP4.modified/missing
    > --run makeinfo
    > ...
    >
    > a simple search/replace did the trick there
    >
    > Second problem (compiling):
    >
    > ui_myDialog.h: In member function 'void
    Ui_myDialog::setupUi(QDialog*)':
    > ui_myDialog.h:379: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:420: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:574: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:746: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:821: error: 'class QGridLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1042: error: 'class QGridLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1050: error: 'class QHBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1082: error: 'class QHBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1109: error: 'class QHBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1132: error: 'class QGridLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1159: error: 'class QHBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1167: error: 'class QGridLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1219: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1254: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1380: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1388: error: 'class QHBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1526: error: 'class QGridLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1562: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1767: error: 'class QVBoxLayout' has no member named
    > 'setContentsMargins'
    > ui_myDialog.h:1851: error: 'class QHBoxLayout' has no member named
    > 'setContentsMargins'
    > make[3]: *** [guiWrapper.o] Error 1
    >
> I can only assume it is a Qt-version problem, but that one I cannot
    > solve unfortunately.
    >
    > BR/D
    >
    >
    >
    > On 7/2/07, * Ivo Couckuyt* <iv0co@xxxxxxxxxxx
    <mailto:iv0co@xxxxxxxxxxx>
    > <mailto:iv0co@xxxxxxxxxxx <mailto:iv0co@xxxxxxxxxxx>>> wrote:
    >
    >
    >     some people seems to have that problem, try going by the files
    >     section:
    >     http://fenix.cmi.ua.ac.be/~p035054/files.php
    <http://fenix.cmi.ua.ac.be/%7Ep035054/files.php>
    >     < http://fenix.cmi.ua.ac.be/%7Ep035054/files.php>
    >     qt_patch.tgz is the file to have.
    >
    >     though wget worked for me, so does the direct link.
> i also tried to attach it, but the mailing system seems to block
    >     larger ones
    >
    >     daniel åkerud wrote:
    >     >
    >     > I can't download it... I'd love to give some input.
    >     >
    >     > (Either with wget or Internet Explorer)
    >     >
    >     > BR/D
    >     >
    >     >
    >     > On 7/1/07, *Ivo Couckuyt* < iv0co@xxxxxxxxxxx
    <mailto:iv0co@xxxxxxxxxxx>
    >     <mailto:iv0co@xxxxxxxxxxx <mailto:iv0co@xxxxxxxxxxx>>
    >     > <mailto: iv0co@xxxxxxxxxxx <mailto:iv0co@xxxxxxxxxxx>
    <mailto: iv0co@xxxxxxxxxxx <mailto:iv0co@xxxxxxxxxxx>>>> wrote:
    >     >
    >     >     Hey,
    >     >
    >     >     I managed to spend some days working on it. Fetch the
    patch
    >     here:
    >     >     http://fenix.cmi.ua.ac.be/~p035054/getfile.php?nr=4
    <http://fenix.cmi.ua.ac.be/%7Ep035054/getfile.php?nr=4>
    >     <http://fenix.cmi.ua.ac.be/%7Ep035054/getfile.php?nr=4
    <http://fenix.cmi.ua.ac.be/%7Ep035054/getfile.php?nr=4>>
    >     >     <http://fenix.cmi.ua.ac.be/%7Ep035054/getfile.php?nr=4>
    >     >     Just extract the tar file in de root dir of e-uae. It
    >     overwrites
    >     >     configure.in <http://configure.in>
    <http://configure.in> <http://configure.in> so
    >     be sure to regenerate all
    >     >     the necessary files.
    >     >     ./bootstrap.sh should do it normally
    >     >
    >     >     configure with --enable-ui and any other flags you want.
    >     --enable-ui
> > will compile with qt if available, otherwise it will just
    >     use gtk
    >     >
> > i'm testing on gentoo linux using Qt 4.3. i think it will
    >     compile on
    >     >     almost any linux machine with qt 4 but i'm not sure
    >     >
    >     >     What's in it: well not that much i'm afraid, i'm just
    hoping
    >     somebody
    >     >     could test it on his machine and see that the current
    >     options are
    >     >     somewhat working
    >     >     from the top of my head:
    >     >     - insert/eject floppy
    >     >     - choose rom file (no key/extended rom file yet)
    >     >     - cpu/chipset/memory/sound
    >     >     - no input configuration yet
    >     >     - no configuration save/load (it loads .uaerc once at
    the start)
    >     >     (having a working .uaerc file will help)
    >     >
    >     >     for this last point i'm not sure if i have to use the
    >     functions from
    >     >     include/options.h or write it myself.
    >     >
    >     >     as you can see there is still lots to do
    >     >
    >     >     kind regards,
    >     >     Ivo Couckuyt
    >     >
    >     >     Darren Davies wrote:
    >     >     > I have also been lurking here, I use e-uae to play
    all those
    >     >     games I never
    >     >     > got chance to finish when I was a young lad, if It
    wasn't for
    >     >     e-uae I would
    >     >     > have to use Windows!
    >     >     >
> > > I have e-uae running happily on my Mac, and will soon be
    >     running
    >     >     > PCLinuxOS2007 on my Sony Vaio which I will be
    installing e-uae
    >     >     on. One day,
    >     >     > I'll set up a NAS to store Amiga software which I
    hope to use
    >     >     from Linux and
    >     >     > OSX.
    >     >     >
    >     >     > I also use AmigaInABox with euae.
    >     >     >
    >     >     > Keep up the good work.
    >     >     >
    >     >     >
    >     >     >> -----Original Message-----
    >     >     >> From: uae-bounce@xxxxxxxxxxxxx
    <mailto:uae-bounce@xxxxxxxxxxxxx>
    >     <mailto:uae-bounce@xxxxxxxxxxxxx
    <mailto:uae-bounce@xxxxxxxxxxxxx>> <mailto:
    uae-bounce@xxxxxxxxxxxxx <mailto:uae-bounce@xxxxxxxxxxxxx>
    >     <mailto:uae-bounce@xxxxxxxxxxxxx
    <mailto:uae-bounce@xxxxxxxxxxxxx>>>
    >     >     >> [mailto: uae-bounce@xxxxxxxxxxxxx
    <mailto:uae-bounce@xxxxxxxxxxxxx>
    >     <mailto:uae-bounce@xxxxxxxxxxxxx
    <mailto:uae-bounce@xxxxxxxxxxxxx>>
    >     >     <mailto:uae-bounce@xxxxxxxxxxxxx
    <mailto:uae-bounce@xxxxxxxxxxxxx>
    >     <mailto: uae-bounce@xxxxxxxxxxxxx
    <mailto:uae-bounce@xxxxxxxxxxxxx>>>] On Behalf Of Ivo Couckuyt
    >     >     >> Sent: 27 June 2007 3:06 PM
    >     >     >> To: Mikal Krogstad; uae@xxxxxxxxxxxxx
    <mailto:uae@xxxxxxxxxxxxx>
    >     <mailto:uae@xxxxxxxxxxxxx <mailto:uae@xxxxxxxxxxxxx>>
    <mailto:uae@xxxxxxxxxxxxx <mailto:uae@xxxxxxxxxxxxx>
    >     <mailto: uae@xxxxxxxxxxxxx <mailto:uae@xxxxxxxxxxxxx>>>
    >     >     >> Subject: [uae] Re: UAE qt frontend
    >     >     >>
    >     >     >> Hey,
    >     >     >>
    >     >     >> Good to see there is actually interest, sometimes i
    wonder if
    >     >     >> there are e-uae users at all :-)
    >     >     >>
    >     >     >> Unfortunately i was busy finishing my thesis so not
    much
    >     work
    >     >     >> has been done yet. And it won't be long until i
    leave for
    >     >     >> summer holiday.
    >     >     >> I will try to work on it during the next week and
    perhaps
    >     >     >> setup a sourceforge account so people can look at it
    >     while im
    >     >     >> on holiday.
    >     >     >> Atm it is just a tedious job to map the gui
    configuration
    >     >     >> options to uae
    >     >     >>
    >     >     >>
    >     >     >>
    >     >     >> Mikal Krogstad wrote:
    >     >     >>
    >     >     >>> Hi!
    >     >     >>>
    >     >     >>> Just wanted to say I'm lurking the euae list, and
    >     >     >>>
    >     >     >> appreciate you doing
    >     >     >>
    >     >     >>> this. I'm just waiting for it to mature enough for
    someone
    >     >     >>>
    >     >     >> to put it
    >     >     >>
    >     >     >>> in an Ubuntu repository :)
    >     >     >>>
    >     >     >>> Kind regards
    >     >     >>> Mikal Krogstad
    >     >     >>>
    >     >     >>>
    >     >     >>
    >     >     >
    >     >     >
    >     >     >
    >     >     >
    >     >     >
    >     >
    >     >
    >
    >





Other related posts: