* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include <algorithm>
using std::min;
namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
SignalScaleHandle::SignalScaleHandle(Signal &owner) :
owner_(owner)
{
owner_.scale_handle_dragged(
drag_point_.y() + delta.y() - owner_.get_visual_y());
+ owner_.owner()->row_item_appearance_changed(true, true);
}
QPoint SignalScaleHandle::point(const QRect &rect) const
text_height, text_height);
}
-void SignalScaleHandle::paint_fore(QPainter &p, const ViewItemPaintParams &pp)
+void SignalScaleHandle::paint_fore(QPainter &p, ViewItemPaintParams &pp)
{
if (!enabled())
return;
p.drawEllipse(r);
}
-} // view
-} // pv
+} // namespace TraceView
+} // namespace views
+} // namespace pv