OSSP CVS Repository

ossp - ossp-pkg/as/as-gui/as_table.h 1.2
Not logged in
[Honeypot]  [Browse]  [Directory]  [Home]  [Login
[Reports]  [Search]  [Ticket]  [Timeline
  [Raw

ossp-pkg/as/as-gui/as_table.h 1.2
#ifndef TITABLE_H
#define TITABLE_H

#include <qtable.h>


class TiTable : public QTable
{
public:
    // Try to match QTable's default constructor with an initializer list
    TiTable(QWidget *pParent = 0, const char *szName = 0) : QTable(pParent, szName) {horizontalHeader()->installEventFilter(this);};

    // Deny a cell special handling of the focus rectangle
    // by overriding class QTable's paintFocus method
    void paintFocus(QPainter *, const QRect &) {};

private:
    bool eventFilter(QObject *, QEvent *);
};

#endif // TITABLE_H

CVSTrac 2.0.1