QwtPlotZoomer矩形颜色

时间:2018-07-19 04:28:47

标签: c++ qt qt5 qwt

有人知道如何在C ++中更改QwtPlotZoomer对象的框和文本颜色吗?我的绘图画布背景是黑色的,而拖动鼠标时绘制的框也是黑色的,因此很难看到缩放选择。

谢谢!

1 个答案:

答案 0 :(得分:0)

使用setRubberBandPen()传递具有矩形边缘颜色的QPen()。

示例:

you are not concatenating query string in the correct format.

Please try below code.

jQuery.ajax({
    url: "http://localhost/success-page",
    type: "POST",
    data: 'name=' +name+'&email='+email+'&phone='+phone+'&content='+content+'&city='+city+'&date='+date+'&event_type='+event_type+'&service='+service+'&guests='+guests+'&budget='+budget+'&locality='+locality+'&food_type='+food_type+'&venue_type='+venue_type+'&photography_type='+photography_type;

    success:function(data){
    document.location.href = 'http://localhost/success-page/';
    },
    error:function (){}
    });
});

I hope this will helps you