Logo Search packages:      
Sourcecode: lemonpos-kde4 version File versions  Download package

squeezeView Class Reference

#include <squeezeview.h>

List of all members.


Detailed Description

Main view.

This is the main view class for squeeze. Most of the non-menu, non-toolbar, and non-statusbar (e.g., non frame) GUI code should go here.

This squeeze uses an HTML component as an example.

Author:
Miguel Chavez Gamboa <miguel.chavez.gamboa@gmail.com>
Version:
0.1

Definition at line 43 of file squeezeview.h.


Signals

void signalChangeCaption (const QString &text)
void signalChangeStatusbar (const QString &text)
void signalConnected ()
void signalDisconnected ()

Public Member Functions

void closeDB ()
bool isConnected ()
void openDB ()
 squeezeView (QWidget *parent)

Private Slots

void clientsViewOnSelected (const QModelIndex &index)
void createCategory ()
void createClient ()
void createMeasure ()
void createOffer ()
void createProduct ()
void createUser ()
void deleteSelectedCategory ()
void deleteSelectedClient ()
void deleteSelectedMeasure ()
void deleteSelectedOffer ()
void deleteSelectedProduct ()
void deleteSelectedUser ()
void doPurchase ()
void login ()
void populateCategoriesHash ()
void productsViewOnSelected (const QModelIndex &index)
void setOffersFilter ()
void setProductsFilter ()
void settingsChanged ()
void setupCategoriesModel ()
void setupClientsModel ()
void setupDb ()
void setupMeasuresModel ()
void setupOffersModel ()
void setupProductsModel ()
void setupSignalConnections ()
void setupUsersModel ()
void showCategoriesPage ()
void showClientsPage ()
void showMeasuresPage ()
void showOffersPage ()
void showProductsPage ()
void showUsersPage ()
void toggleFilterBox (bool show)
void usersViewOnSelected (const QModelIndex &index)

Private Attributes

QString activeDb
int addressIndex
QHash< QString, int > categoriesHash
QSqlTableModel * categoriesModel
int cellIndex
QSqlTableModel * clientsModel
QSqlDatabase db
QSqlTableModel * measuresModel
int nameIndex
int offerDayIndex
int offerDiscountIndex
int offerIdIndex
int offerMonthIndex
int offerProdIdIndex
QSqlRelationalTableModel * offersModel
int offerYearIndex
int passwordIndex
int phoneIndex
int photoIndex
int productCategoryIndex
int productCodeIndex
int productCostIndex
int productDescIndex
int productETaxIndex
int productLastSoldIndex
int productPhotoIndex
int productPriceIndex
QSqlRelationalTableModel * productsModel
int productSoldUnitsIndex
int productStockIndex
int productTaxIndex
int productUnitsIndex
int roleIndex
int saltIndex
Ui::squeezeview_base ui_mainview
int userIdIndex
int usernameIndex
QSqlTableModel * usersModel

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index