init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled

This commit is contained in:
allhaileris
2026-02-16 15:50:16 +03:00
commit afb81b8278
13816 changed files with 3689732 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
include ../../../config.mak
ECHO = $(shell whereis -b echo | awk '{print $$2}')
.PHONY: all
all: ed5.cpp ed5.h ed5.pro ed5a.cpp
@ $(ECHO) -e "\x1b[1;33m** Compiling ed5...\x1b[0m"
@ $(QT5_QMAKE_PATH) ed5.pro -o ed5.makefile && $(MAKE) -f ed5.makefile
.PHONY: clean
clean:
-@ for FileName in ed5.makefile ed5a.o ed5.o ed5; \
do \
if [ -f "$$FileName" ]; then \
$(ECHO) -e "\x1b[1;31m** "deleting $$FileName..."\x1b[0m"; \
rm "$$FileName" ; \
fi; \
done

View File

@@ -0,0 +1,10 @@
#include <QApplication>
#include "ed5.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Window l;
l.show();
return a.exec();
}

View File

@@ -0,0 +1,9 @@
#include <QWidget>
class QLineEdit;
class Window : public QWidget {
public:
Window();
QLineEdit *edit2;
};

View File

@@ -0,0 +1,3 @@
HEADERS += ed5.h
SOURCES += ed5.cpp ed5a.cpp
QT += widgets

View File

@@ -0,0 +1,10 @@
#include <QtWidgets>
#include "ed5.h"
Window::Window()
{
edit2 = new QLineEdit;
QGridLayout *echoLayout = new QGridLayout;
echoLayout->addWidget(edit2, 1, 0, 1, 2);
setLayout(echoLayout);
}