Some tweeks.

This commit is contained in:
salman 2009-09-08 09:46:42 +00:00
parent 50a97f6738
commit 69121e2822
4 changed files with 25 additions and 20 deletions

View File

@ -1,6 +1,6 @@
# Form implementation generated from reading ui file 'TrimSPGUItabs.ui' # Form implementation generated from reading ui file 'TrimSPGUItabs.ui'
# #
# Created: Tue Aug 11 15:28:40 2009 # Created: Tue Sep 8 11:42:14 2009
# by: The PerlQt User Interface Compiler (puic) # by: The PerlQt User Interface Compiler (puic)
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -1943,7 +1943,7 @@ sub ConfirmQuit
my $Ans = Qt::MessageBox::question( this, "Quit?","Are you sure you want to quit?","&Yes","&No","",0,1); my $Ans = Qt::MessageBox::question( this, "Quit?","Are you sure you want to quit?","&Yes","&No","",0,1);
if ($Ans==0) { if ($Ans==0) {
# Then quit # Then quit
exit; Qt::Application::exit( 0 );
} }
# Otherwize go back # Otherwize go back
# print STDOUT $ENV{'TRIMBIN'}."\n"; # print STDOUT $ENV{'TRIMBIN'}."\n";

View File

@ -44,6 +44,22 @@
<property name="modal"> <property name="modal">
<bool>true</bool> <bool>true</bool>
</property> </property>
<widget class="QProgressBar">
<property name="name">
<cstring>Progress</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>525</y>
<width>715</width>
<height>20</height>
</rect>
</property>
<property name="frameShape">
<enum>WinPanel</enum>
</property>
</widget>
<widget class="QTabWidget"> <widget class="QTabWidget">
<property name="name"> <property name="name">
<cstring>tabs</cstring> <cstring>tabs</cstring>
@ -732,6 +748,11 @@
<string>B12</string> <string>B12</string>
</property> </property>
</item> </item>
<item>
<property name="text">
<string>H</string>
</property>
</item>
<property name="name"> <property name="name">
<cstring>ProjType</cstring> <cstring>ProjType</cstring>
</property> </property>
@ -2060,22 +2081,6 @@
</widget> </widget>
</widget> </widget>
</widget> </widget>
<widget class="QProgressBar">
<property name="name">
<cstring>Progress</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>525</y>
<width>715</width>
<height>20</height>
</rect>
</property>
<property name="frameShape">
<enum>WinPanel</enum>
</property>
</widget>
</widget> </widget>
<images> <images>
<image name="image0"> <image name="image0">

View File

@ -23,7 +23,7 @@
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with Foobar. If not, see <http://www.gnu.org/licenses/>. # along with TrimSPGUI. If not, see <http://www.gnu.org/licenses/>.
# #
# Copyright 2009 by Zaher Salman and the LEM Group. # Copyright 2009 by Zaher Salman and the LEM Group.
# <zaher.salman@psi.ch> # <zaher.salman@psi.ch>
@ -563,7 +563,7 @@ void TrimSPGUI::ConfirmQuit()
my $Ans = Qt::MessageBox::question( this, "Quit?","Are you sure you want to quit?","&Yes","&No","",0,1); my $Ans = Qt::MessageBox::question( this, "Quit?","Are you sure you want to quit?","&Yes","&No","",0,1);
if ($Ans==0) { if ($Ans==0) {
# Then quit # Then quit
exit; Qt::Application::exit( 0 );
} }
# Otherwize go back # Otherwize go back
# print STDOUT $ENV{'TRIMBIN'}."\n"; # print STDOUT $ENV{'TRIMBIN'}."\n";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB