Files | |
file | callbacks.c |
Callbacks for Glade-generated interface. | |
file | callbacks.h |
Callbacks for Glade-generated interface. | |
file | db_connect_dlg.c |
Database connect dialog. | |
file | db_connect_dlg.h |
Database connection dialog. | |
file | dialogs.c |
Dialog module. | |
file | dialogs.h |
Dialog module include file. | |
file | drag.c |
Drag/drop routines. | |
file | drag.h |
Include file for drag/drop module. | |
file | export.c |
Functions to export results to files. | |
file | export.h |
Include file for export functions. | |
file | exporthtml.c |
Functions to export results to files. | |
file | exporthtml.h |
Include file for HTML export functions. | |
file | exporttext.c |
Module containing the text export functions and dialog. | |
file | exporttext.h |
Include file for text export functions and the text export dialog. | |
file | gui.c |
Implements the GUI API. | |
file | gui.h |
file | gui_common.c |
Common GUI functions. | |
file | gui_common.h |
Common GUI items. | |
file | guiapi.c |
Interface to menu module. | |
file | guiapi.h |
Interface to menu module. | |
file | menus.c |
This file should contain all menu functions and declarations. | |
file | menus.h |
Interface to menu module. | |
file | mytoolbar.c |
Toolbar functions. | |
file | mytoolbar.h |
Toolbar functions include file. | |
file | queries.c |
Functions to handle queries. | |
file | queries.h |
Interface to query display module. | |
file | query_import_dlg.c |
Query import dialog. | |
file | query_import_dlg.h |
Query save dialog interface. | |
file | query_save_dlg.c |
Query save dialog. | |
file | query_save_dlg.h |
Query save dialog interface. | |
file | querydata.c |
Interface to query data module. | |
file | querydata.h |
Interface to query data module. | |
file | status.c |
Status bar functions. | |
file | status.h |
Interface to status bar module. | |
file | tables.c |
Functions to handle the table information pane. | |
file | tables.h |
Interface to table list module. | |
file | workspace.c |
Workspace manager to load and save the applications state. | |
file | workspace.h |
Interface to workspace module. | |
Functions | |
void | gui_add_query (void) |
Add a new blank query. | |
char * | gui_get_connection_url (void) |
Get the URL for the current connection. | |
int | gui_get_query_count (void) |
Find the number of rows in the current result. | |
int | gui_get_result_columns () |
Find the number of columns in the current result. | |
char * | gui_get_result_field (int row, int column) |
Lookup a field text given a column and row. | |
int | gui_get_result_rows (void) |
Find the number of rows in the current result. | |
void | gui_init (int argc, char **argv) |
Initialise the GUI. | |
int | gui_connection_ok (void) |
Check if the GUI has a valid connection. | |
void | gui_delete_all_queries (void) |
Delete all open queries. | |
void | gui_disconnect (void) |
Disconnects the GUI's database connection. | |
DBConnection * | gui_get_connection (void) |
Get the current connection. | |
void | gui_load_query_from_file (char *filename) |
Load the current query from a file. | |
int | gui_run (void) |
Run the GUI. | |
void | gui_set_connection (DBConnection *con) |
Set the currently active connection. | |
void | gui_send_query () |
Send the query to the database. | |
void | gui_set_query_name (gchar *name) |
Set the name of the current query notebook page. | |
void | gui_set_query_text (char *txt) |
Set the text for the currently active query. |
|
Check if the GUI has a valid connection.
Definition at line 46 of file guiapi.c. References gui_get_connection(). Referenced by lic_addQuery(), lic_disconnect(), lic_runQuery(), on_fileQuit_activate(), and ws_save_file(). |
|
Get the current connection.
Definition at line 88 of file guiapi.c. Referenced by db_connect_dialog_reconnect(), disconnect_first(), export_html_dialog_show(), gui_connection_ok(), gui_disconnect(), gui_get_connection_url(), gui_get_result_columns(), gui_get_result_field(), gui_get_result_rows(), gui_send_query(), on_databaseDisconnect_activate(), query_delete_at_position(), results_display(), tables_connection_closed(), and tables_new_connection(). |
|
Get the URL for the current connection.
Definition at line 95 of file guiapi.c. References db_conn::connector, _dbconnector::db_frm, _dbconnector::form_to_url, and gui_get_connection(). Referenced by ws_save_file(). |
|
Find the number of rows in the current result.
Definition at line 111 of file guiapi.c. References query_count(). Referenced by lic_runQuery(). |
|
Find the number of columns in the current result.
Definition at line 117 of file guiapi.c. References db_conn::DBget_field_number, db_conn::DBget_query_status, gui_get_connection(), query_get_current(), and query_get_result(). Referenced by lic_columnCount(). |
|
Lookup a field text given a column and row.
Definition at line 141 of file guiapi.c. References db_conn::DBget_field_number, db_conn::DBget_field_value, db_conn::DBget_query_status, db_conn::DBget_record_number, gui_get_connection(), and query_get_current_result(). Referenced by lic_getField(). |
|
Find the number of rows in the current result.
Definition at line 164 of file guiapi.c. References db_conn::DBget_query_status, db_conn::DBget_record_number, gui_get_connection(), query_get_current(), and query_get_result(). Referenced by lic_rowCount(). |
|
Initialise the GUI.
Definition at line 187 of file guiapi.c. References db_connect_dialog_create(), get_rcname(), populate_mainWindow(), setup_widget_vars(), and update_button_sensitivity(). Referenced by main(). |
|
Load the current query from a file.
Definition at line 208 of file guiapi.c. References _a_buf::b_dat, _a_buf::b_len, buf_free(), buf_new(), get_short_filename(), gui_set_query_name(), query_clear(), query_get_current(), querydata_set_filename(), and querydata_set_unchanged(). Referenced by lic_loadQuery(). |
|
Run the GUI.
Definition at line 239 of file guiapi.c. References gui_get_workspace(). Referenced by main(). |
|
Set the currently active connection.
Definition at line 320 of file guiapi.c. References db_conn::DBget_db_name, gui_add_query(), gui_disconnect(), tables_new_connection(), and update_button_sensitivity(). Referenced by db_connect_dialog_reconnect(), and lic_connect(). |
|
Set the name of the current query notebook page. If name is NULL or an empty string, the call is ignored. Otherwise, the name is set as specified.
Definition at line 347 of file guiapi.c. References query_set_name(). Referenced by gui_load_query_from_file(), lic_addQuery(), on_queryImportDlgOkBtn_clicked(), and query_save_to_file(). |
|
Set the text for the currently active query.
Definition at line 354 of file guiapi.c. References query_clear(), query_get_current(), and querydata_set_unchanged(). Referenced by lic_addQuery(), and lic_runQuery(). |