Add an base for docs

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2025-11-16 22:06:12 +01:00
parent e5855d5715
commit 823abf84b4
11 changed files with 845 additions and 10 deletions

View File

@@ -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();
}

View File

@@ -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();
}