mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
use the widget in publisher
This commit is contained in:
parent
60f876dfaa
commit
3896aec56c
2 changed files with 7 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ from .widgets import (
|
|||
PublishBtn,
|
||||
CreateNextPageOverlay,
|
||||
)
|
||||
from .comment_input import CommentInput
|
||||
from .help_widget import (
|
||||
HelpButton,
|
||||
HelpDialog,
|
||||
|
|
@ -33,6 +34,8 @@ __all__ = (
|
|||
"PublishBtn",
|
||||
"CreateNextPageOverlay",
|
||||
|
||||
"CommentInput",
|
||||
|
||||
"HelpButton",
|
||||
"HelpDialog",
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ from qtpy import QtCore, QtWidgets
|
|||
from ayon_core.style import load_stylesheet
|
||||
from ayon_core.tools.utils import (
|
||||
BaseClickableFrame,
|
||||
PlaceholderLineEdit,
|
||||
get_qt_icon,
|
||||
get_qt_app,
|
||||
PixmapLabel,
|
||||
|
|
@ -367,7 +368,9 @@ class CommentInput(QtWidgets.QWidget):
|
|||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
|
||||
text_input = QtWidgets.QLineEdit(self)
|
||||
text_input = PlaceholderLineEdit(self)
|
||||
text_input.setObjectName("PublishCommentInput")
|
||||
text_input.setPlaceholderText("Attach a comment to your publish")
|
||||
|
||||
floating_hints_widget = FloatingHintWidget(self)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue