OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CSVFilter::EditWidget Class Reference

#include <editwidget.hpp>

Inheritance diagram for CSVFilter::EditWidget:
Collaboration diagram for CSVFilter::EditWidget:

Signals

void filterChanged (std::shared_ptr< CSMFilter::Node > filter)
 

Public Member Functions

 EditWidget (CSMWorld::Data &data, QWidget *parent=0)
 
void createFilterRequest (std::vector< std::pair< std::string, std::vector< std::string > > > &filterSource, Qt::DropAction action)
 

Private Slots

void textChanged (const QString &text)
 
void filterDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
void filterRowsRemoved (const QModelIndex &parent, int start, int end)
 
void filterRowsInserted (const QModelIndex &parent, int start, int end)
 

Private Member Functions

std::string generateFilter (std::pair< std::string, std::vector< std::string > > &seekedString) const
 

Private Attributes

CSMFilter::Parser mParser
 
QPalette mPalette
 
bool mIsEmpty
 
int mStateColumnIndex
 
int mDescColumnIndex
 

Constructor & Destructor Documentation

CSVFilter::EditWidget::EditWidget ( CSMWorld::Data data,
QWidget parent = 0 
)

Here is the call graph for this function:

Member Function Documentation

void CSVFilter::EditWidget::createFilterRequest ( std::vector< std::pair< std::string, std::vector< std::string > > > &  filterSource,
Qt::DropAction  action 
)
void CSVFilter::EditWidget::filterChanged ( std::shared_ptr< CSMFilter::Node filter)
signal
void CSVFilter::EditWidget::filterDataChanged ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight 
)
privateslot

Here is the caller graph for this function:

void CSVFilter::EditWidget::filterRowsInserted ( const QModelIndex &  parent,
int  start,
int  end 
)
privateslot

Here is the caller graph for this function:

void CSVFilter::EditWidget::filterRowsRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
privateslot

Here is the caller graph for this function:

std::string CSVFilter::EditWidget::generateFilter ( std::pair< std::string, std::vector< std::string > > &  seekedString) const
private
void CSVFilter::EditWidget::textChanged ( const QString &  text)
privateslot
Todo:
improve error reporting; mark only the faulty part

Here is the caller graph for this function:

Member Data Documentation

int CSVFilter::EditWidget::mDescColumnIndex
private
bool CSVFilter::EditWidget::mIsEmpty
private
QPalette CSVFilter::EditWidget::mPalette
private
CSMFilter::Parser CSVFilter::EditWidget::mParser
private
int CSVFilter::EditWidget::mStateColumnIndex
private

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