BigBlueBox
An Inventory Management System for a NYLT Course or other Boy Scout Programs
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ReportsView Class Reference

#include <reportsView.h>

Inheritance diagram for ReportsView:
Inheritance graph
[legend]
Collaboration diagram for ReportsView:
Collaboration graph
[legend]

Public Member Functions

 ReportsView (QWidget *parent=0)
 
 ~ReportsView ()
 

Private Slots

void on_tableWidget_inv_cellDoubleClicked (int row, int column)
 
void on_pushButton_edit_clicked ()
 
void on_checkBox_editsOn_clicked ()
 
void on_comboBox_currentIndexChanged (int index)
 
void on_comboBox_addDel_activated (int index)
 
void on_pushButton_makeReport_clicked ()
 
void on_comboBox_addDel_currentIndexChanged (const QString &arg1)
 
void on_pushButton_addDelete_clicked ()
 

Private Member Functions

void sendRowToToolBox (QStringList row)
 Sends the doubleclicked row to the tool box. More...
 
void initTableInv ()
 Sets up the inventoy table. More...
 
void fillTableInv ()
 Fills the inventory table from the database. More...
 
void clearTable ()
 
void addItem ()
 
void deleteItem ()
 
QString getOrgItemNameFromToolBox ()
 
bbb::Row getNewRowFromToolBox ()
 
QPair< QString, bbb::RowmakePair (QString orgName, bbb::Row r2)
 
void updateStoredVector (QPair< QString, bbb::Row > rowForUpdate)
 
void updateDataBase (QPair< QString, bbb::Row > rowForUpdate)
 

Private Attributes

Ui::ReportsView * ui
 
QVector< bbb::ItemfullInventory
 
QString orgItemName
 
QPair< QString, bbb::RowrowForUpdate
 

Constructor & Destructor Documentation

ReportsView::ReportsView ( QWidget *  parent = 0)
explicit

Here is the call graph for this function:

ReportsView::~ReportsView ( )

Member Function Documentation

void ReportsView::addItem ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void ReportsView::clearTable ( )
private

Here is the caller graph for this function:

void ReportsView::deleteItem ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

void ReportsView::fillTableInv ( )
private

Fills the inventory table from the database.

Author
Bob Baker

Here is the call graph for this function:

Here is the caller graph for this function:

bbb::Row ReportsView::getNewRowFromToolBox ( )
private
QString ReportsView::getOrgItemNameFromToolBox ( )
private

Here is the caller graph for this function:

void ReportsView::initTableInv ( )
private

Sets up the inventoy table.

Author
Bob Baker

Here is the caller graph for this function:

QPair<QString, bbb::Row> ReportsView::makePair ( QString  orgName,
bbb::Row  r2 
)
private
void ReportsView::on_checkBox_editsOn_clicked ( )
privateslot
void ReportsView::on_comboBox_addDel_activated ( int  index)
privateslot
void ReportsView::on_comboBox_addDel_currentIndexChanged ( const QString &  arg1)
privateslot
void ReportsView::on_comboBox_currentIndexChanged ( int  index)
privateslot
void ReportsView::on_pushButton_addDelete_clicked ( )
privateslot

Here is the call graph for this function:

void ReportsView::on_pushButton_edit_clicked ( )
privateslot

Here is the call graph for this function:

void ReportsView::on_pushButton_makeReport_clicked ( )
privateslot

Here is the call graph for this function:

void ReportsView::on_tableWidget_inv_cellDoubleClicked ( int  row,
int  column 
)
privateslot

Here is the call graph for this function:

void ReportsView::sendRowToToolBox ( QStringList  row)
private

Sends the doubleclicked row to the tool box.

Author
Bob Baker

Here is the call graph for this function:

Here is the caller graph for this function:

void ReportsView::updateDataBase ( QPair< QString, bbb::Row rowForUpdate)
private
void ReportsView::updateStoredVector ( QPair< QString, bbb::Row rowForUpdate)
private

Member Data Documentation

QVector<bbb::Item> ReportsView::fullInventory
private
QString ReportsView::orgItemName
private
QPair<QString, bbb::Row> ReportsView::rowForUpdate
private
Ui::ReportsView* ReportsView::ui
private

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