mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
added machine user as placeholder
This commit is contained in:
parent
e5737db903
commit
f593f3330b
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import getpass
|
||||
|
||||
from Qt import QtWidgets
|
||||
|
||||
|
||||
|
|
@ -6,6 +8,7 @@ class LocalGeneralWidgets(QtWidgets.QWidget):
|
|||
super(LocalGeneralWidgets, self).__init__(parent)
|
||||
|
||||
username_input = QtWidgets.QLineEdit(self)
|
||||
username_input.setPlaceholderText(getpass.getuser())
|
||||
|
||||
layout = QtWidgets.QFormLayout(self)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue