QElectroTech  0.8-dev
Public Member Functions | Static Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
SummaryQueryWidget Class Reference

#include <summaryquerywidget.h>

Inherits QWidget.

Collaboration diagram for SummaryQueryWidget:
Collaboration graph

Public Member Functions

 SummaryQueryWidget (QWidget *parent=nullptr)
 SummaryQueryWidget::SummaryQueryWidget. More...
 
 ~SummaryQueryWidget ()
 SummaryQueryWidget::~SummaryQueryWidget. More...
 
QString queryStr () const
 SummaryQueryWidget::queryStr. More...
 
void setQuery (const QString &query)
 SummaryQueryWidget::setQuery. More...
 

Static Public Member Functions

static QString modelIdentifier ()
 

Private Slots

void on_m_available_list_itemDoubleClicked (QListWidgetItem *item)
 SummaryQueryWidget::on_m_available_list_itemDoubleClicked. More...
 
void on_m_choosen_list_itemDoubleClicked (QListWidgetItem *item)
 SummaryQueryWidget::on_m_choosen_list_itemDoubleClicked. More...
 
void on_m_up_pb_clicked ()
 SummaryQueryWidget::on_m_up_pb_clicked. More...
 
void on_m_add_pb_clicked ()
 SummaryQueryWidget::on_m_add_pb_clicked. More...
 
void on_m_remove_pb_clicked ()
 SummaryQueryWidget::on_m_remove_pb_clicked. More...
 
void on_m_down_pb_clicked ()
 SummaryQueryWidget::on_m_down_pb_clicked. More...
 
void on_m_edit_sql_query_cb_clicked ()
 SummaryQueryWidget::on_m_edit_sql_query_cb_clicked. More...
 
void reset ()
 SummaryQueryWidget::reset Clear this widget aka set to initial state. More...
 
void saveConfig ()
 SummaryQueryWidget::saveConfig. More...
 
void loadConfig ()
 SummaryQueryWidget::loadConfig. More...
 

Private Member Functions

void setUpItems ()
 SummaryQueryWidget::setUpItems. More...
 
void fillSavedQuery ()
 SummaryQueryWidget::fillSavedQuery Fill the combo box of the saved query. More...
 
void updateQueryLine ()
 SummaryQueryWidget::updateQueryLine. More...
 
QStringList selectedKeys () const
 SummaryQueryWidget::selectedKeys. More...
 

Private Attributes

Ui::SummaryQueryWidget * ui
 
QList< QListWidgetItem * > m_items_list
 
QString m_custom_query
 

Constructor & Destructor Documentation

◆ SummaryQueryWidget()

SummaryQueryWidget::SummaryQueryWidget ( QWidget *  parent = nullptr)
explicit

SummaryQueryWidget::SummaryQueryWidget.

Parameters
parent
Here is the call graph for this function:

◆ ~SummaryQueryWidget()

SummaryQueryWidget::~SummaryQueryWidget ( )

Member Function Documentation

◆ fillSavedQuery()

void SummaryQueryWidget::fillSavedQuery ( )
private

SummaryQueryWidget::fillSavedQuery Fill the combo box of the saved query.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadConfig

void SummaryQueryWidget::loadConfig ( )
privateslot

SummaryQueryWidget::loadConfig.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ modelIdentifier()

static QString SummaryQueryWidget::modelIdentifier ( )
inlinestatic

◆ on_m_add_pb_clicked

void SummaryQueryWidget::on_m_add_pb_clicked ( )
privateslot

SummaryQueryWidget::on_m_add_pb_clicked.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_m_available_list_itemDoubleClicked

void SummaryQueryWidget::on_m_available_list_itemDoubleClicked ( QListWidgetItem *  item)
privateslot

SummaryQueryWidget::on_m_available_list_itemDoubleClicked.

Parameters
item
Here is the call graph for this function:

◆ on_m_choosen_list_itemDoubleClicked

void SummaryQueryWidget::on_m_choosen_list_itemDoubleClicked ( QListWidgetItem *  item)
privateslot

SummaryQueryWidget::on_m_choosen_list_itemDoubleClicked.

Parameters
item
Here is the call graph for this function:

◆ on_m_down_pb_clicked

void SummaryQueryWidget::on_m_down_pb_clicked ( )
privateslot

SummaryQueryWidget::on_m_down_pb_clicked.

Here is the call graph for this function:

◆ on_m_edit_sql_query_cb_clicked

void SummaryQueryWidget::on_m_edit_sql_query_cb_clicked ( )
privateslot

SummaryQueryWidget::on_m_edit_sql_query_cb_clicked.

Here is the call graph for this function:

◆ on_m_remove_pb_clicked

void SummaryQueryWidget::on_m_remove_pb_clicked ( )
privateslot

SummaryQueryWidget::on_m_remove_pb_clicked.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_m_up_pb_clicked

void SummaryQueryWidget::on_m_up_pb_clicked ( )
privateslot

SummaryQueryWidget::on_m_up_pb_clicked.

Here is the call graph for this function:

◆ queryStr()

QString SummaryQueryWidget::queryStr ( ) const

SummaryQueryWidget::queryStr.

Returns
The current query string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset

void SummaryQueryWidget::reset ( )
privateslot

SummaryQueryWidget::reset Clear this widget aka set to initial state.

Here is the caller graph for this function:

◆ saveConfig

void SummaryQueryWidget::saveConfig ( )
privateslot

SummaryQueryWidget::saveConfig.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ selectedKeys()

QStringList SummaryQueryWidget::selectedKeys ( ) const
private

SummaryQueryWidget::selectedKeys.

Returns
Here is the caller graph for this function:

◆ setQuery()

void SummaryQueryWidget::setQuery ( const QString &  query)

SummaryQueryWidget::setQuery.

Parameters
queryset the current query to query. If it's possible, rebuild the state of the widget from the query
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUpItems()

void SummaryQueryWidget::setUpItems ( )
private

SummaryQueryWidget::setUpItems.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateQueryLine()

void SummaryQueryWidget::updateQueryLine ( )
private

SummaryQueryWidget::updateQueryLine.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_custom_query

QString SummaryQueryWidget::m_custom_query
private

◆ m_items_list

QList<QListWidgetItem *> SummaryQueryWidget::m_items_list
private

◆ ui

Ui::SummaryQueryWidget* SummaryQueryWidget::ui
private

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