Moved GamessInputBuilder to Designer (.ui)

Moin all

I just finished the .ui file, you will notice it looks at least as good as the
result of Donalds 5 million lines of c+±code with 200 or so Q*Layouts :slight_smile:
(Sorry, Donald :wink:

The widgets are not yet named as they should, I will do that in coop with
Donald later this evening if Donald agrees. It would be very nice if some of
you would add the CMake-foo so that the .ui is parsed and
ui_gamessinputbuilder.h is generated. If you do that I would already start
with the porting of the gamessinputbuilder.h/cpp files. Somehow, your
Cmake-files are very different from the ones in KDE…

Carsten

PS: I will also add a nice About-screen, the current sucks :slight_smile:

I blogged about an issue I have, perhaps you have input for me…

Carsten

Moin all

After a lot discussions in my blog I tried something. Before I go on (this
takes quite long but I am willing to do unless you are against is) I want
your green lights.

The new idea (screenie attached) is to emulate KConfig, basically. As we
cannot use K-Classes which would make this very very easy I am using a
QStackedWidget.
IMHO this is way easier to understand and to parse. Of course, I could move
all that in a QTabWidget with two tabs (basic and advanced).

Comments?

On Mar 7, 2007, at 12:25 PM, Carsten Niehaus wrote:

IMHO this is way easier to understand and to parse. Of course, I
could move
all that in a QTabWidget with two tabs (basic and advanced).

I think it’s fantastic! I’d definitely suggest a QTabWidget with
basic/advanced. It’s nice to have the “quick and easy” screen too.

BTW, you said that the CMake files weren’t like KDE? Could you
elaborate?

Thanks,
-Geoff

Am Mittwoch, 7. März 2007 19:47 schrieben Sie:

BTW, you said that the CMake files weren’t like KDE? Could you
elaborate?

kde4_add_ui_files(kalzium_SRCS
settings_colors.ui
)

versus

set(avogadro_UIS
mainwindow.ui
)
qt4_wrap_ui(avogadro_UIS_H ${avogadro_UIS})

add_executable(avogadro-app
· ${avogadro_UIS_H}
)

KDE is using some very very cool macros. I already asked for one such macro to
be inclued in stock CMake. I hope some more find their way to CMake 2.4.7.

Carsten

PS: No need to CC me, I am subscribed

Am Mittwoch, 7. März 2007 19:47 schrieben Sie:

IMHO this is way easier to understand and to parse. Of course, I
could move
all that in a QTabWidget with two tabs (basic and advanced).

I think it’s fantastic! I’d definitely suggest a QTabWidget with
basic/advanced. It’s nice to have the “quick and easy” screen too.

Do you like this then? This is basically the finaly layout (buttons missing)

Carsten

Hi,
This seems good to me, another option is to have a “Advanced” button and add
the corresponding widget to the layout ( normally a QGridLayout" ).
One comment here, maybe an advanced GAMESS input builder is not necessary. My
experience as computational chemist is that advanced users do not use
graphical builders, save to do the basic layout of the input file, i.e, to
print cartesian or internal coordinates in the appropiate format.

Wishes
Armando

Am Mittwoch, 7. März 2007 19:47 schrieben Sie:

IMHO this is way easier to understand and to parse. Of course, I
could move
all that in a QTabWidget with two tabs (basic and advanced).

I think it’s fantastic! I’d definitely suggest a QTabWidget with
basic/advanced. It’s nice to have the “quick and easy” screen too.

Do you like this then? This is basically the finaly layout (buttons
missing)

Carsten


Dr. Armando Navarro-Vázquez
RIAIDT. Univdade de Resonancia Magnetica
Universidade de Santiago de Compostela
http://desoft03.usc.es/armando/index.html

Am Donnerstag, 8. März 2007 12:07 schrieb Armando Navarro Vázquez:

Hi,
This seems good to me, another option is to have a “Advanced” button and
add the corresponding widget to the layout ( normally a QGridLayout" ).
One comment here, maybe an advanced GAMESS input builder is not necessary.
My experience as computational chemist is that advanced users do not use
graphical builders, save to do the basic layout of the input file, i.e, to
print cartesian or internal coordinates in the appropiate format.

Donald already commited the new version, you can have a look at it in Avo
itself now.

Carsten