Created
February 24, 2015 22:04
-
-
Save ralt/d5ea0d019ab6ef631482 to your computer and use it in GitHub Desktop.
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
(in-package #:aeon) | |
(named-readtables:in-readtable :qtools) | |
(define-widget aeon (QWidget) ()) | |
(define-widget first-box (QHBoxLayout) ()) | |
(define-widget start-button (QPushButton) ()) | |
(define-subwidget (first-box start-button) (make-instance 'start-button)) | |
(define-subwidget (aeon first-box) (make-instance 'first-box) | |
(q+:add-widget first-box start-button)) | |
(define-subwidget (aeon layout) (q+:make-qvboxlayout aeon) | |
(setf (q+:window-title aeon) "Aeon") | |
(q+:add-widget layout first-box)) | |
(defun main () | |
(with-main-window (window (make-instance 'aeon)))) |
Shinmera
commented
Feb 24, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment