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.
23 class QSetBorder : public QWidget
27 QSetBorder(QWidget * parent = 0, char const * name = 0, WFlags fl = 0);
42 void setLeftEnabled(bool);
43 void setRightEnabled(bool);
44 void setTopEnabled(bool);
45 void setBottomEnabled(bool);
53 void mousePressEvent(QMouseEvent * e);
54 void paintEvent(QPaintEvent * e);
59 void drawLine(QColor const & col, int x, int y, int x2, int y2);
64 void drawBottom(bool);
68 Border() : set(true), enabled(true) {}
86 #endif // QSETBORDER_H