Skocz do zawartości
View in the app

A better way to browse. Learn more.

Max3D.pl

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Napisano

Hej mam problem z wpisaniem tekstu do QLineEdit

Przy wcisnieciu klawisza, Max traktuje to jak uzycie skrotu.

Probujac wpisac "c" dostaje "No cameras in scene" :)

 

wzialem przyklad ze strony autodesku i dziala to co napisali, czyli tworzenie cylindra

dodalem do niego QLineEdit

 

ed = QtGui.QLineEdit ()
main_layout.addWidget(ed)

 

.... no i nie dziala

 

w oficjalnym przykladzie autodesku pyside w max 2016 widget jest inicjowany tak

   w = QtGui.QWidget( )

 

w max 2017 widget jest inicjowany tak

w = QtGui.QWidget(MaxPlus.GetQMaxWindow())

 

ciekawe jest to ze w przykladzie z 2017 dodali

 

   textEdit = QtGui.QLineEdit()
   textEdit.setText("Edit box")
   main_layout.addWidget(textEdit)

 

... jakby chcieli pokazac ze QLineEdit JUZ DZIALA !!!

 

 

 

PS:

sorki, nie mam polskich fontow na tym kompie, ani praw admina ;]

Max 2016 z SP3, testowane na win7 i win10

 

 

http://help.autodesk.com/view/3DSMAX/2017/ENU/?guid=__developer_using_pyside_html

  • Odpowiedzi 1
  • Wyświetleń 2,8k
  • Created
  • Ostatniej odpowiedzi

Top Posters In This Topic

Napisano
  • Autor

[sOLVED]

 

barkowalo:

MaxPlus.AttachQWidgetToMax( simBatchWindow )

 

dzialajacy przyklad

C:\Program Files\Autodesk\3ds Max 2016\scripts\Python\demoPySideQWidget.py

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Powiadomienie o plikach cookie

Wykorzystujemy cookies. Przeczytaj więcej Polityka prywatności

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.