Page 2 of 3 FirstFirst 123 LastLast
Results 21 to 40 of 42

Thread: QTreeWidget clicked signal

  1. #21
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    what is the exact type of plc and lnx variables?
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  2. #22
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Default Re: QTreeWidget clicked signal

    Exact type of plc and lnx are as follows.

    Qt Code:
    1. QTreeWidgetItem *lnx=new QTreeWidgetItem(treeWidget);
    To copy to clipboard, switch view to plain text mode 
    Last edited by wysota; 27th January 2010 at 10:20. Reason: Missing [code] tags

  3. #23
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    so is there any method to check the condition
    What condition ??

  4. #24
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Default Re: QTreeWidget clicked signal

    plz go through the below code and before posted code........
    Qt Code:
    1. void xxx::showItem(QTreeWidgetItem* item)
    2.  
    3. {
    4.  
    5. if(item == lnx)
    6.  
    7. {
    8.  
    9. ECLogic_Lnx=new eclogic_lnx(main_tab_widget);
    10.  
    11. ECLogic_Lnx->setWindowTitle(QString("ECLOGIC-LNX"));
    12.  
    13. ECLogic_Lnx->show();
    14.  
    15. }
    16.  
    17. else
    18.  
    19. if(item == plc)
    20.  
    21. tab_3=new QTabBar(main_tab_widget);
    22.  
    23. PLCconfig=new plcconfiguration(tab_3);
    24.  
    25. PLCconfig->setWindowTitle(QString("PLC"));
    26.  
    27. main_tab_widget->insertTab(0,tab_3,QString("PLC"));
    28.  
    29. tab_3->setCurrentIndex(main_tab_widget->indexOf(tab_3));
    30.  
    31. PLCconfig->show();
    32.  
    33. }
    To copy to clipboard, switch view to plain text mode 

    while iam using if(........) condition the other windows(plc,pvc,....)has to open when i click the treewidgetitems like PLC,ECLOGIC-LNX........but the condition is not working correctly
    Last edited by wysota; 27th January 2010 at 10:20. Reason: Missing [code] tags

  5. #25
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    I guess you are messing with the tab bar and tab widget.
    PLCconfig->show();
    I guess that should be tab_3->show();
    or main_tab_widget->show();

    I guess you are not showing the parent widget and somehow messing with tab widget.

  6. The following user says thank you to aamer4yu for this useful post:

    mkkguru (27th January 2010)

  7. #26
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Default Re: QTreeWidget clicked signal

    Quote Originally Posted by aamer4yu View Post
    I guess you are messing with the tab bar and tab widget.
    PLCconfig->show();
    I guess that should be tab_3->show();
    or main_tab_widget->show();

    I guess you are not showing the parent widget and somehow messing with tab widget.
    PLCconfig,ECLogic_Lnx are different ui names iam calling that ui's in tab bar and placing in main_tab_widget.,so me facing problem in writing the connections to treewidget,where items like plc,...etc has to click,when we click on plc (QTreewidgetItem) the PLCconfig(ui) has to open,then when we click on ECLOGIC-lnx(QTrreewidgetItem)the ECLogic-LNX(ui)has to open,.............

    please kindly go through the code and image(treewidget) which i posted and plz give me the solution.

  8. #27
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    It is hard to understand what you are saying but your code where you add new tab is wrong. For what do you need new QTabBar?
    It should be like this:
    Qt Code:
    1. main_tab_widget->insertTab(0, new plcconfiguration(main_tab_widget), "PLC");
    2. main_tab_widget->setCurrentIndex(0);
    To copy to clipboard, switch view to plain text mode 
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  9. #28
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Default Re: QTreeWidget clicked signal

    Quote Originally Posted by faldżip View Post
    It is hard to understand what you are saying but your code where you add new tab is wrong. For what do you need new QTabBar?
    It should be like this:
    Qt Code:
    1. main_tab_widget->insertTab(0, new plcconfiguration(main_tab_widget), "PLC");
    2. main_tab_widget->setCurrentIndex(0);
    To copy to clipboard, switch view to plain text mode 
    ok thankq,

    i tried ,i got the required solution but the connections to the treewidget not getting ,as iam attaching the treewidget image,when iam clicking the items in that the particular window(Gui )has to open
    Attached Images Attached Images

  10. #29
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    Can you finally explain what is a "connection to treewidget"?
    You said that now your code is working but it is not working... So can you decide if it is or it is not?
    I don't see how your picture can help us understand your problem?
    Maybe you can find someone to help you explain your problem in english or use some google translator to help you.
    And use CODE tags when pasting code.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  11. The following user says thank you to faldzip for this useful post:

    mkkguru (28th January 2010)

  12. #30
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Default Re: QTreeWidget clicked signal

    Quote Originally Posted by faldżip View Post
    Can you finally explain what is a "connection to treewidget"?
    You said that now your code is working but it is not working... So can you decide if it is or it is not?
    I don't see how your picture can help us understand your problem?
    Maybe you can find someone to help you explain your problem in english or use some google translator to help you.
    And use CODE tags when pasting code.
    do you know how we can use signals and slots in treewidget?

    do you know below code?

    connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showPLC(QTreeWidgetItem *)));

  13. #31
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    Quote Originally Posted by mkkguru View Post
    do you know how we can use signals and slots in treewidget?
    Yes, I know, like in every other class.
    do you know below code?
    connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showPLC(QTreeWidgetItem *)));
    Yes, I know, you've pasted it before :]

    Ok, so please run this example and tell me if it is what you want, because I did what I understand you want but as I said, it is difficult to understand your needs.
    Qt Code:
    1. #include <QtGui>
    2.  
    3. class Widget : public QWidget
    4. {
    5. Q_OBJECT
    6. public:
    7. Widget(QWidget *parent = 0) : QWidget(parent) {
    8. treeWidget = new QTreeWidget(this);
    9. tabWidget = new QTabWidget(this);
    10. tabWidget->setTabsClosable(true);
    11. la->addWidget(treeWidget);
    12. la->addWidget(tabWidget);
    13. setLayout(la);
    14.  
    15. for (int i = 0; i < 2; ++i) {
    16. QTreeWidgetItem *p = new QTreeWidgetItem(treeWidget, QStringList() << QString("parent item %1").arg(i));
    17. for (int j = 0; j < 5; ++j) {
    18. QTreeWidgetItem *c = new QTreeWidgetItem(QStringList() << QString("child item %1%2").arg(i).arg(j));
    19. p->addChild(c);
    20. }
    21. }
    22. connect(treeWidget, SIGNAL(itemClicked(QTreeWidgetItem*,int)), SLOT(slotItemClicked(QTreeWidgetItem*)));
    23. connect(tabWidget, SIGNAL(tabCloseRequested(int)), SLOT(slotCloseTab(int)));
    24. }
    25. private slots:
    26. void slotItemClicked(QTreeWidgetItem *item) {
    27. QWidget *w = itemToWidget.value(item, 0);
    28. if (w) {
    29. tabWidget->setCurrentWidget(w);
    30. return;
    31. }
    32. QLabel *label = new QLabel(item->text(0));
    33. itemToWidget.insert(item, label);
    34. widgetToItem.insert(label, item);
    35. label->setAlignment(Qt::AlignCenter);
    36. tabWidget->insertTab(0, label, item->text(0));
    37. tabWidget->setCurrentIndex(0);
    38. }
    39. void slotCloseTab(int index) {
    40. QWidget *w = tabWidget->widget(index);
    41. itemToWidget.remove(widgetToItem.value(w));
    42. widgetToItem.remove(w);
    43. tabWidget->removeTab(index);
    44. }
    45. private:
    46. QTabWidget *tabWidget;
    47. QTreeWidget *treeWidget;
    48. QMap<QTreeWidgetItem *, QWidget *> itemToWidget;
    49. QMap<QWidget *, QTreeWidgetItem *> widgetToItem;
    50. };
    51.  
    52. int main(int argc, char **argv)
    53. {
    54. QApplication a(argc, argv);
    55. Widget w;
    56. w.show();
    57. return a.exec();
    58. }
    59. #include "main.moc"
    To copy to clipboard, switch view to plain text mode 
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  14. #32
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Smile Re: QTreeWidget clicked signal

    Quote Originally Posted by faldżip View Post
    Yes, I know, like in every other class.

    Yes, I know, you've pasted it before :]

    Ok, so please run this example and tell me if it is what you want, because I did what I understand you want but as I said, it is difficult to understand your needs.
    Qt Code:
    1. #include <QtGui>
    2.  
    3. class Widget : public QWidget
    4. {
    5. Q_OBJECT
    6. public:
    7. Widget(QWidget *parent = 0) : QWidget(parent) {
    8. treeWidget = new QTreeWidget(this);
    9. tabWidget = new QTabWidget(this);
    10. tabWidget->setTabsClosable(true);
    11. la->addWidget(treeWidget);
    12. la->addWidget(tabWidget);
    13. setLayout(la);
    14.  
    15. for (int i = 0; i < 2; ++i) {
    16. QTreeWidgetItem *p = new QTreeWidgetItem(treeWidget, QStringList() << QString("parent item %1").arg(i));
    17. for (int j = 0; j < 5; ++j) {
    18. QTreeWidgetItem *c = new QTreeWidgetItem(QStringList() << QString("child item %1%2").arg(i).arg(j));
    19. p->addChild(c);
    20. }
    21. }
    22. connect(treeWidget, SIGNAL(itemClicked(QTreeWidgetItem*,int)), SLOT(slotItemClicked(QTreeWidgetItem*)));
    23. connect(tabWidget, SIGNAL(tabCloseRequested(int)), SLOT(slotCloseTab(int)));
    24. }
    25. private slots:
    26. void slotItemClicked(QTreeWidgetItem *item) {
    27. QWidget *w = itemToWidget.value(item, 0);
    28. if (w) {
    29. tabWidget->setCurrentWidget(w);
    30. return;
    31. }
    32. QLabel *label = new QLabel(item->text(0));
    33. itemToWidget.insert(item, label);
    34. widgetToItem.insert(label, item);
    35. label->setAlignment(Qt::AlignCenter);
    36. tabWidget->insertTab(0, label, item->text(0));
    37. tabWidget->setCurrentIndex(0);
    38. }
    39. void slotCloseTab(int index) {
    40. QWidget *w = tabWidget->widget(index);
    41. itemToWidget.remove(widgetToItem.value(w));
    42. widgetToItem.remove(w);
    43. tabWidget->removeTab(index);
    44. }
    45. private:
    46. QTabWidget *tabWidget;
    47. QTreeWidget *treeWidget;
    48. QMap<QTreeWidgetItem *, QWidget *> itemToWidget;
    49. QMap<QWidget *, QTreeWidgetItem *> widgetToItem;
    50. };
    51.  
    52. int main(int argc, char **argv)
    53. {
    54. QApplication a(argc, argv);
    55. Widget w;
    56. w.show();
    57. return a.exec();
    58. }
    59. #include "main.moc"
    To copy to clipboard, switch view to plain text mode 

    Hi ,

    I really thanks ,its working for me ,thanks for the code...
    Last edited by mkkguru; 28th January 2010 at 10:24.

  15. #33
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    I really hope you make some effort to understand this piece of code and not only copy-paste it to your application.
    And next time please try to describe your problem more clearly and attach image which could be helpful, because yours did not even contain any tab widget and we already know how tree widget looks like...
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  16. #34
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Default Re: QTreeWidget clicked signal

    Hi,

    iam attaching my project,u will now understand about my project, plz go through the below ..

    1)click on New menu ->new Project window has to open and ECLogic-LNX wil place in Treewidget.then
    2)click on ECLogic-LNX->ECLogic-LNX window has to open.
    3) click on PLC->PLC configrtn window has to open.
    4)click on CPU configuration ->cpu confi window '" " """""""""""""""""""""
    5)click on Program variable configuration->Program varbl config "" """"" """"
    6)click on IO configuration -> IO Config """"""""""""""""""""'
    7)click on BIN ->Bin """"""""""""""""""""""'

    But my problem iam getting in my project is when iam clicking on treewidget item all the windows are coming....
    plz help to get the solutions of above mention points..
    Attached Files Attached Files

  17. #35
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    Man, read all answers to your posts once again, ok? It was already mentioned that this is wrong way:
    Qt Code:
    1. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showPLC(QTreeWidgetItem *)));
    2. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showpvc(QTreeWidgetItem *)));
    3. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showLDR()));
    4. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showIOC(QTreeWidgetItem*)));
    5. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showCHNL(QTreeWidgetItem *)));
    6. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showCPU(QTreeWidgetItem *)));
    7. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showSLT(QTreeWidgetItem *)));
    8. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem *,int)),this,SLOT(showBIN(QTreeWidgetItem *)));
    9.  
    10. connect(ui->treeWidget,SIGNAL(itemClicked(QTreeWidgetItem* ,int)),this,SLOT(showItem(QTreeWidgetItem*)));
    To copy to clipboard, switch view to plain text mode 
    and read about Signals and slots in Qt Assistant and you will know why it is working wrong. There is even a picture showing how it is working.
    And the solution has already been given to you in previous posts.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  18. The following user says thank you to faldzip for this useful post:

    mkkguru (28th January 2010)

  19. #36
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Default Re: QTreeWidget clicked signal

    Hi faldzip,

    I tried the previous post code ,which i used the single slot,there i written like below
    Qt Code:
    1. void ECLogic::showItem(QTreeWidgetItem* item )
    2. {
    3. if(item=="PLC")
    4. {
    5. PLCconfig=new plcconfiguration();
    6. main_tab_widget->insertTab(0,PLCconfig, "PLC");
    7. main_tab_widget->setCurrentIndex(0);
    8. PLCconfig->show();
    9. }
    10. else if(item==lnx)
    11. {
    12. ECLogic_Lnx=new eclogic_lnx(main_tab_widget);
    13. ECLogic_Lnx->setWindowTitle(QString("ECLOGIC-LNX"));
    14. ECLogic_Lnx->show();
    15. }
    16. }
    To copy to clipboard, switch view to plain text mode 
    but above condition is not working for me,can you please solve how to write that code......
    Last edited by wysota; 28th January 2010 at 20:14. Reason: Missing [code] tags

  20. #37
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    What is the type of item and what is the type of "PLC"?
    And in your code lnx is a local variable in different method so how do you want to reference it in this method?
    I think you need to revise your C++ knowledge...
    Why can't you use QTreeWidgetItem methods like for example text() to get know what item did you clicked?
    You can event set your data with QTreeWidgetItem::setData() with Qt::UserRole while creating item to let you know what item it is.
    Qt Code:
    1. QTreeWidgetItem lnx = new QTreeWidgetItem(ui->treeWidget);
    2. lnx->setData(0, Qt::UserRole, "lnx");
    3.  
    4. // and check it:
    5. if (item->data().toString() == "lnx")
    To copy to clipboard, switch view to plain text mode 

    P.S. And use CODE tags for pasting code! Your code is already a mess in terms of formatting and without CODE tags it is even worse.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  21. The following user says thank you to faldzip for this useful post:

    mkkguru (28th January 2010)

  22. #38
    Join Date
    Oct 2009
    Posts
    35
    Thanks
    12
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11

    Default Re: QTreeWidget clicked signal

    Hi,
    I didnt mention any type to Item and PLC ,i just created as QTreewidgetItem *item and QTreeWidgetItem *plc ,please go through my attached project in previous post ,let me know what i done the mistakes in code,as iam new to Qt,this is the first project iam handling ,please feel free to answer to my post .
    thankq ..

  23. #39
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidget clicked signal

    Quote Originally Posted by mkkguru View Post
    Hi,
    I didnt mention any type to Item and PLC ,i just created as QTreewidgetItem *item and QTreeWidgetItem *plc
    I mean C++ type... To make you things easier I can say that in this code:
    Qt Code:
    1. void ECLogic::showItem(QTreeWidgetItem* item )
    2. {
    3. if(item=="PLC")
    4. {
    5. PLCconfig=new plcconfiguration();
    6. main_tab_widget->insertTab(0,PLCconfig, "PLC");
    7. main_tab_widget->setCurrentIndex(0);
    8. PLCconfig->show();
    9. }
    10. else if(item==lnx)
    11. {
    12. ECLogic_Lnx=new eclogic_lnx(main_tab_widget);
    13. ECLogic_Lnx->setWindowTitle(QString("ECLOGIC-LNX"));
    14. ECLogic_Lnx->show();
    15. }
    16. }
    To copy to clipboard, switch view to plain text mode 
    item's type is QTreeWidgetItem* and "PLC" is const char *, so both are pointers. Do you want to compare two memory addresses of two completely different things? I don't think so...
    And again:
    i just created as QTreewidgetItem *item and QTreeWidgetItem *plc
    You have created them in another method as local variables so they not exist where you want to reference them. They are dead :]

    Your problem now is pure C++ issue. Please revise your C++ basics, like local variables, scopes, referencing pointers and so on.

    And your project your slot showItem looks:
    Qt Code:
    1. void ECLogic::showItem(QTreeWidgetItem* item )
    2. {
    3.  
    4. ECLogic_Lnx=new eclogic_lnx(main_tab_widget);
    5. ECLogic_Lnx->setWindowTitle(QString("ECLOGIC-LNX"));
    6. ECLogic_Lnx->show();
    7.  
    8. item << "PLC" << "CPU CONFIGURATION" << "PROGRAM VARIABLE CONFIGURATION" << "IO CONFIGURATION"
    9. << "BIN" << "SLOT" <<"LADDER PROGRAM";
    10.  
    11. if(item=="PLC")
    12. {
    13. PLCconfig=new plcconfiguration();
    14. main_tab_widget->insertTab(0,PLCconfig, "PLC");
    15. main_tab_widget->setCurrentIndex(0);
    16. PLCconfig->show();
    17. }
    18. else if(item==lnx)
    19. {
    20. ECLogic_Lnx=new eclogic_lnx(main_tab_widget);
    21. ECLogic_Lnx->setWindowTitle(QString("ECLOGIC-LNX"));
    22. ECLogic_Lnx->show();
    23. }
    24. }
    To copy to clipboard, switch view to plain text mode 
    Which does not make sense at all.

    EDIT:
    Oops now I found that there is another lnx variable which is class member - that would be better, but when you are creating new QTreeWidgetItem you are assigning it to the local variable with the same name (lnx) so your member variable lnx is always unassigned and referencing it will cause segmentation fault.
    Last edited by faldzip; 28th January 2010 at 16:04.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  24. The following user says thank you to faldzip for this useful post:

    mkkguru (30th January 2010)

  25. #40
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QTreeWidget clicked signal

    Quote Originally Posted by faldżip View Post
    P.S. And use CODE tags for pasting code! Your code is already a mess in terms of formatting and without CODE tags it is even worse.
    You can "reward" the author with negative reputation if you feel he is not behaving well by clicking the star icon under his post.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  26. The following user says thank you to wysota for this useful post:

    mkkguru (30th January 2010)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.