Skip to content

Instantly share code, notes, and snippets.

View manashmandal's full-sized avatar
👨‍💻
Probably Coding || ! Probably Coding

Manash Kumar Mandal manashmandal

👨‍💻
Probably Coding || ! Probably Coding
View GitHub Profile
#include <windows.h>
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "AdminPriv.exe.manifest"
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="2.0.0.0" processorArchitecture="x86" name="your_app_name_here.myapp" type="win32" />
<description> Your awesome app </description>
<dependency />
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TheWidgetItem</class>
<widget class="QWidget" name="TheWidgetItem">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>363</width>
<height>83</height>
#ifndef THEWIDGETITEM_H
#define THEWIDGETITEM_H
#include <QWidget>
#include <QLineEdit>
#include <QPushButton>
#include <QSlider>
#include <QProgressBar>
#include <QLabel>
#include "thewidgetitem.h"
#include "ui_thewidgetitem.h"
TheWidgetItem::TheWidgetItem(QWidget *parent) :
QWidget(parent),
ui(new Ui::TheWidgetItem)
{
ui->setupUi(this);
}
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QMainWidget</class>
<widget class="QWidget" name="QMainWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>459</width>
<height>329</height>
#ifndef QMAINWIDGET_H
#define QMAINWIDGET_H
#include <QWidget>
#include <QListWidget>
#include <QListWidgetItem>
#include <QDebug>
#include "thewidgetitem.h" //Since we want to use the "TheWidgetItem" widget as the QListWidgetItem
#include "qmainwidget.h"
#include "ui_qmainwidget.h"
QMainWidget::QMainWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::QMainWidget)
{
ui->setupUi(this);
}
@manashmandal
manashmandal / corresponding_arduino.ino
Last active April 16, 2016 19:50
Processing Ketai Bluetooth Test
#include <SoftwareSerial.h>
#define RX 10
#define TX 11
#define BAUD 9600
#define L_DELAY 1000
SoftwareSerial bt(RX , TX);
void setup() {
//This code snippet will help you to read data from arduino
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "SerialPort.h"
using std::cout;
using std::endl;