Advertisement
cp-pum4

Untitled

Apr 22nd, 2012
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. #ifndef UI_DIALOG_H
  2. #define UI_DIALOG_H
  3.  
  4. #include <QtCore/QVariant>
  5. #include <QtGui/QAction>
  6. #include <QtGui/QApplication>
  7. #include <QtGui/QButtonGroup>
  8. #include <QtGui/QDialog>
  9. #include <QtGui/QHeaderView>
  10. #include <QtGui/QPushButton>
  11. #include <QtGui/QTreeWidget>
  12. #include <QtGui/QVBoxLayout>
  13.  
  14. QT_BEGIN_NAMESPACE
  15.  
  16. class Ui_Dialog
  17. {
  18. public:
  19. QVBoxLayout *verticalLayout;
  20. QTreeWidget *treeWidget;
  21. QPushButton *pushButton;
  22.  
  23. void setupUi(QDialog *Dialog)
  24. {
  25. if (Dialog->objectName().isEmpty())
  26. Dialog->setObjectName(QString::fromUtf8("Dialog"));
  27. Dialog->resize(400, 300);
  28. verticalLayout = new QVBoxLayout(Dialog);
  29. verticalLayout->setSpacing(6);
  30. verticalLayout->setContentsMargins(11, 11, 11, 11);
  31. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  32. treeWidget = new QTreeWidget(Dialog);
  33. QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
  34. __qtreewidgetitem->setText(0, QString::fromUtf8("1"));
  35. treeWidget->setHeaderItem(__qtreewidgetitem);
  36. treeWidget->setObjectName(QString::fromUtf8("treeWidget"));
  37.  
  38. verticalLayout->addWidget(treeWidget);
  39.  
  40. pushButton = new QPushButton(Dialog);
  41. pushButton->setObjectName(QString::fromUtf8("pushButton"));
  42.  
  43. verticalLayout->addWidget(pushButton);
  44.  
  45.  
  46. retranslateUi(Dialog);
  47.  
  48. QMetaObject::connectSlotsByName(Dialog);
  49. } // setupUi
  50.  
  51. void retranslateUi(QDialog *Dialog)
  52. {
  53. Dialog->setWindowTitle(QApplication::translate("Dialog", "Dialog", 0, QApplication::UnicodeUTF8));
  54. pushButton->setText(QApplication::translate("Dialog", "Click Me", 0, QApplication::UnicodeUTF8));
  55. } // retranslateUi
  56.  
  57. };
  58.  
  59. namespace Ui {
  60. class Dialog: public Ui_Dialog {};
  61. } // namespace Ui
  62.  
  63. QT_END_NAMESPACE
  64.  
  65. #endif // UI_DIALOG_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement