QElectroTech 0.200.1-dev
Loading...
Searching...
No Matches
SummaryQueryWidget Class Reference

#include <summaryquerywidget.h>

Inherits QWidget.

Collaboration diagram for SummaryQueryWidget:
Collaboration graph

Public Member Functions

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

Static Public Member Functions

static QString modelIdentifier ()

Private Slots

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

Private Member Functions

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

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:
Here is the caller 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()

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: