so thats it actually  its not as I put a few prints in to see.

ok will dive into that part a bit more  thanks

On Wed, May 10, 2017 at 2:02 AM, David Moulder <[email protected]>
wrote:

> Hi Todd,
>
> Is self.openMenu being triggered?  Have you added debug prints to
> confirm?  The above looks correct so I guessing it's something in the
> connected slot method, often the menu may be off screen or the actions not
> added correctly.
>
> -Dave
>
> On Wed, May 10, 2017 at 7:12 AM, Todd Widup <[email protected]> wrote:
>
>> I am trying to get a right click context menu working in a UI
>>
>>         self.treeView = QTreeView()
>>         self.treeView.setContextMenuPolicy(Qt.CustomContextMenu)
>>         self.treeView.customContextMenuRequested.connect(self.openMenu)
>>
>> self.openMenu is a small  menu that should open when right clicked on a
>> tree item, but nothing is executed.
>>
>> any suggestions where to start looking
>>
>>
>> --
>> Todd Widup
>> Creature TD / Technical Artist
>> [email protected]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/python_inside_maya/CABBPk35Qzm9%2Bhs3TKHiQkWXUCN45N2rgz%
>> 3DM5ApYT-KwytsDNYg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CABBPk35Qzm9%2Bhs3TKHiQkWXUCN45N2rgz%3DM5ApYT-KwytsDNYg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> *David Moulder*
> Technical Animator / Artist
> [email protected]
> *Professional Profile <http://uk.linkedin.com/pub/david-moulder/1/b12/b5a>*
>
> Mobile: +44 (0)7814033242 <+44%207814%20033242>
> See who we know in common
> <http://www.linkedin.com/e/wwk/5748982/?hs=false&tok=3tztwkse1silw1> Want
> a signature like this?
> <http://www.linkedin.com/e/sig/5748982/?hs=false&tok=3pwLU9-mBsilw1>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/CABD4PkREBAmpJobg%3D8FjMUvBRQW%3DKuMpBcbJZd9So%
> 2B9xtHXKfQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CABD4PkREBAmpJobg%3D8FjMUvBRQW%3DKuMpBcbJZd9So%2B9xtHXKfQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Todd Widup
Creature TD / Technical Artist
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABBPk36Kkw%3DayfJj1SCYPq-hAH8ufxt0mXuqA3nrzsRFtb%2B3AA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to