FactDev
0.1
|
The MainWindow class Main Window of the software. More...
#include <mainwindow.h>
Public Slots | |
void | addCustomer () |
MainWindow::addCustomer open window to add a new customer. | |
void | editCustomer () |
MainWindow::editCustomer open window to modify a customer. | |
void | removeCustomer () |
MainWindow::removeCustomer open a popup to confirm the deletion of a customer, if ok remove the customer. | |
void | archiveCustomer () |
MainWindow::archiveCustomer open a pop-up to confirm the archiving of the customer, if ok archive the customer. | |
void | addQuote () |
MainWindow::addQuote open window to add a new quote. More... | |
void | addBill () |
MainWindow::addBill open window to add a new bill. More... | |
void | billingIsPaid () |
MainWindow::billingIsPaid Define the current billing as "paid". | |
void | editUser () |
MainWindow::editUser modify the user. More... | |
void | search (QString s) |
MainWindow::search launch a new search. More... | |
void | addProject () |
MainWindow::addProject Create a new project for a customer. More... | |
void | removeProject () |
MainWindow::removeProject Remove a project for a customer. | |
void | editProject () |
MainWindow::editProject Modify the customer project. | |
void | aboutQt () |
MainWindow::aboutQt show Qt's details. | |
void | aboutFact () |
MainWindow::aboutFact show FACT's details (FACT team) | |
void | aboutFactDev () |
MainWindow::aboutFactDev() show FactDev's details (FactDev Software) | |
void | aboutIcons () |
MainWindow::aboutIcons() show icons's details. | |
void | updateButtons () |
updateButton Update all button to disable or enabled its | |
void | editDoc () |
MainWindow::editDoc Edit the quote or bill of the project. | |
void | removeDoc () |
MainWindow::removeDoc Remove the quote or bill of the project. | |
void | copyDoc () |
MainWindow::copyDoc Copy all elements of a quote or a bill and Display these elements in a new quote or bill. | |
void | openPdf () |
MainWindow::openPdf Open the PDF file of the current Quote or Billing selected in the TableView. | |
void | computeTurnover () |
MainWindow::computeTurnover open window to allow computation of a period turnover. | |
void | globalStatistics () |
MainWindow::globalStatistics. | |
void | customerStatistics () |
MainWindow::customerStatistics. | |
void | lockProject () |
lockProject Lock the current project | |
void | mergeDocks () |
MainWindow::mergeDocks. | |
Public Member Functions | |
MainWindow (QWidget *parent=0) | |
MainWindow: Construct a window. More... | |
int | getCurrentCustomerId () |
MainWindow::getCurrentCustomerId get the selected customer. More... | |
int | getCurrentProjectId () |
MainWindow::getCurrentProjectId get the selected project id. More... | |
int | getCurrentQuoteId () |
MainWindow::getCurrentQuoteId get the selected quote id. More... | |
QString | getCurrentCustomerName () |
MainWindow::getCurrentCustomerName get the selected customer name in the customers' table. More... | |
QString | getCurrentProjectName () |
MainWindow::getCurrentProjectName get the selected project name in the table of projects. More... | |
int | treeLevel () |
MainWindow::treeLevel return the level of the node selected in the tree. More... | |
QModelIndex | rootTree () |
MainWindow::rootTree return the root of the tree "Tous les
clients". More... | |
void | addDoc (bool isBilling) |
MainWindow::addDoc open window to add a new document. More... | |
void | resizeEvent (QResizeEvent *event) |
MainWindow::resizeEvent Resize central TableView when you resize the MainWindow More... | |
void | responsiveCustomerTable () |
MainWindow::responsiveCustomerTable Resize the Customer TableView according it resolution. | |
void | responsiveProjectTable () |
MainWindow::responsiveProjectTable Resize the Project TableView according it resolution. | |
void | responsiveBillingTable () |
MainWindow::responsiveBillingTable Resize the Billing TableView according it resolution. | |
bool | isEasterEgg (const QString filter) |
MainWindow::isEasterEgg Return TRUE if search filter is FleuryMigeon42 else FALSE. More... | |
The MainWindow class Main Window of the software.
|
explicit |
MainWindow: Construct a window.
parent |
|
slot |
MainWindow::addBill open window to add a new bill.
void Gui::MainWindow::addDoc | ( | bool | isBilling | ) |
MainWindow::addDoc open window to add a new document.
bool | quote or bill |
|
slot |
MainWindow::addProject Create a new project for a customer.
|
slot |
MainWindow::addQuote open window to add a new quote.
|
slot |
MainWindow::editUser modify the user.
int Gui::MainWindow::getCurrentCustomerId | ( | ) |
MainWindow::getCurrentCustomerId get the selected customer.
QString Gui::MainWindow::getCurrentCustomerName | ( | ) |
MainWindow::getCurrentCustomerName get the selected customer name in the customers' table.
int Gui::MainWindow::getCurrentProjectId | ( | ) |
MainWindow::getCurrentProjectId get the selected project id.
QString Gui::MainWindow::getCurrentProjectName | ( | ) |
MainWindow::getCurrentProjectName get the selected project name in the table of projects.
int Gui::MainWindow::getCurrentQuoteId | ( | ) |
MainWindow::getCurrentQuoteId get the selected quote id.
bool Gui::MainWindow::isEasterEgg | ( | const QString | filter | ) |
MainWindow::isEasterEgg Return TRUE if search filter is FleuryMigeon42 else FALSE.
filter | Search filter |
void Gui::MainWindow::resizeEvent | ( | QResizeEvent * | event | ) |
MainWindow::resizeEvent Resize central TableView when you resize the MainWindow
event | Resize event |
QModelIndex Gui::MainWindow::rootTree | ( | ) |
MainWindow::rootTree return the root of the tree "Tous les clients".
|
slot |
MainWindow::search launch a new search.
s | text in field |
int Gui::MainWindow::treeLevel | ( | ) |
MainWindow::treeLevel return the level of the node selected in the tree.