All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
#include <PageLimit.h>
Public Types | |
| enum | LimitType { Vertical, Horizontal } |
Public Member Functions | |
| PageLimit (LimitType t, QWidget *parent) | |
| virtual void | paintEvent (QPaintEvent *e) |
| ~PageLimit () | |
| SciFigs::PageLimit::PageLimit | ( | LimitType | t, |
| QWidget * | parent | ||
| ) |
References QGpGuiTools::setWidgetColor(), THICKNESS, TRACE, and Vertical.
:
QWidget(parent)
{
TRACE;
setWidgetColor(this, Qt::white);
if(t==Vertical)
resize(THICKNESS,parent->height());
else
resize(parent->width(),THICKNESS);
}
| void SciFigs::PageLimit::paintEvent | ( | QPaintEvent * | e | ) | [virtual] |