Add an base for docs
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
|
||||
#include "qpushbutton.h"
|
||||
#include <QApplication>
|
||||
#include <QPushButton>
|
||||
|
||||
int main(int argc, char **argv)
|
||||
void add_button()
|
||||
{
|
||||
QApplication app (argc, argv);
|
||||
|
||||
QPushButton button ("Hello world !");
|
||||
button.show();
|
||||
|
||||
return app.exec();
|
||||
QPushButton button ("Hello");
|
||||
button.show();
|
||||
}
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
#include <QApplication>
|
||||
#include <QPushButton>
|
||||
#include "./control_panel.cpp"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
QApplication app (argc, argv);
|
||||
|
||||
QPushButton button ("Hello world !");
|
||||
button.show();
|
||||
add_button();
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user