diff --git a/README.md b/README.md index 71037dc..0d7c186 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,22 @@ Build Python GUI's with the ease of Canva ## Features + +While there are a lot of features, here are few you need to know. + * Framework agnostic - Can outputs code in multiple frameworks. * Easy to use. -* Pre-built UI components +* Pre-built UI widgets * Plugins to extend 3rd party UI libraries * Generates Code. +## Supported Frameworks/Libraries + +- [x] Tkinter +- [x] CustomTkinter +- [ ] Kivy (work in progress) +- [ ] PySide (work in progress) + ## Roadmap Here are some of the upcoming features. * Treeview on the sidebar @@ -55,9 +65,9 @@ To stay in loop, subscribe to the free [newsletter](https://paulfreeman.substack ## License - Fund the development -To support open-source and development of this tool and upcoming free open-source tools and libraries, consider buying a one-time license. +Help fund open-source work and development of this and upcoming projects by purchasing a one-time license. -Purchasing License will allow me to focus on this work and give you access to more advance features, early access and more. +Purchasing License will allow me to focus on development of this tool and provide you access to more advance features, early access and more. The discount's will be available for limited time only on pre-orders. diff --git a/src/App.js b/src/App.js index 0649cd7..f941e99 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,6 @@ import { useRef, useState } from 'react' -import { LayoutFilled, ProductFilled, CloudUploadOutlined } from "@ant-design/icons" +import { LayoutFilled, ProductFilled, CloudUploadOutlined, DatabaseFilled } from "@ant-design/icons" // import { DndContext, useSensors, useSensor, PointerSensor, closestCorners, DragOverlay, rectIntersection } from '@dnd-kit/core' // import { snapCenterToCursor } from '@dnd-kit/modifiers' @@ -17,6 +17,7 @@ import TkinterPluginWidgets from './frameworks/tkinter/sidebarPlugins' import FrameWorks from './constants/frameworks' import generateTkinterCode from './frameworks/tkinter/engine/code' import { FileUploadProvider, useFileUploadContext } from './contexts/fileUploadContext' +import TemplatesContainer from './sidebar/templatesContainer' function App() { @@ -51,6 +52,11 @@ function App() { name: "Uploads", icon: , content: + }, + { + name: "Templates", + icon: , + content: } ] diff --git a/src/assets/images/doggy.png b/src/assets/images/doggy.png new file mode 100644 index 0000000..2ae2694 Binary files /dev/null and b/src/assets/images/doggy.png differ diff --git a/src/canvas/toolbar.js b/src/canvas/toolbar.js index 617cac3..96de668 100644 --- a/src/canvas/toolbar.js +++ b/src/canvas/toolbar.js @@ -312,7 +312,6 @@ const CanvasToolBar = memo(({ isOpen, widgetType, attrs = {} }) => { if (isFirstLevel && keys.length < 3) keys.push(keyName) if (isFirstLevel){ - return ( diff --git a/src/canvas/widgets/base.js b/src/canvas/widgets/base.js index ee05595..c07176b 100644 --- a/src/canvas/widgets/base.js +++ b/src/canvas/widgets/base.js @@ -631,7 +631,6 @@ class Widget extends React.Component { widgetOuterStyling: widgetStyle }) - console.log("widget styling: ", widgetStyle) } /** diff --git a/src/components/header.js b/src/components/header.js index 7529a5d..befd912 100644 --- a/src/components/header.js +++ b/src/components/header.js @@ -1,8 +1,9 @@ import { useEffect, useState } from "react" import { Select, Input, Button } from "antd" -import { DownloadOutlined, DownOutlined } from "@ant-design/icons" +import { CrownFilled, DownloadOutlined, DownOutlined } from "@ant-design/icons" import FrameWorks from "../constants/frameworks" +import Premium from "../sidebar/utils/premium" const items = [ @@ -35,6 +36,13 @@ function Header({projectName, onProjectNameChange, framework, onFrameworkChange, />
+ + + onProjectNameChange(e.target.value)} placeholder="project name"/>