• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

templatemakerpagegui.h

Go to the documentation of this file.
00001 #ifndef TEMPLATEMAKERPAGEGUI_H
00002 #define TEMPLATEMAKERPAGEGUI_H
00003 
00004 #include <QLineEdit>
00005 
00009 class FilterEdit : public QLineEdit {
00010     Q_OBJECT
00011 public:
00012     FilterEdit(QWidget *parent = 0);
00013 
00014 private slots:
00015     void onTextChange();
00016 
00017 private:
00018     const QPalette defaultPalette;
00019 };
00020 
00021 #include <QWidget>
00022 #include <QItemSelection> // used in slot
00023 
00024 #include "tagcontainer.h"
00025 
00026 class FileSelectionView;
00027 class ImportFileView;
00028 class FileSelectionModel;
00029 class QGridLayout;
00030 class QGroupBox;
00031 class QItemSelection;
00032 class QCheckBox;
00033 class QSpinBox;
00034 
00040 class TemplateMakerPageGui : public QWidget {
00041     Q_OBJECT
00042 public:
00043     TemplateMakerPageGui(TagContainer *tagContainer, FileSelectionModel *model, QWidget *parent = 0);
00044 
00045 signals:
00046     void signal_userInteraction(TagContainer::GeneralTag tag, QString change);
00047 
00048 private slots:
00049     void slot_skipLinesChanged(QString value);
00050     void slot_delimiterChanged();
00051     void slot_mergeOnSplitsChanged(QString newText);
00052     void onRowFilterChange(QString newText);
00053     void slot_selectedFileChanged(QItemSelection selected, QItemSelection);
00054     void slot_syncWithGeneralTags(TagContainer::GeneralTag tag, QString data);
00055 
00056 public:
00057     QGridLayout *mainGridLayout;
00058     QGroupBox *delimiterGroupBox;
00059 
00060     QCheckBox *checkBoxComma;
00061     QCheckBox *checkBoxSemicolon;
00062     QCheckBox *checkBoxTab;
00063     QLineEdit *otherDelimiterLineEdit;
00064 
00065     QSpinBox *spinBoxSkipLines;
00066 
00067     FilterEdit *rowFilterEdit;
00068 
00069     FileSelectionView *selectedFiles;
00070     QLineEdit *mergeOnSplitsLineEdit;
00071     QCheckBox *checkBoxLimitedPreview;
00072     ImportFileView *importFileView;
00073 };
00074 
00075 #endif // TEMPLATEMAKERPAGEGUI_H

Generated on Tue Aug 24 2010 15:58:55 for Smartlet by  doxygen 1.7.1