5 #include <QtConcurrent>
20 explicit MainWindow(
char* loc,
char* rem,QWidget *parent = 0);
30 void initMainWindow();
31 void connectWidgets();
32 void disconnectWidgets();
36 unsigned int m_VideoModeLut[32];
37 unsigned int m_ColorCodingLut[32];
38 unsigned int m_FPSLut[8];
39 QList <QWidget*>m_pSli;
44 QMutex sliderInitMutex;
49 unsigned int fPSMaskDC1394,
50 unsigned int colorCodingMaskDC1394);
55 void initFormatTab(
unsigned int videoModeMaskDC1394,
unsigned int fPSMaskDC1394,
unsigned int colorCodingMaskDC1394);
56 void Init(uint, uint fPSDC1394, uint iSOSpeedDC1394,
57 bool operationModeDC1394, uint colorCodingDC1394, QSize
max, QSize step, QSize
offset,
58 QSize dim, QSize pos, uint bytesPerPacketDC1394,
bool transmissionDC1394);
60 void Reload(uint, uint, QSize
max, QSize step, QSize
offset, QSize dim, QSize pos, uint colorCodingDC1394, uint bytesPerPacketDC1394, uint fPSMaskDC1394, uint fPSDC1394, uint iSOSpeedDC1394);
61 void loadDefault(uint bytesPerPacketDC1394,uint colorCodingMaskDC1394,
bool transmissionDC1394);
62 void reset(uint bytesPerPacketDC1394,uint colorCodingMaskDC1394,
bool transmissionDC1394);
63 void onTransmissionOnoffDone();
64 void onPowerOnoffDone();
65 void onFormat7WindowDone();
66 void onVideoFormatCurrentDone();
67 void onColorCodingDone();
68 void onFramerateDone();
69 void onISOSpeedDone();
70 void onSizeByteDone();
73 void onVideoFormatCurrentIndexChanged(
int);
74 void onColorCodingCurrentIndexChanged(
int);
75 void onFramerateCurrentIndexChanged(
int);
76 void onISOSpeedCurrentIndexChanged(
int);
77 void onOpModeCurrentIndexChanged(
int);
78 void onSizeByteValueChanged(
int);
79 void onFormat7WindowChange(
int);
80 void onPowerOnoffChange(
bool value);
81 void onTransmissionOnoffChange(
bool value);
82 void onLoadDefaultsChange();
85 void onStartLoading();
88 void onSliderDisabled(QObject *slider);
90 void onReloadClicked();
92 void onTabClicked(
int index);
void internalFormatTab(unsigned int videoModeMaskDC1394, unsigned int fPSMaskDC1394, unsigned int colorCodingMaskDC1394)
MainWindow(FirmwareUpdaterCore *core, bool adminMode, QWidget *parent=0)