patches from Dirk Scheonberger of Fri Apr 9 15:13:34 1999

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1687 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/xacc-12-patch
Linas Vepstas 27 years ago
parent f7201388fa
commit 4e23a304c3

@ -45,7 +45,7 @@ COMMON_SRCS := basiccell.c cellblock.c \
table-allgui.c table-html.c textcell.c
MOTIF_SRCS := table-motif.c combocell-motif.c
GNOME_SRCS := table-gtk.c combocell-gtk.c
QT_SRCS :=
QT_SRCS := table-qt.cpp combocell-qt.cpp
######################################################################
all:

@ -33,6 +33,10 @@
#include "table-allgui.h"
#include "util.h"
#ifdef KDE
#define TRUE (1==1)
#endif
static void xaccFreeTableEntries (Table * table);
static void xaccTableResize (Table * table,
int new_phys_rows, int new_phys_cols,

@ -66,6 +66,7 @@
#include "table-qt.h"
#endif
#include "basiccell.h"
#include "cellblock.h"

@ -27,22 +27,41 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
\********************************************************************/
extern "C" {
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cellblock.h"
#include "table-allgui.h"
/* This static indicates the debugging module that this .o belongs to. */
static short module = MOD_QT_REG;
// static short module = MOD_QT_REG;
/* ==================================================== */
void
xaccNextTabGroup (Table *table, GtkWidget * w) {
table->next_tab_group = w;
xaccNextTabGroup (Table *table, void * w) {
// table->next_tab_group = w;
}
/* ==================================================== */
void
doRefreshCursorGUI (Table * table, CellBlock *curs, int from_row, int from_col)
{
}
void
xaccCreateCursor (Table *table, CellBlock *curs)
{
}
void
xaccRefreshTableGUI (Table * table) {
}
#if 0
static int
@ -165,8 +184,8 @@ cell_left(Table *table, const int row, const int col) {
/* ==================================================== */
QWidget *
xaccCreateTable (Table *table, QWidget *parent) {
void *
xaccCreateTable (Table *table, void *parent) {
return NULL;
}
@ -266,6 +285,10 @@ doRefreshCursorGUI (Table * table, CellBlock *curs, int from_row, int from_col)
}
}
#endif
}
/* ================== end of file ======================= */

@ -31,8 +31,6 @@
#ifndef __XACC_TABLE_QT_H__
#define __XACC_TABLE_QT_H__
#include <qwidget.h>
#define TABLE_PRIVATE_DATA
#define TABLE_PRIVATE_DATA_INIT(table) {}
@ -44,9 +42,9 @@
typedef struct _Table Table;
/* create the GtkWidget */
QWidget *xaccCreateTable (Table *, QWidget *parent);
void xaccNextTabGroup (Table *, QWidget*);
/* create the QT Widget */
void *xaccCreateTable (Table *, void *parent);
void xaccNextTabGroup (Table *, void*);
/* redraw the table GUI */
void xaccRefreshTableGUI (Table *);

Loading…
Cancel
Save