Skip to content

Instantly share code, notes, and snippets.

View mnafees's full-sized avatar
🔐

Mohammed Nafees mnafees

🔐
View GitHub Profile
@mnafees
mnafees / FontAwesomeUtilityGenerator.cpp
Last active May 16, 2019 18:07
Font Awesome for Qt apps
// Qt
#include <QCoreApplication>
#include <QStringList>
#include <QFile>
#include <QHash>
#include <QTextStream>
#include <QtDebug>
int main( int argc, char *argv[] )
{
@mnafees
mnafees / MyWidget.cpp
Created April 6, 2014 08:34
How to make a frameless QWidget draggable?
// Qt
#include <QMouseEvent>
// MyWidget
#include "MyWidget.h"
MyWidget::MyWidget( QWidget *parent ) :
QWidget( parent ),
_mousePressed(false),
_mousePosition(QPoint())

Keybase proof

I hereby claim:

  • I am mnafees on github.
  • I am mnafees (https://keybase.io/mnafees) on keybase.
  • I have a public key ASB7MWasAR1UaDwi5uGiHXAROM9PDejDzKTgtPnBGQEVLgo

To claim this, I am signing this object: