Logo Search packages:      
Sourcecode: lemonpos version File versions

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 47 of file squeezeview.h.


Signals

void signalAdminLoggedOff ()
void signalAdminLoggedOn ()
void signalChangeCaption (const QString &text)
void signalChangeStatusbar (const QString &text)
void signalConnectActions ()
void signalConnected ()
void signalDisconnected ()
void signalSalir ()
void signalShowPrefs ()

Public Member Functions

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

Private Slots

void adjustOffersTable ()
void adjustProductsTable ()
void checkDBStatus ()
void cleanErrorLabel ()
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 disableUI ()
void doEmitSignalConnectActions ()
void doEmitSignalSalir ()
void doPurchase ()
void enableUI ()
void login ()
void populateCategoriesHash ()
void productsViewOnSelected (const QModelIndex &index)
void setBalancesFilter ()
void setOffersFilter ()
void setProductsFilter ()
void settingsChanged ()
void setTransactionsFilter ()
void setupBalancesModel ()
void setupCategoriesModel ()
void setupClientsModel ()
void setupDb ()
void setupGraphs ()
void setupMeasuresModel ()
void setupOffersModel ()
void setupProductsModel ()
void setupSignalConnections ()
void setupTransactionsModel ()
void setupUsersModel ()
void showBalancesPage ()
void showCategoriesPage ()
void showClientsPage ()
void showMeasuresPage ()
void showOffersPage ()
void showPrefs ()
void showProdListAsGrid ()
void showProdListAsTable ()
void showProductsPage ()
void showTransactionsPage ()
void showUsersPage ()
void showWelcomeGraphs ()
void toggleFilterBox (bool show)
void updateCategoriesCombo ()
void updateGraphs ()
void usersViewOnSelected (const QModelIndex &index)

Private Attributes

QString activeDb
int addressIndex
bool adminIsLogged
int balanceCardIndex
int balanceCashIndex
int balanceDateEndIndex
int balanceDateStartIndex
int balanceIdIndex
int balanceInIndex
int balanceInitAmountIndex
int balanceOutIndex
QSqlTableModel * balancesModel
int balanceTerminalNumIndex
int balanceTransIndex
int balanceUseridIndex
int balanceUserNameIndex
QHash< QString, int > categoriesHash
QSqlTableModel * categoriesModel
int cellIndex
QSqlTableModel * clientsModel
int counter
QSqlDatabase db
LoginWindowdlgPassword
bool graphSoldItemsCreated
QSqlTableModel * measuresModel
bool modelsOk
int nameIndex
KPlotObject * objProfit
KPlotObject * objSales
int offerDateEndIndex
int offerDateStartIndex
int offerDiscountIndex
int offerIdIndex
int offerProdIdIndex
QSqlRelationalTableModel * offersModel
int passwordIndex
int phoneIndex
int photoIndex
PieChart * pieAlmostSoldOutItems
PieChart * pieSoldItems
int productCategoryIndex
int productCodeIndex
int productCostIndex
int productDescIndex
int productETaxIndex
int productLastSoldIndex
int productPhotoIndex
int productPointsIndex
int productPriceIndex
QSqlRelationalTableModel * productsModel
int productSoldUnitsIndex
int productStockIndex
int productTaxIndex
int productUnitsIndex
int roleIndex
int saltIndex
QTimer * timerCheckDb
QTimer * timerUpdateGraphs
QSqlRelationalTableModel * transactionsModel
int transAmountIndex
int transCardAuthNumberIndex
int transCardNumIndex
int transChangeGivenIndex
int transClientidIndex
int transDateIndex
int transDiscIndex
int transDiscMoneyIndex
int transIdIndex
int transItemCountIndex
int transItemsListIndex
int transPaidWithIndex
int transPayMethodIndex
int transPointsIndex
int transStateIndex
int transTerminalNumIndex
int transTimeIndex
int transTypeIndex
int transUseridIndex
int transUtilityIndex
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