veryprofessionaldodo / krita-ui-redesign Goto Github PK
View Code? Open in Web Editor NEWA plugin to overhaul Krita's UI.
License: GNU General Public License v3.0
A plugin to overhaul Krita's UI.
License: GNU General Public License v3.0
It seems like the shortcuts to open the panels T and N word only when we're on a paint layer. Otherwise we're forced to use the mouse.
I'm using Pop_OS 21.04 with Gnome 3.38. and Krita version 4.4.8. I already copied the files correctly to the pykrita/
as oriented at the home page and the previous Issue by @linuxmobile.
Somehow, my Krita UI is like that:
I already have the pyqt5-dev
installed, and doesn't seem to be and/or solve the issue. Someone have some idea about what is causing it? This HUGE Krita's UI is pretty annoying.
Thanks.
But I have no idea why you just don't help with official krita UI/UX instead?
I love this add-on thanks!
Krita version: 4.3.0
This is a great plugin but unfortunately I got this error AttributeError: type object 'ArrowType' has no attribute 'LeftArrow'
I can ignore the message and the script will run just fine. But the error message will appear again if I activate the NuToolbox and NuToolOption (which both don't seem to work)
AttributeError
Python 3.6.9: /usr/bin/python3
Sat Dec 19 02:57:38 2020
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/home/heru/.local/share/krita/pykrita/krita-redesign/redesign.py in nuToolboxToggled(self=<krita-redesign.redesign.Redesign object>, toggled=True)
130
131 if toggled:
132 self.ntTB = ntToolBox(Application.activeWindow())
133 self.ntTB.pad.show()
134 self.ntTB.updateStyleSheet()
self = <krita-redesign.redesign.Redesign object>
self.ntTB = None
global ntToolBox = <class 'krita-redesign.nuTools.nttoolbox.ntToolBox'>
builtinApplication = <PyKrita.krita.Krita object>
Application.activeWindow = <built-in method activeWindow of Krita object>
/home/heru/.local/share/krita/pykrita/krita-redesign/nuTools/nttoolbox.py in __init__(self=<krita-redesign.nuTools.nttoolbox.ntToolBox object>, window=<PyKrita.krita.Window object>)
32 self.pad.setObjectName("toolBoxPad")
33 self.pad.borrowDocker(toolbox)
34 self.pad.setViewAlignment('left')
35
36 # Create and install event filter
self = <krita-redesign.nuTools.nttoolbox.ntToolBox object>
self.pad = <krita-redesign.nuTools.ntwidgetpad.ntWidgetPad object>
self.pad.setViewAlignment = <bound method ntWidgetPad.setViewAlignment of <k...redesign.nuTools.ntwidgetpad.ntWidgetPad object>>
/home/heru/.local/share/krita/pykrita/krita-redesign/nuTools/ntwidgetpad.py in setViewAlignment(self=<krita-redesign.nuTools.ntwidgetpad.ntWidgetPad object>, newAlignment='left')
185 self.alignment = newAlignment.lower()
186
187 self.btnHide.setArrow(self.alignment)
188
189 return True
self = <krita-redesign.nuTools.ntwidgetpad.ntWidgetPad object>
self.btnHide = <krita-redesign.nuTools.nttogglevisiblebutton.ntToggleVisibleButton object>
self.btnHide.setArrow = <bound method ntToggleVisibleButton.setArrow of ...ogglevisiblebutton.ntToggleVisibleButton object>>
self.alignment = 'left'
/home/heru/.local/share/krita/pykrita/krita-redesign/nuTools/nttogglevisiblebutton.py in setArrow(self=<krita-redesign.nuTools.nttogglevisiblebutton.ntToggleVisibleButton object>, alignment='left')
31 if alignment == "right":
32 self.setArrowType(Qt.ArrowType.RightArrow)
33 else:
34 self.setArrowType(Qt.ArrowType.LeftArrow)
35
self = <krita-redesign.nuTools.nttogglevisiblebutton.ntToggleVisibleButton object>
self.setArrowType = <built-in method setArrowType of ntToggleVisibleButton object>
global Qt = <class 'PyQt5.QtCore.Qt'>
Qt.ArrowType = <class 'PyQt5.QtCore.Qt.ArrowType'>
Qt.ArrowType.LeftArrow undefined
AttributeError: type object 'ArrowType' has no attribute 'LeftArrow'
__cause__ = None
__class__ = <class 'AttributeError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AttributeError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AttributeError object>
__doc__ = 'Attribute not found.'
__eq__ = <method-wrapper '__eq__' of AttributeError object>
__format__ = <built-in method __format__ of AttributeError object>
__ge__ = <method-wrapper '__ge__' of AttributeError object>
__getattribute__ = <method-wrapper '__getattribute__' of AttributeError object>
__gt__ = <method-wrapper '__gt__' of AttributeError object>
__hash__ = <method-wrapper '__hash__' of AttributeError object>
__init__ = <method-wrapper '__init__' of AttributeError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AttributeError object>
__lt__ = <method-wrapper '__lt__' of AttributeError object>
__ne__ = <method-wrapper '__ne__' of AttributeError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AttributeError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AttributeError object>
__repr__ = <method-wrapper '__repr__' of AttributeError object>
__setattr__ = <method-wrapper '__setattr__' of AttributeError object>
__setstate__ = <built-in method __setstate__ of AttributeError object>
__sizeof__ = <built-in method __sizeof__ of AttributeError object>
__str__ = <method-wrapper '__str__' of AttributeError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ("type object 'ArrowType' has no attribute 'LeftArrow'",)
with_traceback = <built-in method with_traceback of AttributeError object>
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/home/heru/.local/share/krita/pykrita/krita-redesign/redesign.py", line 132, in nuToolboxToggled
self.ntTB = ntToolBox(Application.activeWindow())
File "/home/heru/.local/share/krita/pykrita/krita-redesign/nuTools/nttoolbox.py", line 34, in __init__
self.pad.setViewAlignment('left')
File "/home/heru/.local/share/krita/pykrita/krita-redesign/nuTools/ntwidgetpad.py", line 187, in setViewAlignment
self.btnHide.setArrow(self.alignment)
File "/home/heru/.local/share/krita/pykrita/krita-redesign/nuTools/nttogglevisiblebutton.py", line 34, in setArrow
self.setArrowType(Qt.ArrowType.LeftArrow)
AttributeError: type object 'ArrowType' has no attribute 'LeftArrow'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.