X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftrace.cpp;h=e481f2a009753aacd2a82a15eca93bb5a3895761;hp=d9cccdb649e94a0669be4d30084323341cc5077d;hb=e62bee7326a4b04c0e914a3fa9e39d1e808821dd;hpb=73a25a6e488f1813c1cd12da085a16e4f91ed4da diff --git a/pv/view/trace.cpp b/pv/view/trace.cpp index d9cccdb6..e481f2a0 100644 --- a/pv/view/trace.cpp +++ b/pv/view/trace.cpp @@ -14,8 +14,7 @@ * 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 . */ #include @@ -36,7 +35,8 @@ #include namespace pv { -namespace view { +namespace views { +namespace TraceView { const QPen Trace::AxisPen(QColor(0, 0, 0, 30*256/100)); const int Trace::LabelHitPadding = 2; @@ -140,8 +140,6 @@ pv::widgets::Popup* Trace::create_popup(QWidget *parent) QRectF Trace::label_rect(const QRectF &rect) const { - using pv::view::View; - QFontMetrics m(QApplication::font()); const QSize text_size( m.boundingRect(QRect(), 0, base_->name()).width(), m.height()); @@ -278,5 +276,6 @@ void Trace::on_colouredit_changed(const QColor &colour) set_colour(colour); } -} // namespace view +} // namespace TraceView +} // namespace views } // namespace pv