Git Product home page Git Product logo

Comments (2)

SimonKagstrom avatar SimonKagstrom commented on July 17, 2024

From 5d3a25f472c4a4e2b82fa7ab67f1ad28e2ce34ef Mon Sep 17 00:00:00 2001
From: Simon Kagstrom [email protected]
Date: Fri, 3 Jan 2014 18:12:42 +0100
Subject: [PATCH] qhexedit: Add setFont method

Otherwise the private class font-setting won't be called.

qhexedit.cpp | 5 +++++
qhexedit.h | 2 ++
2 files changed, 7 insertions(+)

diff --git a/qhexedit.cpp b/qhexedit.cpp
index 9939dd4..96af176 100644
--- a/qhexedit.cpp
+++ b/qhexedit.cpp
@@ -159,3 +159,8 @@ void QHexEdit::redo()
{
this->_hexedit_p->redo();
}
+
+void QHexEdit::setFont(const QFont &font)
+{

  • this->_hexedit_p->setFont(font);
    +}
    diff --git a/qhexedit.h b/qhexedit.h
    index 060c20f..2771101 100644
    --- a/qhexedit.h
    +++ b/qhexedit.h
    @@ -19,6 +19,8 @@ class QHexEdit : public QFrame
    qint64 selectionStart();
    qint64 selectionEnd();

  •    void setFont(const QFont &);
    

    signals:
    void positionChanged(qint64 offset);

    void selectionChanged(qint64 length);

    1.8.4.2

from qhexview.

Dax89 avatar Dax89 commented on July 17, 2024

Fixed!
Thanks for reporting.

from qhexview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.