-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from wojtryb/development
Deploy 1.5.3
- Loading branch information
Showing
10 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
# SPDX-FileCopyrightText: © 2022-2024 Wojciech Trybus <[email protected]> | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
from PyQt5.QtWidgets import QDialog | ||
from PyQt5.QtCore import Qt, QSize | ||
from PyQt5.QtGui import QCursor | ||
from PyQt5.QtWidgets import QVBoxLayout | ||
|
||
from api_krita.pyqt import BaseWidget | ||
from composer_utils import ButtonsLayout | ||
from config_system.ui import ( | ||
ConfigFormWidget, | ||
|
@@ -17,7 +16,7 @@ | |
from .rotation_config import RotationConfig | ||
|
||
|
||
class RotationSettings(BaseWidget): | ||
class RotationSettings(QDialog): | ||
"""Widget that allows to change values in passed config.""" | ||
|
||
def __init__(self, config: RotationConfig) -> None: | ||
|
@@ -127,7 +126,6 @@ def __init__(self, config: RotationConfig) -> None: | |
def show(self) -> None: | ||
"""Show the dialog after refreshing all its elements.""" | ||
self.refresh() | ||
self.move_center(QCursor.pos()) | ||
return super().show() | ||
|
||
def apply(self) -> None: | ||
|
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
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