It is not drawing on rubber band but it does what you need : void MyButton::mouseMoveEvent(QMouseEvent *event) { rubberBand->setGeometry(QRect(mypoint, event->pos()).normalized());//Area Bounding QToolTip::showText( event->globalPos(), QString("%1,%2") .arg(rubberBand->size().width()) .arg(rubberBand->size().height()),this ); } QToolTip is shown near the cursor. It dynamically changes and shows actual information about size of rubber band. Result (black area is...
ruby-on-rails,ruby,image,capistrano,rubber
By default, Capistrano links public/system directory. So to persist your images, just change def store_dir "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" end to def store_dir "system/uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" end ...