Hello,
new Question: I'll use WTreeTable (it's easy to use) and connect the WTreeTableNode-Event selected() to an function. But it I click on the node (tested with root node), nothing happens. The function isn't called. I've done as following:

list = new WTreeTable(gebieteTable->elementAt(0,0));

  liste->addColumn("Typ", 100);

liste->addColumn("Id", 30);

WTreeTableNode *root = new WTreeTableNode("xyz");

root->setImagePack("resources/");

root->setColumnWidget(1, new WText("All"));

root->setColumnWidget(2, new WText("0"));

root->setSelectable(true);

gebieteListe->setTreeRoot(root, "abc");

  root->selected().connect(SLOT(this, FAdmin::test));
...

void FAdmin::test()

{

cout << 123 << endl;

}


But there's no 123 in output, only the normal witty-output.

I think I missed anything?

Greetings
Torsten

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to