comparison trunk/src/translator/new_project.ui @ 437:7ac9f94ca7ff

Translator: added NewProjectDialog. Added methods to MainWindow for reading and writing application settings.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 12 Oct 2007 11:12:10 +0200
parents
children
comparison
equal deleted inserted replaced
436:0dba4c0e5234 437:7ac9f94ca7ff
1 <ui version="4.0" >
2 <class>NewProjectDialog</class>
3 <widget class="QDialog" name="NewProjectDialog" >
4 <property name="geometry" >
5 <rect>
6 <x>0</x>
7 <y>0</y>
8 <width>401</width>
9 <height>131</height>
10 </rect>
11 </property>
12 <property name="windowTitle" >
13 <string>Create New Project</string>
14 </property>
15 <layout class="QVBoxLayout" >
16 <item>
17 <layout class="QGridLayout" >
18 <item row="0" column="0" >
19 <layout class="QGridLayout" >
20 <item row="0" column="0" >
21 <widget class="QLabel" name="label" >
22 <property name="text" >
23 <string>Project name:</string>
24 </property>
25 <property name="alignment" >
26 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
27 </property>
28 <property name="buddy" >
29 <cstring>projectName</cstring>
30 </property>
31 </widget>
32 </item>
33 <item row="0" column="1" >
34 <widget class="QLineEdit" name="projectName" />
35 </item>
36 <item row="1" column="0" >
37 <widget class="QLabel" name="label_2" >
38 <property name="text" >
39 <string>Project file:</string>
40 </property>
41 <property name="alignment" >
42 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
43 </property>
44 <property name="buddy" >
45 <cstring>projectFilePath</cstring>
46 </property>
47 </widget>
48 </item>
49 <item row="1" column="1" >
50 <layout class="QHBoxLayout" >
51 <item>
52 <widget class="QLineEdit" name="projectFilePath" />
53 </item>
54 <item>
55 <widget class="QToolButton" name="pickFileButton" >
56 <property name="text" >
57 <string>...</string>
58 </property>
59 </widget>
60 </item>
61 </layout>
62 </item>
63 </layout>
64 </item>
65 <item row="1" column="0" >
66 <spacer>
67 <property name="orientation" >
68 <enum>Qt::Vertical</enum>
69 </property>
70 <property name="sizeHint" >
71 <size>
72 <width>20</width>
73 <height>40</height>
74 </size>
75 </property>
76 </spacer>
77 </item>
78 <item row="2" column="0" >
79 <widget class="QDialogButtonBox" name="buttonBox" >
80 <property name="orientation" >
81 <enum>Qt::Horizontal</enum>
82 </property>
83 <property name="standardButtons" >
84 <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
85 </property>
86 </widget>
87 </item>
88 </layout>
89 </item>
90 </layout>
91 </widget>
92 <resources/>
93 <connections>
94 <connection>
95 <sender>buttonBox</sender>
96 <signal>accepted()</signal>
97 <receiver>NewProjectDialog</receiver>
98 <slot>accept()</slot>
99 <hints>
100 <hint type="sourcelabel" >
101 <x>228</x>
102 <y>108</y>
103 </hint>
104 <hint type="destinationlabel" >
105 <x>157</x>
106 <y>130</y>
107 </hint>
108 </hints>
109 </connection>
110 <connection>
111 <sender>buttonBox</sender>
112 <signal>rejected()</signal>
113 <receiver>NewProjectDialog</receiver>
114 <slot>reject()</slot>
115 <hints>
116 <hint type="sourcelabel" >
117 <x>296</x>
118 <y>114</y>
119 </hint>
120 <hint type="destinationlabel" >
121 <x>286</x>
122 <y>130</y>
123 </hint>
124 </hints>
125 </connection>
126 </connections>
127 </ui>