This file contains 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
<?php | |
namespace App\Console\Commands; | |
use Illuminate\Console\Command; | |
use DB; | |
/** | |
* Tested on Laravel 8.x, PHP 8 and MySQL 8 - but may work on lower versions (?) | |
* |
This file contains 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
(ql:quickload :qt) | |
(in-package :qt) | |
(named-readtables:in-readtable :qt) | |
(defclass hello-name-app () | |
((name-edit :accessor name-edit) | |
(name-button :accessor name-button) | |
(name-label :accessor name-label)) | |
(:metaclass qt-class) |
This file contains 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
(ql:quickload :qt) | |
(in-package :qt) | |
(named-readtables:in-readtable :qt) | |
(defclass hello-name-app () | |
((name-edit :accessor name-edit) | |
(name-button :accessor name-button) | |
(name-label :accessor name-label)) | |
(:metaclass qt-class) |
This file contains 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
(ql:quickload :qt) | |
(in-package :qt) | |
(named-readtables:in-readtable :qt) | |
(defclass hello-world-app () () | |
(:metaclass qt-class) | |
(:qt-superclass "QWidget")) | |
(defmethod initialize-instance :after ((instance hello-world-app) &key) | |
(new instance) |