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.
13 #ifndef GUISETBORDER_H
14 #define GUISETBORDER_H
25 class GuiSetBorder : public QWidget
29 GuiSetBorder(QWidget * parent = 0, Qt::WFlags fl = 0);
44 void setLeftEnabled(bool);
45 void setRightEnabled(bool);
46 void setTopEnabled(bool);
47 void setBottomEnabled(bool);
55 void mousePressEvent(QMouseEvent * e);
56 void paintEvent(QPaintEvent * e);
61 void drawLine(QColor const & col, int x, int y, int x2, int y2);
66 void drawBottom(bool);
70 Border() : set(true), enabled(true) {}
91 #endif // GUISETBORDER_H