Coder Social home page Coder Social logo

krita-ui-redesign's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

krita-ui-redesign's Issues

UI Resesign removes setting's tab borders

When enabling the UI Redesign and Flat theme option, it removed the tab borders and spacing in Krita's settings.

Is there a way to keep the flat look without effecting Krita's settings window? You can still navigate the settings tabs but its a little wonky looking.

Krita UI Redesign options enabled

Krita's settings tabs when the redesign is enabled

Plugin doesn't on Pop_OS 21.04 + Krita 4.4.8

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.
image

Somehow, my Krita UI is like that:
image

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.

Amazing addon

But I have no idea why you just don't help with official krita UI/UX instead?
I love this add-on thanks!

Unable to locate Redesign tab on menu

Title says it all. I executed the following in terminal
git clone https://github.com/veryprofessionaldodo/Krita-UI-Redesign ~/.local/share/krita/pykrita/
And restarted Krita. However:
image
There is no redesign tab.

AttributeError: type object 'ArrowType' has no attribute 'LeftArrow'

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.