@@ -417,7 +417,16 | |||
|
417 | 417 | self.tabParameters.setEnabled(False) |
|
418 | 418 | self.btnGbkp.setEnabled(False) |
|
419 | 419 | |
|
420 | ||
|
420 | ||
|
421 | @pyqtSignature("") | |
|
422 | def on_btnRestart_clicked(self): | |
|
423 | """ | |
|
424 | Slot documentation goes here. | |
|
425 | """ | |
|
426 | self.tabParameters.setEnabled(True) | |
|
427 | self.btnGbkp.setEnabled(True) | |
|
428 | ||
|
429 | ||
|
421 | 430 | @pyqtSignature("") |
|
422 | 431 | def on_btnStartburn_clicked(self): |
|
423 | 432 | """ |
@@ -454,14 +463,14 | |||
|
454 | 463 | ####self.txtInfo.append(str(p.pid)) |
|
455 | 464 | |
|
456 | 465 | |
|
457 | ||
|
458 | @pyqtSignature("") | |
|
459 | def on_btnRestart_clicked(self): | |
|
466 | @pyqtSignature("") | |
|
467 | def on_btnStopburn_clicked(self): | |
|
460 | 468 | """ |
|
461 | 469 | Slot documentation goes here. |
|
462 | 470 | """ |
|
463 | self.tabParameters.setEnabled(True) | |
|
464 | self.btnGbkp.setEnabled(True) | |
|
471 | # TODO: not implemented yet | |
|
472 | raise NotImplementedError | |
|
473 | ||
|
465 | 474 | |
|
466 | 475 | @pyqtSignature("") |
|
467 | 476 | def on_btnTdevA_clicked(self): |
@@ -486,3 +495,4 | |||
|
486 | 495 | var_dev = str(self.txtDeviceD.text()) |
|
487 | 496 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev |
|
488 | 497 | commands.getstatusoutput(var_cmd) |
|
498 |
@@ -7,7 +7,7 | |||
|
7 | 7 | <x>0</x> |
|
8 | 8 | <y>0</y> |
|
9 | 9 | <width>809</width> |
|
10 |
<height>7 |
|
|
10 | <height>737</height> | |
|
11 | 11 | </rect> |
|
12 | 12 | </property> |
|
13 | 13 | <property name="windowTitle"> |
@@ -718,6 +718,9 | |||
|
718 | 718 | </property> |
|
719 | 719 | <item> |
|
720 | 720 | <widget class="QPushButton" name="btnGbkp"> |
|
721 | <property name="enabled"> | |
|
722 | <bool>false</bool> | |
|
723 | </property> | |
|
721 | 724 | <property name="text"> |
|
722 | 725 | <string>Generate Bkp</string> |
|
723 | 726 | </property> |
@@ -725,6 +728,9 | |||
|
725 | 728 | </item> |
|
726 | 729 | <item> |
|
727 | 730 | <widget class="QPushButton" name="btnRestart"> |
|
731 | <property name="enabled"> | |
|
732 | <bool>false</bool> | |
|
733 | </property> | |
|
728 | 734 | <property name="text"> |
|
729 | 735 | <string>Restart</string> |
|
730 | 736 | </property> |
@@ -732,6 +738,9 | |||
|
732 | 738 | </item> |
|
733 | 739 | <item> |
|
734 | 740 | <widget class="QPushButton" name="btnStartburn"> |
|
741 | <property name="enabled"> | |
|
742 | <bool>false</bool> | |
|
743 | </property> | |
|
735 | 744 | <property name="text"> |
|
736 | 745 | <string>Start Burn</string> |
|
737 | 746 | </property> |
@@ -739,6 +748,9 | |||
|
739 | 748 | </item> |
|
740 | 749 | <item> |
|
741 | 750 | <widget class="QPushButton" name="btnStopburn"> |
|
751 | <property name="enabled"> | |
|
752 | <bool>false</bool> | |
|
753 | </property> | |
|
742 | 754 | <property name="text"> |
|
743 | 755 | <string>Stop Burn</string> |
|
744 | 756 | </property> |
@@ -754,7 +766,7 | |||
|
754 | 766 | <x>0</x> |
|
755 | 767 | <y>0</y> |
|
756 | 768 | <width>809</width> |
|
757 |
<height>2 |
|
|
769 | <height>21</height> | |
|
758 | 770 | </rect> |
|
759 | 771 | </property> |
|
760 | 772 | <widget class="QMenu" name="menuFile"> |
@@ -1,9 +1,9 | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | |
|
3 |
# Form implementation generated from reading ui file '/home/ricardoar/ |
|
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' | |
|
4 | 4 | # |
|
5 |
# Created: |
|
|
6 |
# by: PyQt4 UI code generator 4.7. |
|
|
5 | # Created: Sun May 16 20:10:40 2010 | |
|
6 | # by: PyQt4 UI code generator 4.7.2 | |
|
7 | 7 | # |
|
8 | 8 | # WARNING! All changes made in this file will be lost! |
|
9 | 9 | |
@@ -12,7 +12,7 | |||
|
12 | 12 | class Ui_MainWindow(object): |
|
13 | 13 | def setupUi(self, MainWindow): |
|
14 | 14 | MainWindow.setObjectName("MainWindow") |
|
15 |
MainWindow.resize(809, 7 |
|
|
15 | MainWindow.resize(809, 737) | |
|
16 | 16 | self.centralwidget = QtGui.QWidget(MainWindow) |
|
17 | 17 | self.centralwidget.setObjectName("centralwidget") |
|
18 | 18 | self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) |
@@ -408,21 +408,25 | |||
|
408 | 408 | self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) |
|
409 | 409 | self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
410 | 410 | self.btnGbkp = QtGui.QPushButton(self.centralwidget) |
|
411 | self.btnGbkp.setEnabled(False) | |
|
411 | 412 | self.btnGbkp.setObjectName("btnGbkp") |
|
412 | 413 | self.horizontalLayout_2.addWidget(self.btnGbkp) |
|
413 | 414 | self.btnRestart = QtGui.QPushButton(self.centralwidget) |
|
415 | self.btnRestart.setEnabled(False) | |
|
414 | 416 | self.btnRestart.setObjectName("btnRestart") |
|
415 | 417 | self.horizontalLayout_2.addWidget(self.btnRestart) |
|
416 | 418 | self.btnStartburn = QtGui.QPushButton(self.centralwidget) |
|
419 | self.btnStartburn.setEnabled(False) | |
|
417 | 420 | self.btnStartburn.setObjectName("btnStartburn") |
|
418 | 421 | self.horizontalLayout_2.addWidget(self.btnStartburn) |
|
419 | 422 | self.btnStopburn = QtGui.QPushButton(self.centralwidget) |
|
423 | self.btnStopburn.setEnabled(False) | |
|
420 | 424 | self.btnStopburn.setObjectName("btnStopburn") |
|
421 | 425 | self.horizontalLayout_2.addWidget(self.btnStopburn) |
|
422 | 426 | self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
423 | 427 | MainWindow.setCentralWidget(self.centralwidget) |
|
424 | 428 | self.menubar = QtGui.QMenuBar(MainWindow) |
|
425 |
self.menubar.setGeometry(QtCore.QRect(0, 0, 809, 2 |
|
|
429 | self.menubar.setGeometry(QtCore.QRect(0, 0, 809, 21)) | |
|
426 | 430 | self.menubar.setObjectName("menubar") |
|
427 | 431 | self.menuFile = QtGui.QMenu(self.menubar) |
|
428 | 432 | self.menuFile.setObjectName("menuFile") |
General Comments 0
You need to be logged in to leave comments.
Login now