4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
18 #include <QMouseEvent>
19 #include <QResizeEvent>
20 #include <QPaintEvent>
27 class QSetBorder : public QWidget
31 QSetBorder(QWidget * parent = 0, char const * name = 0, Qt::WFlags fl = 0);
46 void setLeftEnabled(bool);
47 void setRightEnabled(bool);
48 void setTopEnabled(bool);
49 void setBottomEnabled(bool);
57 void mousePressEvent(QMouseEvent * e);
58 void paintEvent(QPaintEvent * e);
63 void drawLine(QColor const & col, int x, int y, int x2, int y2);
68 void drawBottom(bool);
72 Border() : set(true), enabled(true) {}
90 #endif // QSETBORDER_H