
Originally Posted by
wysota
It might be better if you just disable the size grip
I'm not sure what you mean there; I want the sizeGrip enabled so I can use it, of course.

Originally Posted by
wysota
Changing the cursor will not be easy.
I'm actually already sub-classing this QSizeGrip so that I can implement my own paintEvent. Is there not an additional function I can add to over-ride the cursor behavior? Perhaps by "disable the size grip" you mean disable it's mouseOver/Cursor feature, and either re-implement it here somehow... or add an installEventFilter(this) to the sizeGrip widget and change the cursor in my this::eventFilter(QObject *o, QEvent *e), something like:
{
if(event
->type
() == QEvent::Enter) {
if(obj == mySizeGrip)
{
QRect rect
= mySizeGrip
->geometry
();
Qt_upDown_icon->move( rect.right(), rect.bottom())
Qt_upDown_icon->show();
// etc.....
eventFilter(QObject *obj, QEvent *event)
{
if(event->type() == QEvent::Enter)
{
if(obj == mySizeGrip)
{
QRect rect = mySizeGrip->geometry();
Qt_upDown_icon->move( rect.right(), rect.bottom())
Qt_upDown_icon->show();
// etc.....
To copy to clipboard, switch view to plain text mode
Anyway, just curious what you think. Thanks.
Bookmarks