- Timestamp:
- 10/07/10 19:17:48 (14 years ago)
- Location:
- trunk/yao/src/interface
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yao/src/interface/src/InstructionWindow.cpp
r440 r442 22 22 23 23 /*********************************************************************************************************************************/ 24 InstructionWindow::InstructionWindow( QWidget *parent) : QWidget(parent) {24 InstructionWindow::InstructionWindow(/*yao::Table <yao::Function> *aFunctionTable,*/ QWidget *parent) : QWidget(parent) { 25 25 26 26 setupUi(this); -
trunk/yao/src/interface/src/MainWindow.cpp
r437 r442 928 928 929 929 930 InstructionWindow *iw = new InstructionWindow ;930 InstructionWindow *iw = new InstructionWindow(/*&theFunctionTable*/) ; 931 931 espace.addWindow(iw)->move(0, 0); 932 932 iw->show(); -
trunk/yao/src/interface/src/OrderWindow.cpp
r419 r442 23 23 24 24 setupUi(this); 25 25 26 26 m_trajectoryTable = aTrajectoryTable; 27 27 m_spaceTable = aSpaceTable; 28 28 m_operatorTable = anOperatorTable; 29 29 m_modulTable = aModulTable; 30 30 /* 31 31 setFixedWidth(baseSize().width() + 765); 32 32 m_comboTrajName->insertItem(0, ""); … … 41 41 m_comboSpaceName->insertItem(1, QString(it->getName().c_str())); 42 42 } 43 m_orderModel = new QStandardItemModel(0, 5); 43 */ 44 45 //m_orderModel = new QStandardItemModel(0, 5); 46 //m_choiceComboBox = new QComboBox; 47 m_choiceComboBox->addItem(tr("modinspace")); 48 m_choiceComboBox->addItem(tr("spaceintraj")); 49 50 //m_modinspaceRadioButton = new QRadioButton("modinspace"); 51 //m_spaceintrajRadioButton = new QRadioButton("spaceintraj"); 52 53 ModinspaceWindow *misw = new ModinspaceWindow; 54 SpaceintrajWindow *sitw = new SpaceintrajWindow(m_trajectoryTable, m_spaceTable, m_operatorTable); 55 //sitw->show(); 56 57 //horizontalLayout = new QHBoxLayout; 58 // horizontalLayout->addWidget(m_modinspaceRadioButton); 59 // horizontalLayout->addWidget(m_spaceintrajRadioButton); 60 61 stackedLayout = new QStackedLayout(m_mainFrame); 62 stackedLayout->addWidget(misw); 63 stackedLayout->addWidget(sitw); 44 64 45 65 66 //mainLayout = new QVBoxLayout; 67 //mainLayout->addWidget(m_choiceComboBox); 68 // mainLayout->addLayout(stackedLayout); 69 //setLayout(mainLayout); 70 71 72 //setFixedWidth(baseSize().width() + 765); 73 //resize(645, 540); 74 connect(m_choiceComboBox, SIGNAL(activated(int )), stackedLayout, SLOT(setCurrentIndex(int ))); 75 connect(m_quitButton, SIGNAL(clicked()), this, SLOT(close())); 46 76 } 47 77 … … 53 83 54 84 /***********************************************************************/ 85 86 /***********************************************************************/ 87 /***********************************************************************/ -
trunk/yao/src/interface/src/include/InstructionWindow.hpp
r440 r442 13 13 #include <QMessageBox> 14 14 #include "../../ui_instructionwindow.h" 15 #include "../../../YAOObjects/Function.hpp" 16 17 //#include "InsertFCTWindow.hpp" 15 18 16 19 class InstructionWindow: public QWidget, public Ui::InstructionWindow { … … 19 22 20 23 public : 21 InstructionWindow( QWidget *parent=0);24 InstructionWindow(/*yao::Table <yao::Function> *aFunctionTable,*/ QWidget *parent=0); 22 25 23 26 private slots: -
trunk/yao/src/interface/src/include/OrderWindow.hpp
r400 r442 16 16 #include "../../../YAOObjects/Trajectory.hpp" 17 17 #include "../../../YAOObjects/Order.hpp" 18 #include "ModinspaceWindow.hpp" 19 #include "SpaceintrajWindow.hpp" 20 18 21 #include <QStandardItemModel> 22 #include <QStackedLayout> 23 #include <QRadioButton> 24 #include <QVBoxLayout> 25 #include <QHBoxLayout> 19 26 20 27 class OrderWindow : public QWidget, public Ui::OrderWindow { … … 35 42 private : 36 43 QStandardItemModel *m_orderModel; 44 QStackedLayout *stackedLayout; 45 46 //QRadioButton *m_modinspaceRadioButton; 47 //QRadioButton *m_spaceintrajRadioButton; 48 49 QVBoxLayout *mainLayout; 50 //QHBoxLayout *horizontalLayout; 51 52 //QComboBox *m_choiceComboBox; 53 37 54 yao::Table <yao::Trajectory> *m_trajectoryTable; 38 55 yao::Table <yao::Space> *m_spaceTable; -
trunk/yao/src/interface/ui_newprojectwindow.h
r440 r442 2 2 ** Form generated from reading UI file 'newprojectwindow.ui' 3 3 ** 4 ** Created: Sun Oct 3 16:42:3420105 ** by: Qt User Interface Compiler version 4.6. 24 ** Created: Thu Oct 7 14:11:53 2010 5 ** by: Qt User Interface Compiler version 4.6.3 6 6 ** 7 7 ** WARNING! All changes made in this file will be lost when recompiling UI file!
Note: See TracChangeset
for help on using the changeset viewer.