#include <KoCsvImportDialog.h>
Graphe de collaboration de KoCsvImportDialog:
Types publics | |
enum | Header { TEXT, NUMBER, DATE, CURRENCY, COMMANUMBER, POINTNUMBER } |
Fonctions membres publiques | |
KoCsvImportDialog (QWidget *parent) | |
~KoCsvImportDialog () | |
void | setData (const QByteArray &data) |
bool | firstRowContainHeaders () |
bool | firstColContainHeaders () |
int | rows () |
int | cols () |
int | headerType (int col) |
QString | text (int row, int col) |
Connecteurs protégés | |
void | returnPressed () |
void | formatChanged (const QString &) |
void | delimiterClicked (int id) |
void | textquoteSelected (const QString &mark) |
void | currentCellChanged (int, int col) |
void | genericDelimiterChanged (const QString &) |
void | ignoreDuplicatesChanged (int) |
void | updateClicked () |
void | encodingChanged (const QString &) |
Fonctions membres protégées | |
void | fillTable () |
void | fillComboBox () |
void | setText (int row, int col, const QString &text) |
void | adjustRows (int iRows) |
void | adjustCols (int iCols) |
bool | checkUpdateRange () |
QTextCodec * | getCodec (void) const |
Attributs protégés | |
KoCsvImportWidget * | m_dialog |
bool | m_adjustRows |
bool | m_adjustCols |
int | m_startRow |
int | m_startCol |
int | m_endRow |
int | m_endCol |
QChar | m_textquote |
QString | m_delimiter |
bool | m_ignoreDups |
QByteArray | m_fileArray |
QTextCodec * | m_codec |
QStringList | m_formatList |
List of the column formats. |
Définition à la ligne 39 du fichier KoCsvImportDialog.h.
TEXT | Normal text. |
NUMBER | Number (either like locale or like C). |
DATE |
Date.
|
CURRENCY | Currency. |
COMMANUMBER | Number, which decimal symbol is a comma. |
POINTNUMBER | Number, which decimal symbol is a point/dot. |
Définition à la ligne 43 du fichier KoCsvImportDialog.h.
KoCsvImportDialog::KoCsvImportDialog | ( | QWidget * | parent | ) |
Définition à la ligne 45 du fichier KoCsvImportDialog.cpp.
KoCsvImportDialog::~KoCsvImportDialog | ( | ) |
Définition à la ligne 121 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::setData | ( | const QByteArray & | data | ) |
Définition à la ligne 131 du fichier KoCsvImportDialog.cpp.
bool KoCsvImportDialog::firstRowContainHeaders | ( | ) |
Définition à la ligne 138 du fichier KoCsvImportDialog.cpp.
bool KoCsvImportDialog::firstColContainHeaders | ( | ) |
Définition à la ligne 144 du fichier KoCsvImportDialog.cpp.
int KoCsvImportDialog::rows | ( | ) |
Définition à la ligne 150 du fichier KoCsvImportDialog.cpp.
int KoCsvImportDialog::cols | ( | ) |
Définition à la ligne 161 du fichier KoCsvImportDialog.cpp.
int KoCsvImportDialog::headerType | ( | int | col | ) |
Définition à la ligne 470 du fichier KoCsvImportDialog.cpp.
QString KoCsvImportDialog::text | ( | int | row, | |
int | col | |||
) |
Définition à la ligne 172 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::fillTable | ( | ) | [protected] |
Définition à la ligne 185 du fichier KoCsvImportDialog.cpp.
Référencé par encodingChanged(), ignoreDuplicatesChanged(), textquoteSelected(), et updateClicked().
void KoCsvImportDialog::fillComboBox | ( | ) | [protected] |
Définition à la ligne 447 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::setText | ( | int | row, | |
int | col, | |||
const QString & | text | |||
) | [protected] |
Définition à la ligne 490 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::adjustRows | ( | int | iRows | ) | [protected] |
Définition à la ligne 516 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::adjustCols | ( | int | iCols | ) | [protected] |
Définition à la ligne 525 du fichier KoCsvImportDialog.cpp.
bool KoCsvImportDialog::checkUpdateRange | ( | ) | [protected] |
Définition à la ligne 612 du fichier KoCsvImportDialog.cpp.
Références m_dialog.
Référencé par updateClicked().
QTextCodec * KoCsvImportDialog::getCodec | ( | void | ) | const [protected] |
Définition à la ligne 639 du fichier KoCsvImportDialog.cpp.
Références m_dialog.
Référencé par encodingChanged().
void KoCsvImportDialog::returnPressed | ( | ) | [protected, slot] |
Définition à la ligne 542 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::formatChanged | ( | const QString & | ) | [protected, slot] |
Définition à la ligne 557 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::delimiterClicked | ( | int | id | ) | [protected, slot] |
Définition à la ligne 570 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::textquoteSelected | ( | const QString & | mark | ) | [protected, slot] |
void KoCsvImportDialog::currentCellChanged | ( | int | , | |
int | col | |||
) | [protected, slot] |
void KoCsvImportDialog::genericDelimiterChanged | ( | const QString & | ) | [protected, slot] |
Définition à la ligne 551 du fichier KoCsvImportDialog.cpp.
void KoCsvImportDialog::ignoreDuplicatesChanged | ( | int | ) | [protected, slot] |
Définition à la ligne 630 du fichier KoCsvImportDialog.cpp.
Références fillTable(), m_dialog, et m_ignoreDups.
void KoCsvImportDialog::updateClicked | ( | ) | [protected, slot] |
Définition à la ligne 598 du fichier KoCsvImportDialog.cpp.
Références checkUpdateRange(), fillTable(), m_dialog, m_endCol, m_endRow, m_startCol, et m_startRow.
void KoCsvImportDialog::encodingChanged | ( | const QString & | ) | [protected, slot] |
Définition à la ligne 670 du fichier KoCsvImportDialog.cpp.
Références fillTable(), getCodec(), et m_codec.
KoCsvImportWidget* KoCsvImportDialog::m_dialog [protected] |
Définition à la ligne 74 du fichier KoCsvImportDialog.h.
Référencé par checkUpdateRange(), currentCellChanged(), getCodec(), ignoreDuplicatesChanged(), et updateClicked().
bool KoCsvImportDialog::m_adjustRows [protected] |
Définition à la ligne 76 du fichier KoCsvImportDialog.h.
bool KoCsvImportDialog::m_adjustCols [protected] |
Définition à la ligne 77 du fichier KoCsvImportDialog.h.
int KoCsvImportDialog::m_startRow [protected] |
int KoCsvImportDialog::m_startCol [protected] |
int KoCsvImportDialog::m_endRow [protected] |
int KoCsvImportDialog::m_endCol [protected] |
QChar KoCsvImportDialog::m_textquote [protected] |
QString KoCsvImportDialog::m_delimiter [protected] |
Définition à la ligne 83 du fichier KoCsvImportDialog.h.
bool KoCsvImportDialog::m_ignoreDups [protected] |
QByteArray KoCsvImportDialog::m_fileArray [protected] |
Définition à la ligne 85 du fichier KoCsvImportDialog.h.
QTextCodec* KoCsvImportDialog::m_codec [protected] |
QStringList KoCsvImportDialog::m_formatList [protected] |