Can extension add panel?

29.01.10, 22:13, “Tim Vandermeersch” :

On Fri, Jan 29, 2010 at 12:43 PM, Konstantin Tokarev wrote:

Is it possible for extension to add tab to the left panel instead of rising QDialog? Such dialogs are inconvenient in some cases, e.g., for animation of vibrations
This is not possible in 1.0, this would require a new function like
QToolBar* Extension::toolBar(). We could add it in 1.1…

Can I use Extension::dockWidget for this purpose? Does it work? Where will it add new dock?


Regards,
Konstantin


The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com


Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
avogadro-devel List Signup and Options


Regards,
Konstantin

Здесь спама нет http://mail.yandex.ru/nospam/sign

Is it possible for extension to add tab to the left panel instead of rising QDialog? Such dialogs are inconvenient in some cases, e.g., for animation of vibrations


Regards,
Konstantin

On Fri, Jan 29, 2010 at 12:43 PM, Konstantin Tokarev annulen@yandex.ru wrote:

Is it possible for extension to add tab to the left panel instead of rising QDialog? Such dialogs are inconvenient in some cases, e.g., for animation of vibrations

This is not possible in 1.0, this would require a new function like
QToolBar* Extension::toolBar(). We could add it in 1.1…


Regards,
Konstantin


The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com


Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
avogadro-devel List Signup and Options

On Feb 5, 2010, at 9:58 AM, Konstantin Tokarev wrote:

Can I use Extension::dockWidget for this purpose? Does it work? Where will it add new dock?

Yes, you could create a dockWidget. That’s what the Python terminal does. The dock widget has a set of preferences for where it will appear.

http://doc.trolltech.com/4.6/qdockwidget.html#allowedAreas-prop

Hope that helps,
-Geoff