mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-18 02:24:38 +00:00
small changes done during the meeting
This commit is contained in:
parent
0fa31e0750
commit
d75dfe7cf4
@ -26,8 +26,8 @@ EqHandle::~EqHandle(void)
|
||||
|
||||
void EqHandle::paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget /*= 0*/ )
|
||||
{
|
||||
Q_UNUSED(option);
|
||||
Q_UNUSED(widget);
|
||||
//Q_UNUSED(option);
|
||||
//Q_UNUSED(widget);
|
||||
//QPen pen(Qt::black);
|
||||
//non sepen.setWidth(2);
|
||||
painter->setPen(_color);
|
||||
|
||||
@ -26,7 +26,7 @@ public:
|
||||
int zOrder, int size);
|
||||
~EqHandle(void);
|
||||
QRectF boundingRect () const;
|
||||
void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget);
|
||||
virtual void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget);
|
||||
|
||||
void setSize (int size) {(size%2==0) ? _size=size+1 : _size=size;};
|
||||
void setBarHeight (qreal height) {_barHeight = height;};
|
||||
|
||||
@ -21,7 +21,7 @@ public:
|
||||
|
||||
// Overriding QGraphicsItem methods
|
||||
QRectF boundingRect () const;
|
||||
void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) = 0;
|
||||
virtual void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) = 0;
|
||||
|
||||
protected:
|
||||
void mousePressEvent (QGraphicsSceneMouseEvent *event);
|
||||
|
||||
@ -459,6 +459,7 @@ void QualityMapperDialog::drawGammaCorrection()
|
||||
//painter.drawArc(0, 0, pixmap->width(), pixmap->height(), 0, -90*16);
|
||||
|
||||
ui.gammaCorrectionLabel->setPixmap(*pixmap);
|
||||
painter.end();
|
||||
delete pixmap;
|
||||
}
|
||||
|
||||
|
||||
@ -5,8 +5,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>520</width>
|
||||
<height>600</height>
|
||||
<width>583</width>
|
||||
<height>717</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
@ -15,12 +15,6 @@
|
||||
<height>600</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>520</width>
|
||||
<height>600</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Quality Mapper Dialog</string>
|
||||
</property>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user