Subversion Repositories OpenInventory

Rev

Rev 104 | Rev 106 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 104 Rev 105
Line 4... Line 4...
4
MainWindow::MainWindow(QWidget *parent) :
4
MainWindow::MainWindow(QWidget *parent) :
5
    QMainWindow(parent),
5
    QMainWindow(parent),
6
    ui(new Ui::MainWindow)
6
    ui(new Ui::MainWindow)
7
{
7
{
8
    ui->setupUi(this);
8
    ui->setupUi(this);
-
 
9
    connect( ui->comboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(on_currentIndexChanged(int)));
9
10
10
   MainWindow::readModel();
11
   MainWindow::readModel();
11
12
12
   //QString model_str;
13
   //QString model_str;
13
   MainWindow::creatModelString();
14
   MainWindow::creatModelString();
Line 511... Line 512...
511
     }
512
     }
512
    ui->comboBox->addItems(tmp_stringList);
513
    ui->comboBox->addItems(tmp_stringList);
513
514
514
515
515
}
516
}
-
 
517
-
 
518
-
 
519
void MainWindow::on_currentIndexChanged( int index ){
-
 
520
int i;
-
 
521
i = index;
-
 
522
i++;
-
 
523
}
-
 
524