/****************************************************************************
** Form interface generated from reading ui file 'qgsattributetablebase.ui'
**
** Created: Wed Oct 25 16:38:40 2006
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.6   edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef QGSATTRIBUTETABLEBASE_H
#define QGSATTRIBUTETABLEBASE_H

#include <qvariant.h>
#include <qpixmap.h>
#include <qdialog.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QgsAttributeTable;
class QPushButton;
class QToolButton;

class QgsAttributeTableBase : public QDialog
{
    Q_OBJECT

public:
    QgsAttributeTableBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~QgsAttributeTableBase();

    QPushButton* btnStartEditing;
    QPushButton* btnStopEditing;
    QPushButton* btnClose;
    QgsAttributeTable* tblAttributes;
    QToolButton* mDeleteAttributeButton;
    QToolButton* mAddAttributeButton;
    QToolButton* mInvertSelectionButton;
    QToolButton* mSelectedToTopButton;
    QToolButton* mRemoveSelectionButton;

public slots:
    virtual void removeSelection();

signals:
    void deleted();

protected:
    virtual void closeEvent( QCloseEvent * ev );

    QGridLayout* QgsAttributeTableBaseLayout;
    QSpacerItem* spacer5;
    QHBoxLayout* layout5;
    QSpacerItem* spacer3;
    QSpacerItem* spacer4;

protected slots:
    virtual void languageChange();

    virtual void deleteAttributes();
    virtual void addAttribute();
    virtual void startEditing();
    virtual void stopEditing();
    virtual void invertSelection();
    virtual void selectedToTop();


private:
    QPixmap image0;
    QPixmap image1;
    QPixmap image2;
    QPixmap image3;
    QPixmap image4;
    QPixmap image5;
    QPixmap image6;

};

#endif // QGSATTRIBUTETABLEBASE_H
