This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------- | |
# | |
# Project created by QtCreator 2016-03-30T21:02:34 | |
# | |
#------------------------------------------------- | |
QT += core gui | |
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "AdminPriv.exe.manifest" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef THEWIDGETITEM_H | |
#define THEWIDGETITEM_H | |
#include <QWidget> | |
#include <QLineEdit> | |
#include <QPushButton> | |
#include <QSlider> | |
#include <QProgressBar> | |
#include <QLabel> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "thewidgetitem.h" | |
#include "ui_thewidgetitem.h" | |
TheWidgetItem::TheWidgetItem(QWidget *parent) : | |
QWidget(parent), | |
ui(new Ui::TheWidgetItem) | |
{ | |
ui->setupUi(this); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "qmainwidget.h" | |
#include "ui_qmainwidget.h" | |
QMainWidget::QMainWidget(QWidget *parent) : | |
QWidget(parent), | |
ui(new Ui::QMainWidget) | |
{ | |
ui->setupUi(this); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
#define RX 10 | |
#define TX 11 | |
#define BAUD 9600 | |
#define L_DELAY 1000 | |
SoftwareSerial bt(RX , TX); | |
void setup() { |