Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: How to resolve 404 returned from web method when not running on localhost
Post: RE: How to resolve 404 returned from web method wh...
Definitely not as pretty, or as elegant as I was hoping. I was able to get things working by constructing the whole soap envelope (incl header) and posting that.
def api_login3(self, username, ... |
|
littleGreenDude |
General Coding Help |
3 |
3,097 |
Feb-05-2019, 09:01 PM |
|
|
Thread: How to resolve 404 returned from web method when not running on localhost
Post: RE: How to resolve 404 returned from web method wh...
Request format is unrecognized for URL unexpectedly ending in /GetAccountInfo
for a soap web service should I be able to post with urllib in the manner I'm trying, or would I have to build the XML so... |
|
littleGreenDude |
General Coding Help |
3 |
3,097 |
Feb-05-2019, 07:35 PM |
|
|
Thread: How to resolve 404 returned from web method when not running on localhost
Post: How to resolve 404 returned from web method when n...
I'm calling a webmethod that has been around for a while. When hitting localhost, all is fine and I get a 200 response. Here is soap envelope:
Content-Type: text/xml; charset=utf-8
Content-Length: ... |
|
littleGreenDude |
General Coding Help |
3 |
3,097 |
Feb-05-2019, 05:35 PM |
|
|
Thread: QScrollArea with a gridlayout
Post: RE: QScrollArea with a gridlayout
Here is a more complete example. As you select combo options, and add sections. The scrollbar does not appear, and after adding enough elements they become unusable.
from PyQt4 import QtCore, QtGui... |
|
littleGreenDude |
GUI |
2 |
10,008 |
Jan-28-2019, 07:14 PM |
|
|
Thread: QScrollArea with a gridlayout
Post: QScrollArea with a gridlayout
I have a form that grows in height as the user provides information. Currently this occurs by dynamically adding tables and other widgets to a grid layout as the user enters information. The simplif... |
|
littleGreenDude |
GUI |
2 |
10,008 |
Jan-22-2019, 05:57 PM |
|
|
Thread: QTableWidget cell validation
Post: RE: QTableWidget cell validation
It turns out I was heading in the wrong direction. Delegates work nicely:
import random
from PyQt4 import QtCore, QtGui
class LimistDelegate(QtGui.QStyledItemDelegate):
def createEditor(self, p... |
|
littleGreenDude |
GUI |
1 |
7,697 |
Jan-18-2019, 07:44 PM |
|
|
Thread: QTableWidget cell validation
Post: QTableWidget cell validation
Recommended approach for cell validation on dynamic table.
The scenario: I have a QDialog where based on different dropdown selections 1 or more tables are dynamically added. Because tables are dy... |
|
littleGreenDude |
GUI |
1 |
7,697 |
Jan-18-2019, 03:52 PM |
|
|
Thread: PyQt4 dynamic QComboBox
Post: RE: PyQt4 dynamic QComboBox
Thank you. I was able to get it working. Not sure if it is the best solution, but I moved the selection changed event from the custom combo-box class to the UI class and now it seems to consistently ... |
|
littleGreenDude |
GUI |
4 |
5,698 |
Jan-02-2019, 07:22 PM |
|
|
Thread: PyQt4 dynamic QComboBox
Post: RE: PyQt4 dynamic QComboBox
Thank you for the feedback. You have gotten me a step closer. However, my project has PyQt4 and Python 2.7 constraints. The dropdown is now showing, but the selection changed event is never fired. |
|
littleGreenDude |
GUI |
4 |
5,698 |
Jan-02-2019, 06:42 PM |
|
|
Thread: PyQt4 dynamic QComboBox
Post: PyQt4 dynamic QComboBox
I need to dynamically add combos to a parent form. Selecting a value in the combo should call a method in the parent form to dynamically update the screen.
I've created a custom ComboBox class that ... |
|
littleGreenDude |
GUI |
4 |
5,698 |
Jan-02-2019, 03:49 PM |
|
|
Thread: PyQt4 handle dynamic checkbox click
Post: RE: PyQt4 handle dynamic checkbox click
I don't know if this is the best approach, but it works. I stripped the _widget method out of the class and created a new class called CheckBox. I then made each of the boolean properties of the Par... |
|
littleGreenDude |
GUI |
1 |
6,596 |
Dec-27-2018, 09:17 PM |
|
|
Thread: How to set up visual studio 2017 for 3ds max Python development
Post: RE: How to set up visual studio 2017 for 3ds max P...
I ended up bailing on this (Visual Studio) approach and went with PyCharm.
I added QtDesigner and Pyuic as external tool calls and so far, this seems to be a pretty good IDE. |
|
littleGreenDude |
General Coding Help |
1 |
3,042 |
Dec-27-2018, 04:51 PM |
|
|
Thread: PyQt4 handle dynamic checkbox click
Post: PyQt4 handle dynamic checkbox click
I'm working on a screen that displays a QTableWidget. Each row in the table has a string 'Part Role Name' followed by 5 checkboxes. The number of rows in the table change based on Json results retur... |
|
littleGreenDude |
GUI |
1 |
6,596 |
Dec-27-2018, 04:44 PM |
|
|
Thread: PyQt4 installation frustration
Post: RE: PyQt4 installation frustration
The version bundled with 3ds Max is 2.7 |
|
littleGreenDude |
GUI |
4 |
4,550 |
Dec-27-2018, 04:29 PM |
|
|
Thread: PyQt4 installation frustration
Post: RE: PyQt4 installation frustration
Thank you for the response. There may not be a reason to avoid PyQt5. I just had a concern that PyQt5 should be used in conjunction with Python 3+
You did however point me in a different direction ... |
|
littleGreenDude |
GUI |
4 |
4,550 |
Dec-20-2018, 04:45 PM |
|
|
Thread: PyQt4 installation frustration
Post: PyQt4 installation frustration
I'm trying to get PyQt4 setup, so I can run the converter that will take the XML created by QT designer and translate it to Python code to work with the python that is included with 3ds Max.
My first... |
|
littleGreenDude |
GUI |
4 |
4,550 |
Dec-20-2018, 02:16 PM |
|
|
Thread: How to set up visual studio 2017 for 3ds max Python development
Post: How to set up visual studio 2017 for 3ds max Pytho...
I'm trying to configure my visual studio (2017) development environment so it will allow me to debug Python scripts that are written for 3ds Max (2018).
Please note, 3ds Max using Python 2.7.12 for s... |
|
littleGreenDude |
General Coding Help |
1 |
3,042 |
Dec-07-2018, 04:31 PM |