Revision 771f28b4
Von martin vor mehr als 15 Jahren hinzugefügt
.gitignore | ||
---|---|---|
distribution
|
||
gwenhywfar
|
||
gwenhywfar-*.*.*
|
||
gwenhywfar2
|
||
gwenhywfar3
|
||
install-sh
|
||
libtool
|
||
listdoc.h
|
configure.ac | ||
---|---|---|
#
|
||
# create header directory, make symlinks
|
||
#
|
||
GWEN_HEADER_DIRS="src src/base src/crypt3 src/cryptmsg src/crypttoken src/io src/iolayer src/ipc src/ipc/request src/os src/os/${GWEN_OS} src/gui"
|
||
GWEN_HEADER_DIRS="${GWEN_HEADER_DIRS} src/parser"
|
||
HEADER_DIRS="src src/base src/crypt3 src/cryptmsg src/crypttoken src/io src/iolayer src/ipc src/ipc/request src/os src/os/${GWEN_OS} src/gui"
|
||
HEADER_DIRS="${HEADER_DIRS} src/parser"
|
||
lprefix="${srcdir}"
|
||
lprefix=`( cd ${lprefix} ; pwd )`
|
||
|
||
rm -Rf gwenhywfar3 2>/dev/null
|
||
mkdir -p gwenhywfar3/gwenhywfar
|
||
for d in ${GWEN_HEADER_DIRS}; do
|
||
for d in ${HEADER_DIRS}; do
|
||
hfiles=`( cd "${srcdir}/${d}" && ls *.h 2>/dev/null )`
|
||
for f in ${hfiles}; do
|
||
case ${f} in
|
||
... | ... | |
|
||
|
||
|
||
# qt3
|
||
#
|
||
rm -Rf gwenhywfar3/gwen-gui-qt3 2>/dev/null
|
||
mkdir -p gwenhywfar3/gwen-gui-qt3
|
||
for d in gui/qt3; do
|
||
hfiles=`( cd "${srcdir}/${d}" && ls *.hpp 2>/dev/null )`
|
||
for f in ${hfiles}; do
|
||
case ${f} in
|
||
*_l.hpp | *_p.hpp | qt3_gui_*.hpp)
|
||
;;
|
||
*)
|
||
ln -s "${lprefix}/${d}/${f}" "gwenhywfar3/gwen-gui-qt3/${f}"
|
||
;;
|
||
esac
|
||
done
|
||
done
|
||
|
||
|
||
|
||
# qt4
|
||
#
|
||
rm -Rf gwenhywfar3/gwen-gui-qt4 2>/dev/null
|
||
mkdir -p gwenhywfar3/gwen-gui-qt4
|
||
for d in gui/qt4; do
|
||
hfiles=`( cd "${srcdir}/${d}" && ls *.hpp 2>/dev/null )`
|
||
for f in ${hfiles}; do
|
||
case ${f} in
|
||
*_l.hpp | *_p.hpp | qt4_gui_*.hpp)
|
||
;;
|
||
*)
|
||
ln -s "${lprefix}/${d}/${f}" "gwenhywfar3/gwen-gui-qt4/${f}"
|
||
;;
|
||
esac
|
||
done
|
||
done
|
||
|
||
|
||
# fox16
|
||
#
|
||
rm -Rf gwenhywfar3/gwen-gui-fox16 2>/dev/null
|
||
mkdir -p gwenhywfar3/gwen-gui-fox16
|
||
for d in gui/fox16; do
|
||
hfiles=`( cd "${srcdir}/${d}" && ls *.hpp 2>/dev/null )`
|
||
for f in ${hfiles}; do
|
||
case ${f} in
|
||
*_l.hpp | *_p.hpp | fox16_gui_*.hpp)
|
||
;;
|
||
*)
|
||
ln -s "${lprefix}/${d}/${f}" "gwenhywfar3/gwen-gui-fox16/${f}"
|
||
;;
|
||
esac
|
||
done
|
||
done
|
||
|
||
|
||
|
||
|
||
###-------------------------------------------------------------------------
|
gui/fox16/Makefile.am | ||
---|---|---|
INCLUDES=-I$(top_builddir)/gwenhywfar3 $(fox_includes)
|
||
|
||
AM_CPPFLAGS= @visibility_cflags@
|
||
DEFS=-DBUILDING_FOX16_GUI
|
||
DEFS=-DBUILDING_FOX16_GUI -DPACKAGE=\"$(PACKAGE)\"
|
||
|
||
pkgconfigdir = $(libdir)/pkgconfig
|
||
pkgconfig_DATA = gwengui-fox16.pc
|
||
... | ... | |
noinst_LTLIBRARIES=libgwengui_fox16.la
|
||
|
||
noinst_HEADERS=\
|
||
cppdialog.hpp cppdialog_p.hpp \
|
||
cppgui.hpp cppgui_p.hpp \
|
||
fox16_gui.hpp \
|
||
cppdialog_p.hpp \
|
||
cppgui_p.hpp \
|
||
fox16_gui_dialog_l.hpp \
|
||
fox16_gui_sortinglist_l.hpp \
|
||
fox16_gui_updater_l.hpp
|
||
... | ... | |
fox16_gui_dialog.cpp \
|
||
fox16_gui_sortinglist.cpp \
|
||
fox16_gui_updater.cpp
|
||
|
||
iheaderdir=${includedir}/gwen-gui-fox16
|
||
iheader_HEADERS=\
|
||
cppgui.hpp \
|
||
cppdialog.hpp \
|
||
fox16_gui.hpp
|
||
|
gui/fox16/cppgui.cpp | ||
---|---|---|
#include <gwenhywfar/debug.h>
|
||
|
||
|
||
#define I18N(msg) GWEN_I18N_Translate("aqfinance", msg)
|
||
|
||
|
||
|
||
|
||
GWEN_INHERIT(GWEN_GUI, CppGui);
|
||
|
gui/fox16/cppgui.hpp | ||
---|---|---|
|
||
class CppGui;
|
||
|
||
#include "cppdialog.hpp"
|
||
#include <gwen-gui-fox16/cppdialog.hpp>
|
||
|
||
|
||
/**
|
gui/fox16/fox16_gui.cpp | ||
---|---|---|
|
||
#include "fox16_gui.hpp"
|
||
#include "fox16_gui_dialog_l.hpp"
|
||
#include "fox16_gui_updater_l.hpp"
|
||
|
||
#include <gwenhywfar/debug.h>
|
||
|
||
... | ... | |
:CppGui()
|
||
,m_app(a)
|
||
,m_lastId(0)
|
||
,m_updater()
|
||
{
|
||
m_updater=new FOX16_GuiUpdater();
|
||
GWEN_Gui_AddFlags(_gui, GWEN_GUI_FLAGS_DIALOGSUPPORTED);
|
||
GWEN_Gui_UseDialogs(_gui);
|
||
GWEN_Gui_SetName(_gui, "fox16-gui");
|
||
... | ... | |
if (!m_scopeList.empty()) {
|
||
DBG_ERROR(0, "ScopeList is not empty!");
|
||
}
|
||
|
||
if (m_updater)
|
||
delete m_updater;
|
||
}
|
||
|
||
|
||
... | ... | |
}
|
||
|
||
foxDlg->openDialog();
|
||
m_updater.guiUpdate();
|
||
m_updater->guiUpdate();
|
||
|
||
return 0;
|
||
}
|
||
... | ... | |
|
||
foxDlg->closeDialog();
|
||
delete foxDlg;
|
||
m_updater.guiUpdate();
|
||
m_updater->guiUpdate();
|
||
|
||
return 0;
|
||
}
|
||
... | ... | |
if (untilEnd)
|
||
return foxDlg->cont();
|
||
else {
|
||
m_updater.guiUpdate();
|
||
m_updater->guiUpdate();
|
||
return 0;
|
||
}
|
||
}
|
gui/fox16/fox16_gui.hpp | ||
---|---|---|
#ifndef FOX16_GUI_HPP
|
||
#define FOX16_GUI_HPP
|
||
|
||
#include "cppgui.hpp"
|
||
#include "fox16_gui_updater_l.hpp"
|
||
#include <gwen-gui-fox16/cppgui.hpp>
|
||
|
||
#include <fx.h>
|
||
|
||
#include <list>
|
||
|
||
|
||
class FOX16_GuiUpdater;
|
||
|
||
|
||
class FOX16GUI_API FOX16_Gui: public CppGui {
|
||
... | ... | |
WinScopePtrList m_scopeList;
|
||
uint32_t m_lastId;
|
||
|
||
FOX16_GuiUpdater m_updater;
|
||
FOX16_GuiUpdater *m_updater;
|
||
|
||
};
|
||
|
gui/qt3/qt3_gui_dialog.cpp | ||
---|---|---|
}
|
||
|
||
if (wt) {
|
||
int x, y;
|
||
int x=0, y=0;
|
||
int c;
|
||
|
||
if ((c=GWEN_Widget_GetColumns(gwParent))) {
|
gui/qt4/libtest.cpp | ||
---|---|---|
QString lf;
|
||
int rv;
|
||
uint32_t pid;
|
||
int i;
|
||
|
||
rv=GWEN_Init();
|
||
if (rv) {
|
gui/qt4/qt4_gui_dialog.cpp | ||
---|---|---|
}
|
||
|
||
if (wt) {
|
||
int x, y;
|
||
int x=0, y=0;
|
||
int c;
|
||
|
||
if ((c=GWEN_Widget_GetColumns(gwParent))) {
|
gui/qt4/qt4dialogbox.hpp | ||
---|---|---|
|
||
|
||
#endif
|
||
|
Auch abrufbar als: Unified diff
More build system fixes regarding the GUI framework.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1649 70169cfe-8b10-0410-8925-dcb4b91034d8