qpidctrl  0.7.1
qlakeshoredevicedialog.cpp
Go to the documentation of this file.
2 #include "ui_qlakeshoredevicedialog.h"
3 #include "qlakeshoredevice.h"
4 #include "qpiddebug.h"
5 
7  QDialog(),
8  ui(new Ui::QLakeshoreDeviceDialog),
9  m_Device(device)
10 {
11  ui->setupUi(this);
12 
14 
15  if (dev) {
16  ui->m_PidDeviceSettings->setDevice(dev);
17  }
18 }
19 
21 {
22  delete ui;
23 }
24 
26 {
28 
29  if (dev) {
30  if (qcepDebug(DEBUG_LAKESHORE)) {
31  dev->printMessage("QLakeshoreDeviceDialog::accept");
32  }
33 
34  ui->m_PidDeviceSettings->accept();
35  }
36 
37  QDialog::accept();
38 }
Ui::QLakeshoreDeviceDialog * ui
QLakeshoreDeviceWPtr m_Device
QLakeshoreDeviceDialog(QLakeshoreDeviceWPtr device)
QWeakPointer< QLakeshoreDevice > QLakeshoreDeviceWPtr
QSharedPointer< QLakeshoreDevice > QLakeshoreDevicePtr