From 4a40cdb0f9e30af08b38dc4fed150e344aa4885e Mon Sep 17 00:00:00 2001 From: Artanidos Date: Fri, 19 Oct 2018 15:24:28 +0200 Subject: [PATCH] removed used stuff --- AnimationMaker.pro | 3 +- App.pro | 12 +-- License/License.pro | 50 ----------- License/license.cpp | 34 ------- License/license.h | 29 ------ Widgets/rectangle.cpp | 1 + licensedialog.cpp | 173 ------------------------------------ licensedialog.h | 54 ----------- mainwindow.cpp | 70 +-------------- mainwindow.h | 14 --- plugins/Html/Html.pro | 10 +-- plugins/Html/htmlexport.cpp | 4 - test/Test.pro | 4 +- todo.txt | 2 + 14 files changed, 10 insertions(+), 450 deletions(-) delete mode 100644 License/License.pro delete mode 100644 License/license.cpp delete mode 100644 License/license.h delete mode 100644 licensedialog.cpp delete mode 100644 licensedialog.h diff --git a/AnimationMaker.pro b/AnimationMaker.pro index 951d0dd..45f311c 100644 --- a/AnimationMaker.pro +++ b/AnimationMaker.pro @@ -23,5 +23,4 @@ SUBDIRS += \ plugins/Pie \ plugins/Html \ App.pro \ - test/Test.pro \ - License + test/Test.pro diff --git a/App.pro b/App.pro index 2af72f1..199f6fd 100644 --- a/App.pro +++ b/App.pro @@ -41,7 +41,6 @@ SOURCES += main.cpp\ scenepropertyeditor.cpp \ transitioneditor.cpp \ svgattributeeditor.cpp \ - licensedialog.cpp \ sceneview.cpp \ ruler.cpp @@ -51,7 +50,6 @@ HEADERS += mainwindow.h \ transitioneditor.h \ interfaces.h \ svgattributeeditor.h \ - licensedialog.h \ sceneview.h \ ruler.h @@ -59,7 +57,6 @@ linux-g++ { LIBS += -L$$PWD/lib/ LIBS += -lm LIBS += -ldl - DEFINES += LINUX } RESOURCES += \ @@ -86,16 +83,11 @@ DISTFILES += \ README.md \ docs/README.md - -win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/Widgets/release/ -lWidgets -else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/Widgets/debug/ -lWidgets -else:linux-g++: LIBS += -L$$OUT_PWD/Widgets/ -lWidgets +LIBS += -L$$OUT_PWD/Widgets/ -lWidgets INCLUDEPATH += $$PWD/Widgets DEPENDPATH += $$PWD/Widgets -win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/License/release/ -lLicense -else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/License/debug/ -lLicense -else:linux-g++: LIBS += -L$$OUT_PWD/License/ -lLicense +LIBS += -L$$OUT_PWD/License/ -lLicense INCLUDEPATH += $$PWD/License DEPENDPATH += $$PWD/License diff --git a/License/License.pro b/License/License.pro deleted file mode 100644 index 7209f48..0000000 --- a/License/License.pro +++ /dev/null @@ -1,50 +0,0 @@ -#------------------------------------------------- -# -# Project created by QtCreator 2018-08-14T15:45:41 -# -#------------------------------------------------- -# Copyright (C) 2016 Olaf Japp -# https://facebook.com/artanidos -# -# This file is part of AnimationMaker. -# -# AnimationMaker is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# AnimationMaker is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License - -QT -= gui - -TARGET = License -TEMPLATE = lib - -DEFINES += LICENSE_LIBRARY - -# The following define makes your compiler emit warnings if you use -# any feature of Qt which has been marked as deprecated (the exact warnings -# depend on your compiler). Please consult the documentation of the -# deprecated API in order to know how to port your code away from it. -DEFINES += QT_DEPRECATED_WARNINGS - -# You can also make your code fail to compile if you use deprecated APIs. -# In order to do so, uncomment the following line. -# You can also select to disable deprecated APIs only up to a certain version of Qt. -#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 - -SOURCES += \ - license.cpp - -HEADERS += \ - license.h - -unix { - target.path = /usr/lib - INSTALLS += target -} diff --git a/License/license.cpp b/License/license.cpp deleted file mode 100644 index 235a3d3..0000000 --- a/License/license.cpp +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** Copyright (C) 2018 Olaf Japp -** -** This file is part of AnimationMaker. -** -** AnimationMaker is free software: you can redistribute it and/or modify -** it under the terms of the GNU General Public License as published by -** the Free Software Foundation, either version 3 of the License, or -** (at your option) any later version. -** -** AnimationMaker is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -** GNU General Public License for more details. -** -** You should have received a copy of the GNU General Public License -** along with AnimationMaker. If not, see . -** -****************************************************************************/ - -#include "license.h" -#include -#include -#include - -bool checkLicense(QString email, QString licenseKey, int type) -{ - return false; -} - -bool isCommercialRelease() -{ - return false; -} diff --git a/License/license.h b/License/license.h deleted file mode 100644 index ca245fb..0000000 --- a/License/license.h +++ /dev/null @@ -1,29 +0,0 @@ -/**************************************************************************** -** Copyright (C) 2018 Olaf Japp -** -** This file is part of AnimationMaker. -** -** AnimationMaker is free software: you can redistribute it and/or modify -** it under the terms of the GNU General Public License as published by -** the Free Software Foundation, either version 3 of the License, or -** (at your option) any later version. -** -** AnimationMaker is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -** GNU General Public License for more details. -** -** You should have received a copy of the GNU General Public License -** along with AnimationMaker. If not, see . -** -****************************************************************************/ - -#ifndef LICENSE_H -#define LICENSE_H - -#include - -Q_DECL_EXPORT bool checkLicense(QString, QString, int type); -Q_DECL_EXPORT bool isCommercialRelease(); - -#endif // LICENSE_H diff --git a/Widgets/rectangle.cpp b/Widgets/rectangle.cpp index a6fbd10..80233e7 100644 --- a/Widgets/rectangle.cpp +++ b/Widgets/rectangle.cpp @@ -52,6 +52,7 @@ void Rectangle::paint( QPainter *paint, const QStyleOptionGraphicsItem *option, paint->setBrush(brush()); paint->drawRect(rect()); + if (option->state & QStyle::State_Selected) drawHighlightSelected(paint, option); } diff --git a/licensedialog.cpp b/licensedialog.cpp deleted file mode 100644 index 26a65e2..0000000 --- a/licensedialog.cpp +++ /dev/null @@ -1,173 +0,0 @@ -/**************************************************************************** -** Copyright (C) 2018 Olaf Japp -** -** This file is part of AnimationMaker. -** -** AnimationMaker is free software: you can redistribute it and/or modify -** it under the terms of the GNU General Public License as published by -** the Free Software Foundation, either version 3 of the License, or -** (at your option) any later version. -** -** AnimationMaker is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -** GNU General Public License for more details. -** -** You should have received a copy of the GNU General Public License -** along with AnimationMaker. If not, see . -** -****************************************************************************/ - -#include "licensedialog.h" -#include "license.h" -#include "mainwindow.h" -#include "flatbutton.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include - -LicenseDialog::LicenseDialog(MainWindow *parent) - : QDialog(parent) -{ - m_mainWindow = parent; - m_errorMsg = new QLabel; - QPalette palette = m_errorMsg->palette(); - palette.setColor(QPalette::WindowText, QColor(255, 125, 0)); - m_errorMsg->setPalette(palette); - - QPushButton *cancelButton = new QPushButton("&Cancel", this); - connect(cancelButton, SIGNAL(clicked(bool)), this, SLOT(cancelClicked(bool))); - - m_okButton = new QPushButton("&Ok", this); - m_okButton->setDefault(true); - m_okButton->setEnabled(false); - connect(m_okButton, SIGNAL(clicked(bool)), this, SLOT(okClicked(bool))); - - m_email = new QLineEdit(); - m_email->setMaxLength(50); - m_email->setMinimumWidth(300); - m_email->setText(m_mainWindow->email()); - connect(m_email, SIGNAL(textChanged(QString)), this, SLOT(emailChanged(QString))); - - m_key = new QLineEdit(); - m_key->setMaxLength(50); - m_key->setText(m_mainWindow->licenseKey()); - connect(m_key, SIGNAL(textChanged(QString)), this, SLOT(keyChanged(QString))); - - FlatButton *commercialLinux = new FlatButton(":/images/commercial-linux.png", ":/images/commercial-linux-hover.png"); - connect(commercialLinux, SIGNAL(clicked()), this, SLOT(commercialLinuxClicked())); - - FlatButton *commercialWindows = new FlatButton(":/images/commercial-windows.png", ":/images/commercial-windows-hover.png"); - connect(commercialWindows, SIGNAL(clicked()), this, SLOT(commercialWindowsClicked())); - - FlatButton *community = new FlatButton(":/images/community.png", ":/images/community-hover.png"); - connect(community, SIGNAL(clicked()), this, SLOT(communityClicked())); - - QGridLayout *grid = new QGridLayout(); - QLabel *desc = new QLabel("Before you start to work with AnimationMaker you should get a license key and register it here."); - - desc->setWordWrap(true); - desc->setTextFormat(Qt::RichText); - connect(desc, SIGNAL(linkActivated(QString)), this, SLOT(linkClicked(QString))); - - QHBoxLayout *icons = new QHBoxLayout(); - icons->addWidget(community); - icons->addWidget(commercialLinux); - icons->addWidget(commercialWindows); - grid->addWidget(desc, 0, 0, 1, 2); - grid->addLayout(icons, 1, 0, 1, 2); - grid->addWidget(m_errorMsg, 2, 0, 1, 2); - grid->addWidget(new QLabel("Email"), 3, 0); - grid->addWidget(new QLabel("License Key"), 4, 0); - grid->addWidget(m_email, 3, 1); - grid->addWidget(m_key, 4, 1); - QHBoxLayout *hbox = new QHBoxLayout(); - hbox->addStretch(); - hbox->addWidget(m_okButton); - hbox->addWidget(cancelButton); - QVBoxLayout *vbox = new QVBoxLayout(); - vbox->addLayout(grid); - vbox->addLayout(hbox); - - setLayout(vbox); - setWindowTitle("AnimationMaker License"); -} - -void LicenseDialog::okClicked(bool) -{ - if(checkLicense(m_email->text(), m_key->text(), 0)) // Community - { - m_mainWindow->setEmail(m_email->text()); - m_mainWindow->setLicenseKey(m_key->text()); - m_mainWindow->setCommercial(false); - m_mainWindow->setLicensed(true); - this->close(); - } -#ifdef LINUX - else if(checkLicense(m_email->text(), m_key->text(), 1)) // Linux -#else - else if(checkLicense(m_email->text(), m_key->text(), 2)) // Windows -#endif - { - m_mainWindow->setEmail(m_email->text()); - m_mainWindow->setLicenseKey(m_key->text()); - m_mainWindow->setCommercial(true); - m_mainWindow->setLicensed(true); - this->close(); - } - else - { - QPalette palette = m_key->palette(); - palette.setColor(QPalette::Base, QColor(255, 125, 0)); - palette.setColor(QPalette::Text, Qt::white); - m_key->setPalette(palette); - m_errorMsg->setText("An error occured: License key does not match to the email."); - } -} - -void LicenseDialog::commercialLinuxClicked() -{ - QDesktopServices::openUrl(QUrl("https://www.digistore24.com/product/236609")); -} - -void LicenseDialog::commercialWindowsClicked() -{ - QDesktopServices::openUrl(QUrl("https://www.digistore24.com/product/223175")); -} - -void LicenseDialog::communityClicked() -{ - QDesktopServices::openUrl(QUrl("https://www.digistore24.com/product/238646")); -} - -void LicenseDialog::cancelClicked(bool) -{ - this->close(); -} - -void LicenseDialog::linkClicked(QString url) -{ - QDesktopServices::openUrl(QUrl(url)); -} - -void LicenseDialog::emailChanged(QString email) -{ - if(email.length() > 0 && m_key->text().length() > 0) - m_okButton->setEnabled(true); - else - m_okButton->setEnabled(false); -} - -void LicenseDialog::keyChanged(QString key) -{ - if(key.length() > 0 && m_email->text().length() > 0) - m_okButton->setEnabled(true); - else - m_okButton->setEnabled(false); -} diff --git a/licensedialog.h b/licensedialog.h deleted file mode 100644 index ecca191..0000000 --- a/licensedialog.h +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** Copyright (C) 2018 Olaf Japp -** -** This file is part of AnimationMaker. -** -** AnimationMaker is free software: you can redistribute it and/or modify -** it under the terms of the GNU General Public License as published by -** the Free Software Foundation, either version 3 of the License, or -** (at your option) any later version. -** -** AnimationMaker is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -** GNU General Public License for more details. -** -** You should have received a copy of the GNU General Public License -** along with AnimationMaker. If not, see . -** -****************************************************************************/ - -#ifndef LICENSEDIALOG_H -#define LICENSEDIALOG_H - -#include - -class QLineEdit; -class QPushButton; -class MainWindow; -class QLabel; -class LicenseDialog : public QDialog -{ - Q_OBJECT -public: - LicenseDialog(MainWindow *parent = Q_NULLPTR); - -public slots: - void okClicked(bool); - void cancelClicked(bool); - void linkClicked(QString url); - void emailChanged(QString); - void keyChanged(QString); - void commercialLinuxClicked(); - void commercialWindowsClicked(); - void communityClicked(); - -private: - QPushButton *m_okButton; - QLineEdit *m_email; - QLineEdit *m_key; - MainWindow *m_mainWindow; - QLabel *m_errorMsg; -}; - -#endif // LICENSEDIALOG_H diff --git a/mainwindow.cpp b/mainwindow.cpp index 98f807f..2a1216b 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -46,8 +46,6 @@ #include "bitmap.h" #include "vectorgraphic.h" #include "keyframe.h" -#include "licensedialog.h" -#include "license.h" #include #include #include @@ -69,8 +67,6 @@ MainWindow::MainWindow(QWidget *parent) : createMenus(); createGui(); readSettings(); - if(!m_licensed) - QTimer::singleShot(0, this, SLOT(license())); } MainWindow::~MainWindow() @@ -458,8 +454,6 @@ void MainWindow::writeSettings() QSettings settings(QSettings::IniFormat, QSettings::UserScope, QCoreApplication::organizationName(), QCoreApplication::applicationName()); settings.setValue("geometry", saveGeometry()); settings.setValue("state", saveState()); - settings.setValue("email", m_email); - settings.setValue("licenseKey", m_licenseKey); settings.setValue("rulers", showRulerAct->isChecked()); } @@ -478,28 +472,6 @@ void MainWindow::readSettings() restoreGeometry(geometry); restoreState(settings.value("state").toByteArray()); } - m_commercial = false; - m_licensed = false; - m_email = settings.value("email", "").toString(); - m_licenseKey = settings.value("licenseKey", "").toString(); - if(checkLicense(m_email, m_licenseKey, 0)) // Community - { - m_commercial = false; - m_licensed = true; - } -#ifdef LINUX - else if(checkLicense(m_email, m_licenseKey, 1)) // Linux - { - m_commercial = true; - m_licensed = true; - } -#else - else if(checkLicense(m_email, m_licenseKey, 2)) // Windows - { - m_commercial = true; - m_licensed = true; - } -#endif bool showRulers = settings.value("rulers", "true").toBool(); if(!showRulers) { @@ -574,9 +546,6 @@ void MainWindow::createActions() aboutAct = new QAction(tr("&About"), this); connect(aboutAct, SIGNAL(triggered()), this, SLOT(about())); - licenseAct = new QAction(tr("&License"), this); - connect(licenseAct, SIGNAL(triggered()), this, SLOT(license())); - addAction(copyAct); addAction(pasteAct); addAction(exitAct); @@ -627,8 +596,6 @@ void MainWindow::createMenus() helpMenu = menuBar()->addMenu(tr("&Help")); helpMenu->addAction(aboutAct); - if(isCommercialRelease()) - helpMenu->addAction(licenseAct); this->addAction(undoAct); this->addAction(redoAct); @@ -639,32 +606,12 @@ void MainWindow::createMenus() void MainWindow::about() { QMessageBox msg; - if(m_commercial) - { - msg.setWindowTitle("About AnimationMaker (Commercial Edition)"); - msg.setText("AnimationMaker\nVersion: " + QCoreApplication::applicationVersion() + "\n(C) Copyright 2018 CrowdWare. All rights reserved.\n\nLicensed to: " + m_email + "\n\nThe program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE."); - } - else - { - msg.setWindowTitle("About AnimationMaker (Community Edition)"); - if(m_email.length() > 0) - msg.setText("AnimationMaker\nVersion: " + QCoreApplication::applicationVersion() + "\n(C) Copyright 2018 Olaf Japp. All rights reserved.\n\nLicensed to: " + m_email + "\n\nThe program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE."); - else - msg.setText("AnimationMaker\nVersion: " + QCoreApplication::applicationVersion() + "\n(C) Copyright 2018 Olaf Japp. All rights reserved.\n\nThe program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE."); - } + msg.setWindowTitle("About AnimationMaker (Community Edition)"); + msg.setText("AnimationMaker\nVersion: " + QCoreApplication::applicationVersion() + "\n(C) Copyright 2018 Olaf Japp. All rights reserved.\n\nThe program is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE."); msg.setIconPixmap(QPixmap(":/images/logo.png")); msg.exec(); } -void MainWindow::license() -{ - LicenseDialog dlg(this); - dlg.exec(); - - if(!m_licensed) - close(); -} - void MainWindow::setSelectMode() { m_scene->setEditMode(AnimationScene::EditMode::ModeSelect); @@ -941,17 +888,6 @@ void MainWindow::exportMovie() return; fileName = "\"" + fileName + "\""; - QGraphicsSimpleTextItem *branding; - if(!m_commercial) - { - // branding here if not licensed commercial - QFont font("Arial"); - font.setPixelSize(13); - branding = m_scene->addSimpleText("Created with AnimationMaker (https://artanidos.github.io/AnimationMaker/)", font); - branding->setBrush(QBrush(Qt::white)); - branding->setPos(10, m_scene->height() - 20); - } - m_scene->clearSelection(); m_view->setUpdatesEnabled(false); QGraphicsView *exportView = new QGraphicsView(m_scene); @@ -1014,8 +950,6 @@ void MainWindow::exportMovie() m_view->setUpdatesEnabled(true); statusBar()->showMessage("Ready"); delete exportView; - if(!m_commercial) - m_scene->removeItem(branding); } void MainWindow::pluginExport() diff --git a/mainwindow.h b/mainwindow.h index b2acb7c..f14f638 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -54,12 +54,6 @@ class MainWindow : public QMainWindow ~MainWindow() override; void setTitle(); - void setEmail(QString email) {m_email = email;} - void setLicenseKey(QString licenseKey) {m_licenseKey = licenseKey;} - void setCommercial(bool value) {m_commercial = value;} - void setLicensed(bool value) {m_licensed = value;} - QString email() {return m_email;} - QString licenseKey() {return m_licenseKey;} protected: void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE; @@ -95,12 +89,6 @@ class MainWindow : public QMainWindow QDockWidget *m_tooldock; QDockWidget *m_elementsdock; QTreeWidgetItem *m_root; - QTextBrowser *browser; - QString m_email; - QString m_licenseKey; - bool m_commercial; - bool m_licensed; - QAction *openAct; QAction *newAct; QAction *saveAct; @@ -124,7 +112,6 @@ class MainWindow : public QMainWindow QAction *copyAct; QAction *pasteAct; QAction *delAct; - QAction *licenseAct; QActionGroup *exportActionGroup; QMenu *fileMenu; QMenu *editMenu; @@ -139,7 +126,6 @@ public slots: void exportMovie(); void pluginExport(); void about(); - void license(); void save(); void saveAs(); void saveItemAs(); diff --git a/plugins/Html/Html.pro b/plugins/Html/Html.pro index 286db2f..1dddb4e 100644 --- a/plugins/Html/Html.pro +++ b/plugins/Html/Html.pro @@ -34,14 +34,6 @@ CONFIG(debug, debug|release) { DISTFILES += \ todo.txt -linux-g++ { - DEFINES += LINUX -} - - -win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../Widgets/release/ -lWidgets -else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../Widgets/debug/ -lWidgets -else:linux-g++: LIBS += -L$$OUT_PWD/../../Widgets/ -lWidgets - +LIBS += -L$$OUT_PWD/../../Widgets/ -lWidgets INCLUDEPATH += $$PWD/../../Widgets DEPENDPATH += $$PWD/../../Widgets diff --git a/plugins/Html/htmlexport.cpp b/plugins/Html/htmlexport.cpp index 6dfd312..6c600d2 100644 --- a/plugins/Html/htmlexport.cpp +++ b/plugins/Html/htmlexport.cpp @@ -342,11 +342,7 @@ void HtmlExport::exportAnimation(AnimationScene *scene, QStatusBar *bar) #ifdef DEBUG Installer::installFiles("/home/olaf/SourceCode/AnimationMaker/plugins/Html/gsap", dir.absolutePath() + "/assets/js", true, false); #else -#ifdef LINUX Installer::installFiles(QCoreApplication::applicationDirPath() + "/../../plugins/gsap", dir.absolutePath() + "/assets/js", true, false); -#else - Installer::installFiles(QCoreApplication::applicationDirPath() + "/plugins/gsap", dir.absolutePath() + "/assets/js", true, false); -#endif #endif itemList = scene->items(Qt::AscendingOrder); bar->showMessage("Exporting animation to " + fileName); diff --git a/test/Test.pro b/test/Test.pro index fa119c5..4a6a209 100644 --- a/test/Test.pro +++ b/test/Test.pro @@ -19,9 +19,7 @@ QT += widgets testlib xml svg SOURCES = testgui.cpp DEFINES += TEST -unix:!macx: LIBS += -L$$OUT_PWD/../Widgets/ -lWidgets -win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../Widgets/release/ -lWidgets -else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../Widgets/debug/ -lWidgets +LIBS += -L$$OUT_PWD/../Widgets/ -lWidgets INCLUDEPATH += $$PWD/../Widgets DEPENDPATH += $$PWD/../Widgets diff --git a/todo.txt b/todo.txt index 373cd88..f59a498 100644 --- a/todo.txt +++ b/todo.txt @@ -22,3 +22,5 @@ - effects like shadow - ask to save animation closing the pogram or loading / new + +- draw select rect when opacity = 0