QlFileData Struct Reference

#include <types.h>


Detailed Description

Implements Model-View-Controller QlFileData includes the mode enumerators and file data - model QlViewData includes the widget and the sheet pointers The controller is GtkSheet/quicklist toolbar.

One QlViewData and one QlFileData per file. Each file has one Display tab and optional report tabs.

Todo:
Need a ReportView as well. Then have only one fileView and one fileData for each fileTab.

Definition at line 178 of file types.h.


Data Fields

QlFilterInfofilter_ptr
QlSortInfosort_ptr
QlReportInforeport_ptr
GHashTable * fields
gint16 col_to_field [MAX_FIELDS+1]
QlSortInfo sorts [MAX_SORTS+1]
QlFilterInfo filters [MAX_FILTERS+1]
QlReportInfo reports [MAX_REPORTS+1]
QlFileType current_file
gchar * file_name
GnomeVFSHandle * vfshandle
gchar * file_path
gint16 last_field
gint16 sort_ct
gint16 filter_ct
gint16 report_ct
gint32 last_row
gboolean changed
gint report_no
QlFileType file_type

Field Documentation

QlFilterInfo* QlFileData::filter_ptr

Todo:
zero is none - replace with GList

Definition at line 181 of file types.h.

QlSortInfo* QlFileData::sort_ptr

Todo:
zero is none - replace with GList

Definition at line 183 of file types.h.

QlReportInfo* QlFileData::report_ptr

Todo:
zero is none - replace with GList

Definition at line 185 of file types.h.

gint16 QlFileData::col_to_field[MAX_FIELDS+1]

converts col 0 to field 2, etc

Todo:
FIXME

Definition at line 188 of file types.h.

QlSortInfo QlFileData::sorts[MAX_SORTS+1]

Todo:
replace with GList

Definition at line 190 of file types.h.

QlFilterInfo QlFileData::filters[MAX_FILTERS+1]

Todo:
replace with GList

Definition at line 192 of file types.h.

QlReportInfo QlFileData::reports[MAX_REPORTS+1]

Todo:
replace with GList

Definition at line 194 of file types.h.

QlFileType QlFileData::current_file

Todo:
make into a list

Definition at line 196 of file types.h.

gchar* QlFileData::file_name

basename without path

Definition at line 198 of file types.h.

GnomeVFSHandle* QlFileData::vfshandle

vfs support

Definition at line 200 of file types.h.

gchar* QlFileData::file_path

the complete filename and path

Definition at line 202 of file types.h.

gint16 QlFileData::last_field

Todo:
replace these with functions

Definition at line 204 of file types.h.

gint16 QlFileData::sort_ct

IF 4 fields, value will be 3

Definition at line 205 of file types.h.

gint16 QlFileData::filter_ct

IF 4 sorts, value will be 4

Definition at line 206 of file types.h.

gint16 QlFileData::report_ct

if 4 filters, value will be 4

Definition at line 207 of file types.h.

gint32 QlFileData::last_row

if 4 reports, value will be 4

Definition at line 208 of file types.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jan 28 22:02:11 2008 for quicklist by  doxygen 1.5.4