summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-03-08 16:35:56 (UTC)
committer mickeyl <mickeyl>2004-03-08 16:35:56 (UTC)
commit82fb70f4e5d8582185da89264e1a1e3b2517f459 (patch) (unidiff)
tree12dfcfee4c95d3c96809397197c2b09e6e09cea6
parent15a9a86fbec54292a82663e1b01c93450f3fbbf8 (diff)
downloadopie-82fb70f4e5d8582185da89264e1a1e3b2517f459.zip
opie-82fb70f4e5d8582185da89264e1a1e3b2517f459.tar.gz
opie-82fb70f4e5d8582185da89264e1a1e3b2517f459.tar.bz2
add a line where the user can insert command line arguments for the AppLnk
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/lnkproperties.cpp3
-rw-r--r--library/lnkpropertiesbase_p.ui94
2 files changed, 59 insertions, 38 deletions
diff --git a/library/lnkproperties.cpp b/library/lnkproperties.cpp
index 0661423..865f590 100644
--- a/library/lnkproperties.cpp
+++ b/library/lnkproperties.cpp
@@ -1,256 +1,259 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of the Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20 20
21// WARNING: Do *NOT* define this yourself. The SL5xxx from SHARP does NOT 21// WARNING: Do *NOT* define this yourself. The SL5xxx from SHARP does NOT
22// have this class. 22// have this class.
23#define QTOPIA_INTERNAL_FSLP 23#define QTOPIA_INTERNAL_FSLP
24#include "lnkpropertiesbase_p.h" 24#include "lnkpropertiesbase_p.h"
25#include "lnkproperties.h" 25#include "lnkproperties.h"
26#include "ir.h" 26#include "ir.h"
27 27
28#include <qpe/qpeapplication.h> 28#include <qpe/qpeapplication.h>
29#include <qpe/applnk.h> 29#include <qpe/applnk.h>
30#include <qpe/global.h> 30#include <qpe/global.h>
31#include <qpe/categorywidget.h> 31#include <qpe/categorywidget.h>
32#include <qpe/qcopenvelope_qws.h> 32#include <qpe/qcopenvelope_qws.h>
33#include <qpe/filemanager.h> 33#include <qpe/filemanager.h>
34#include <qpe/config.h> 34#include <qpe/config.h>
35#include <qpe/storage.h> 35#include <qpe/storage.h>
36#include <qpe/qpemessagebox.h> 36#include <qpe/qpemessagebox.h>
37#include <qpe/mimetype.h> 37#include <qpe/mimetype.h>
38 38
39#include <qlineedit.h> 39#include <qlineedit.h>
40#include <qtoolbutton.h> 40#include <qtoolbutton.h>
41#include <qpushbutton.h> 41#include <qpushbutton.h>
42#include <qgroupbox.h> 42#include <qgroupbox.h>
43#include <qcheckbox.h> 43#include <qcheckbox.h>
44#include <qlabel.h> 44#include <qlabel.h>
45#include <qlayout.h> 45#include <qlayout.h>
46#include <qfile.h> 46#include <qfile.h>
47#include <qfileinfo.h> 47#include <qfileinfo.h>
48#include <qmessagebox.h> 48#include <qmessagebox.h>
49#include <qsize.h> 49#include <qsize.h>
50#include <qcombobox.h> 50#include <qcombobox.h>
51#include <qregexp.h> 51#include <qregexp.h>
52#include <qbuttongroup.h> 52#include <qbuttongroup.h>
53 53
54#include <stdlib.h> 54#include <stdlib.h>
55 55
56LnkProperties::LnkProperties( AppLnk* l, QWidget* parent ) 56LnkProperties::LnkProperties( AppLnk* l, QWidget* parent )
57 : QDialog( parent, 0, TRUE ), lnk(l), fileSize( 0 ) 57 : QDialog( parent, 0, TRUE ), lnk(l), fileSize( 0 )
58{ 58{
59 setCaption( tr("Properties") ); 59 setCaption( tr("Properties") );
60 60
61 QVBoxLayout *vbox = new QVBoxLayout( this ); 61 QVBoxLayout *vbox = new QVBoxLayout( this );
62 d = new LnkPropertiesBase( this ); 62 d = new LnkPropertiesBase( this );
63 vbox->add( d ); 63 vbox->add( d );
64 64
65 // hide custom rotation feature for now, need a new implementation to fit quicklauch, 65 // hide custom rotation feature for now, need a new implementation to fit quicklauch,
66 // is confusing for the user and doubtable useful since life rotation 66 // is confusing for the user and doubtable useful since life rotation
67 d->rotate->hide(); 67 d->rotate->hide();
68 d->rotateButtons->hide(); 68 d->rotateButtons->hide();
69 69
70 d->docname->setText(l->name()); 70 d->docname->setText(l->name());
71 QString inf; 71 QString inf;
72 if ( l->type().isEmpty() ) { 72 if ( l->type().isEmpty() ) {
73 d->type->hide(); 73 d->type->hide();
74 d->typeLabel->hide(); 74 d->typeLabel->hide();
75 } else { 75 } else {
76 d->type->setText( l->type() ); 76 d->type->setText( l->type() );
77 } 77 }
78 78
79 if ( l->comment().isEmpty() ) { 79 if ( l->comment().isEmpty() ) {
80 d->comment->hide(); 80 d->comment->hide();
81 d->commentLabel->hide(); 81 d->commentLabel->hide();
82 } else { 82 } else {
83 d->comment->setText( l->comment() ); 83 d->comment->setText( l->comment() );
84 } 84 }
85 85
86 connect(d->beam,SIGNAL(clicked()),this,SLOT(beamLnk())); 86 connect(d->beam,SIGNAL(clicked()),this,SLOT(beamLnk()));
87 if ( lnk->type().contains('/') ) { // A document? (#### better predicate needed) 87 if ( lnk->type().contains('/') ) { // A document? (#### better predicate needed)
88 connect(d->unlink,SIGNAL(clicked()),this,SLOT(unlinkLnk())); 88 connect(d->unlink,SIGNAL(clicked()),this,SLOT(unlinkLnk()));
89 connect(d->duplicate,SIGNAL(clicked()),this,SLOT(duplicateLnk())); 89 connect(d->duplicate,SIGNAL(clicked()),this,SLOT(duplicateLnk()));
90 90
91 d->docname->setReadOnly( FALSE ); 91 d->docname->setReadOnly( FALSE );
92 d->preload->hide(); 92 d->preload->hide();
93 d->rotate->hide(); 93 d->rotate->hide();
94 d->rotateButtons->hide(); 94 d->rotateButtons->hide();
95 d->labelspacer->hide(); 95 d->labelspacer->hide();
96 96
97 // ### THIS MUST GO, FIX WIERD BUG in QLAYOUT 97 // ### THIS MUST GO, FIX WIERD BUG in QLAYOUT
98 d->categoryEdit->kludge(); 98 d->categoryEdit->kludge();
99 99
100 d->categoryEdit->setCategories( lnk->categories(), 100 d->categoryEdit->setCategories( lnk->categories(),
101 "Document View", 101 "Document View",
102 tr("Document View") ); 102 tr("Document View") );
103 setupLocations(); 103 setupLocations();
104 } else { 104 } else {
105 d->unlink->hide(); 105 d->unlink->hide();
106 d->duplicate->hide(); 106 d->duplicate->hide();
107 d->beam->hide(); 107 d->beam->hide();
108 d->hline->hide(); 108 d->hline->hide();
109 d->locationLabel->hide(); 109 d->locationLabel->hide();
110 d->locationCombo->hide(); 110 d->locationCombo->hide();
111 111
112 // Can't edit categories, since the app .desktop files are global, 112 // Can't edit categories, since the app .desktop files are global,
113 // possibly read-only. 113 // possibly read-only.
114 d->categoryEdit->hide(); 114 d->categoryEdit->hide();
115 115
116 d->docname->setReadOnly( TRUE ); 116 d->docname->setReadOnly( TRUE );
117 117
118 if ( l->property("CanFastload") == "0" ) 118 if ( l->property("CanFastload") == "0" )
119 d->preload->hide(); 119 d->preload->hide();
120 if ( !l->property("Rotation"). isEmpty ()) { 120 if ( !l->property("Rotation"). isEmpty ()) {
121 d->rotate->setChecked ( true ); 121 d->rotate->setChecked ( true );
122 //don't use rotate buttons for now (see comment above) 122 //don't use rotate buttons for now (see comment above)
123 //d->rotateButtons->setButton((l->rotation().toInt()%360)/90); 123 //d->rotateButtons->setButton((l->rotation().toInt()%360)/90);
124 } 124 }
125 else { 125 else {
126 d->rotateButtons->setEnabled(false); 126 d->rotateButtons->setEnabled(false);
127 } 127 }
128 128
129 if ( !l->property( "Arguments" ).isEmpty() )
130 d->arguments->setText( l->property( "Arguments" ) );
131
129 Config cfg("Launcher"); 132 Config cfg("Launcher");
130 cfg.setGroup("Preload"); 133 cfg.setGroup("Preload");
131 QStringList apps = cfg.readListEntry("Apps",','); 134 QStringList apps = cfg.readListEntry("Apps",',');
132 d->preload->setChecked( apps.contains(l->exec()) ); 135 d->preload->setChecked( apps.contains(l->exec()) );
133 if ( Global::isBuiltinCommand(lnk->exec()) ) 136 if ( Global::isBuiltinCommand(lnk->exec()) )
134 d->preload->hide(); // builtins are always fast 137 d->preload->hide(); // builtins are always fast
135 138
136 currentLocation = 0; // apps not movable (yet) 139 currentLocation = 0; // apps not movable (yet)
137 } 140 }
138} 141}
139 142
140LnkProperties::~LnkProperties() 143LnkProperties::~LnkProperties()
141{ 144{
142} 145}
143 146
144void LnkProperties::unlinkLnk() 147void LnkProperties::unlinkLnk()
145{ 148{
146 if ( QPEMessageBox::confirmDelete( this, tr("Delete"), lnk->name() ) ) { 149 if ( QPEMessageBox::confirmDelete( this, tr("Delete"), lnk->name() ) ) {
147 lnk->removeFiles(); 150 lnk->removeFiles();
148 if ( QFile::exists(lnk->file()) ) { 151 if ( QFile::exists(lnk->file()) ) {
149 QMessageBox::warning( this, tr("Delete"), tr("File deletion failed.") ); 152 QMessageBox::warning( this, tr("Delete"), tr("File deletion failed.") );
150 } else { 153 } else {
151 reject(); 154 reject();
152 } 155 }
153 } 156 }
154} 157}
155 158
156void LnkProperties::setupLocations() 159void LnkProperties::setupLocations()
157{ 160{
158 QFileInfo fi( lnk->file() ); 161 QFileInfo fi( lnk->file() );
159 fileSize = fi.size(); 162 fileSize = fi.size();
160 StorageInfo storage; 163 StorageInfo storage;
161 const QList<FileSystem> &fs = storage.fileSystems(); 164 const QList<FileSystem> &fs = storage.fileSystems();
162 QListIterator<FileSystem> it ( fs ); 165 QListIterator<FileSystem> it ( fs );
163 QString s; 166 QString s;
164 QString homeDir = getenv("HOME"); 167 QString homeDir = getenv("HOME");
165 QString hardDiskHome; 168 QString hardDiskHome;
166 QString hardDiskPath; 169 QString hardDiskPath;
167 int index = 0; 170 int index = 0;
168 currentLocation = -1; 171 currentLocation = -1;
169 for ( ; it.current(); ++it ) { 172 for ( ; it.current(); ++it ) {
170 // we add 10k to the file size so we are sure we can also save the desktop file 173 // we add 10k to the file size so we are sure we can also save the desktop file
171 if ( (ulong)(*it)->availBlocks() * (ulong)(*it)->blockSize() > (ulong)fileSize + 10000 ) { 174 if ( (ulong)(*it)->availBlocks() * (ulong)(*it)->blockSize() > (ulong)fileSize + 10000 ) {
172 if ( (*it)->isRemovable() || 175 if ( (*it)->isRemovable() ||
173 (*it)->disk() == "/dev/mtdblock1" || 176 (*it)->disk() == "/dev/mtdblock1" ||
174 (*it)->disk() == "/dev/mtdblock/1" || 177 (*it)->disk() == "/dev/mtdblock/1" ||
175 (*it)->disk().left(13) == "/dev/mtdblock" || 178 (*it)->disk().left(13) == "/dev/mtdblock" ||
176 (*it)->disk() == "/dev/mtdblock6" || 179 (*it)->disk() == "/dev/mtdblock6" ||
177 (*it )->disk() == "/dev/root" || 180 (*it )->disk() == "/dev/root" ||
178 (*it)->disk() == "tmpfs" ) { 181 (*it)->disk() == "tmpfs" ) {
179 d->locationCombo->insertItem( (*it)->name(), index ); 182 d->locationCombo->insertItem( (*it)->name(), index );
180 locations.append( ( ((*it)->isRemovable() || 183 locations.append( ( ((*it)->isRemovable() ||
181 (*it)->disk() == "/dev/mtdblock6" || 184 (*it)->disk() == "/dev/mtdblock6" ||
182 (*it)->disk() == "tmpfs" ) 185 (*it)->disk() == "tmpfs" )
183 ? (*it)->path() : homeDir) ); 186 ? (*it)->path() : homeDir) );
184 if ( lnk->file().contains( (*it)->path() ) ) { 187 if ( lnk->file().contains( (*it)->path() ) ) {
185 d->locationCombo->setCurrentItem( index ); 188 d->locationCombo->setCurrentItem( index );
186 currentLocation = index; 189 currentLocation = index;
187 } 190 }
188 index++; 191 index++;
189 } else if ( (*it)->name().contains( tr("Hard Disk") ) && 192 } else if ( (*it)->name().contains( tr("Hard Disk") ) &&
190 homeDir.contains( (*it)->path() ) && 193 homeDir.contains( (*it)->path() ) &&
191 (*it)->path().length() > hardDiskHome.length() ) { 194 (*it)->path().length() > hardDiskHome.length() ) {
192 hardDiskHome = (*it)->name(); 195 hardDiskHome = (*it)->name();
193 hardDiskPath = (*it)->path(); 196 hardDiskPath = (*it)->path();
194 } 197 }
195 } 198 }
196 } 199 }
197 if ( !hardDiskHome.isEmpty() ) { 200 if ( !hardDiskHome.isEmpty() ) {
198 d->locationCombo->insertItem( hardDiskHome ); 201 d->locationCombo->insertItem( hardDiskHome );
199 locations.append( hardDiskPath ); 202 locations.append( hardDiskPath );
200 if ( currentLocation == -1 ) { // assume it's the hard disk 203 if ( currentLocation == -1 ) { // assume it's the hard disk
201 d->locationCombo->setCurrentItem( index ); 204 d->locationCombo->setCurrentItem( index );
202 currentLocation = index; 205 currentLocation = index;
203 } 206 }
204 } 207 }
205} 208}
206 209
207void LnkProperties::duplicateLnk() 210void LnkProperties::duplicateLnk()
208{ 211{
209 // The duplicate takes the new properties. 212 // The duplicate takes the new properties.
210 DocLnk newdoc( *((DocLnk *)lnk) ); 213 DocLnk newdoc( *((DocLnk *)lnk) );
211 if ( d->docname->text() == lnk->name() ) 214 if ( d->docname->text() == lnk->name() )
212 newdoc.setName(tr("Copy of ")+d->docname->text()); 215 newdoc.setName(tr("Copy of ")+d->docname->text());
213 else 216 else
214 newdoc.setName(d->docname->text()); 217 newdoc.setName(d->docname->text());
215 218
216 if ( !copyFile( newdoc ) ) { 219 if ( !copyFile( newdoc ) ) {
217 QMessageBox::warning( this, tr("Duplicate"), tr("File copy failed.") ); 220 QMessageBox::warning( this, tr("Duplicate"), tr("File copy failed.") );
218 return; 221 return;
219 } 222 }
220 reject(); 223 reject();
221} 224}
222 225
223bool LnkProperties::moveLnk() 226bool LnkProperties::moveLnk()
224{ 227{
225 DocLnk newdoc( *((DocLnk *)lnk) ); 228 DocLnk newdoc( *((DocLnk *)lnk) );
226 newdoc.setName(d->docname->text()); 229 newdoc.setName(d->docname->text());
227 230
228 if ( !copyFile( newdoc ) ) { 231 if ( !copyFile( newdoc ) ) {
229 QMessageBox::warning( this, tr("Details"), tr("Moving Document failed.") ); 232 QMessageBox::warning( this, tr("Details"), tr("Moving Document failed.") );
230 return FALSE; 233 return FALSE;
231 } 234 }
232 // remove old lnk 235 // remove old lnk
233 lnk->removeFiles(); 236 lnk->removeFiles();
234 237
235 return TRUE; 238 return TRUE;
236} 239}
237 240
238void LnkProperties::beamLnk() 241void LnkProperties::beamLnk()
239{ 242{
240 Ir ir; 243 Ir ir;
241 DocLnk doc( *((DocLnk *)lnk) ); 244 DocLnk doc( *((DocLnk *)lnk) );
242 doc.setName(d->docname->text()); 245 doc.setName(d->docname->text());
243 reject(); 246 reject();
244 ir.send( doc, doc.comment() ); 247 ir.send( doc, doc.comment() );
245} 248}
246 249
247bool LnkProperties::copyFile( DocLnk &newdoc ) 250bool LnkProperties::copyFile( DocLnk &newdoc )
248{ 251{
249 const char *linkExtn = ".desktop"; 252 const char *linkExtn = ".desktop";
250 QString fileExtn; 253 QString fileExtn;
251 int extnPos = lnk->file().findRev( '.' ); 254 int extnPos = lnk->file().findRev( '.' );
252 if ( extnPos > 0 ) 255 if ( extnPos > 0 )
253 fileExtn = lnk->file().mid( extnPos ); 256 fileExtn = lnk->file().mid( extnPos );
254 257
255 QString safename = newdoc.name(); 258 QString safename = newdoc.name();
256 safename.replace(QRegExp("/"),"_"); 259 safename.replace(QRegExp("/"),"_");
diff --git a/library/lnkpropertiesbase_p.ui b/library/lnkpropertiesbase_p.ui
index 1bafab6..dcbd4d7 100644
--- a/library/lnkpropertiesbase_p.ui
+++ b/library/lnkpropertiesbase_p.ui
@@ -1,641 +1,659 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>LnkPropertiesBase</class> 2<class>LnkPropertiesBase</class>
3<widget> 3<widget>
4 <class>QWidget</class> 4 <class>QWidget</class>
5 <property stdset="1"> 5 <property stdset="1">
6 <name>name</name> 6 <name>name</name>
7 <cstring>Form1</cstring> 7 <cstring>Form1</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>263</width> 14 <width>259</width>
15 <height>450</height> 15 <height>450</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>sizePolicy</name> 19 <name>sizePolicy</name>
20 <sizepolicy> 20 <sizepolicy>
21 <hsizetype>5</hsizetype> 21 <hsizetype>5</hsizetype>
22 <vsizetype>5</vsizetype> 22 <vsizetype>5</vsizetype>
23 </sizepolicy> 23 </sizepolicy>
24 </property> 24 </property>
25 <property stdset="1"> 25 <property stdset="1">
26 <name>font</name> 26 <name>font</name>
27 <font> 27 <font>
28 </font> 28 </font>
29 </property> 29 </property>
30 <property stdset="1"> 30 <property stdset="1">
31 <name>caption</name> 31 <name>caption</name>
32 <string>Details</string> 32 <string>Details</string>
33 </property> 33 </property>
34 <property stdset="1"> 34 <property stdset="1">
35 <name>icon</name> 35 <name>icon</name>
36 <pixmap>image0</pixmap> 36 <pixmap>image0</pixmap>
37 </property> 37 </property>
38 <property> 38 <property>
39 <name>layoutMargin</name> 39 <name>layoutMargin</name>
40 </property> 40 </property>
41 <property> 41 <property>
42 <name>layoutSpacing</name> 42 <name>layoutSpacing</name>
43 </property> 43 </property>
44 <vbox> 44 <vbox>
45 <property stdset="1"> 45 <property stdset="1">
46 <name>margin</name> 46 <name>margin</name>
47 <number>0</number> 47 <number>0</number>
48 </property> 48 </property>
49 <property stdset="1"> 49 <property stdset="1">
50 <name>spacing</name> 50 <name>spacing</name>
51 <number>0</number> 51 <number>0</number>
52 </property> 52 </property>
53 <widget> 53 <widget>
54 <class>QFrame</class> 54 <class>QFrame</class>
55 <property stdset="1"> 55 <property stdset="1">
56 <name>name</name> 56 <name>name</name>
57 <cstring>Frame8</cstring> 57 <cstring>Frame8</cstring>
58 </property> 58 </property>
59 <property stdset="1"> 59 <property stdset="1">
60 <name>focusPolicy</name> 60 <name>focusPolicy</name>
61 <enum>NoFocus</enum> 61 <enum>NoFocus</enum>
62 </property> 62 </property>
63 <property stdset="1"> 63 <property stdset="1">
64 <name>frameShape</name> 64 <name>frameShape</name>
65 <enum>NoFrame</enum> 65 <enum>NoFrame</enum>
66 </property> 66 </property>
67 <property stdset="1"> 67 <property stdset="1">
68 <name>frameShadow</name> 68 <name>frameShadow</name>
69 <enum>Plain</enum> 69 <enum>Plain</enum>
70 </property> 70 </property>
71 <property> 71 <property>
72 <name>layoutMargin</name> 72 <name>layoutMargin</name>
73 </property> 73 </property>
74 <property> 74 <property>
75 <name>layoutSpacing</name> 75 <name>layoutSpacing</name>
76 </property> 76 </property>
77 <grid> 77 <grid>
78 <property stdset="1"> 78 <property stdset="1">
79 <name>margin</name> 79 <name>margin</name>
80 <number>3</number> 80 <number>2</number>
81 </property> 81 </property>
82 <property stdset="1"> 82 <property stdset="1">
83 <name>spacing</name> 83 <name>spacing</name>
84 <number>3</number> 84 <number>4</number>
85 </property> 85 </property>
86 <widget row="8" column="0" rowspan="1" colspan="2" > 86 <widget row="1" column="0" >
87 <class>CategoryWidget</class> 87 <class>QLabel</class>
88 <property stdset="1"> 88 <property stdset="1">
89 <name>name</name> 89 <name>name</name>
90 <cstring>categoryEdit</cstring> 90 <cstring>TextLabel1_2</cstring>
91 </property> 91 </property>
92 <property stdset="1"> 92 <property stdset="1">
93 <name>sizePolicy</name> 93 <name>text</name>
94 <sizepolicy> 94 <string>Arguments:</string>
95 <hsizetype>1</hsizetype>
96 <vsizetype>7</vsizetype>
97 </sizepolicy>
98 </property> 95 </property>
99 </widget> 96 </widget>
100 <widget row="5" column="0" rowspan="1" colspan="2" > 97 <widget row="6" column="0" rowspan="1" colspan="2" >
101 <class>QCheckBox</class> 98 <class>QCheckBox</class>
102 <property stdset="1"> 99 <property stdset="1">
103 <name>name</name> 100 <name>name</name>
104 <cstring>rotate</cstring> 101 <cstring>rotate</cstring>
105 </property> 102 </property>
106 <property stdset="1"> 103 <property stdset="1">
107 <name>text</name> 104 <name>text</name>
108 <string>Use custom rotation</string> 105 <string>Use custom rotation</string>
109 </property> 106 </property>
110 <property> 107 <property>
111 <name>layoutMargin</name> 108 <name>layoutMargin</name>
112 </property> 109 </property>
113 <property> 110 <property>
114 <name>layoutSpacing</name> 111 <name>layoutSpacing</name>
115 </property> 112 </property>
116 <property> 113 <property>
117 <name>whatsThis</name> 114 <name>whatsThis</name>
118 <string>Preload this application so that it is available instantly.</string> 115 <string>Preload this application so that it is available instantly.</string>
119 </property> 116 </property>
120 </widget> 117 </widget>
121 <widget row="0" column="1" > 118 <widget row="0" column="1" >
122 <class>QLineEdit</class> 119 <class>QLineEdit</class>
123 <property stdset="1"> 120 <property stdset="1">
124 <name>name</name> 121 <name>name</name>
125 <cstring>docname</cstring> 122 <cstring>docname</cstring>
126 </property> 123 </property>
127 <property stdset="1"> 124 <property stdset="1">
128 <name>sizePolicy</name> 125 <name>sizePolicy</name>
129 <sizepolicy> 126 <sizepolicy>
130 <hsizetype>7</hsizetype> 127 <hsizetype>7</hsizetype>
131 <vsizetype>0</vsizetype> 128 <vsizetype>0</vsizetype>
132 </sizepolicy> 129 </sizepolicy>
133 </property> 130 </property>
134 <property stdset="1"> 131 <property stdset="1">
135 <name>text</name> 132 <name>text</name>
136 <string></string> 133 <string></string>
137 </property> 134 </property>
138 <property> 135 <property>
139 <name>whatsThis</name> 136 <name>whatsThis</name>
140 <string>The name of this document.</string> 137 <string>The name of this document.</string>
141 </property> 138 </property>
142 </widget> 139 </widget>
143 <widget row="1" column="1" > 140 <widget row="2" column="1" >
144 <class>QComboBox</class> 141 <class>QComboBox</class>
145 <property stdset="1"> 142 <property stdset="1">
146 <name>name</name> 143 <name>name</name>
147 <cstring>locationCombo</cstring> 144 <cstring>locationCombo</cstring>
148 </property> 145 </property>
149 <property stdset="1"> 146 <property stdset="1">
150 <name>sizePolicy</name> 147 <name>sizePolicy</name>
151 <sizepolicy> 148 <sizepolicy>
152 <hsizetype>7</hsizetype> 149 <hsizetype>7</hsizetype>
153 <vsizetype>0</vsizetype> 150 <vsizetype>0</vsizetype>
154 </sizepolicy> 151 </sizepolicy>
155 </property> 152 </property>
156 <property> 153 <property>
157 <name>whatsThis</name> 154 <name>whatsThis</name>
158 <string>The media the document resides on.</string> 155 <string>The media the document resides on.</string>
159 </property> 156 </property>
160 </widget> 157 </widget>
161 <widget row="2" column="0" > 158 <widget row="3" column="0" >
162 <class>QLabel</class> 159 <class>QLabel</class>
163 <property stdset="1"> 160 <property stdset="1">
164 <name>name</name> 161 <name>name</name>
165 <cstring>typeLabel</cstring> 162 <cstring>typeLabel</cstring>
166 </property> 163 </property>
167 <property stdset="1"> 164 <property stdset="1">
168 <name>focusPolicy</name> 165 <name>focusPolicy</name>
169 <enum>NoFocus</enum> 166 <enum>NoFocus</enum>
170 </property> 167 </property>
171 <property stdset="1"> 168 <property stdset="1">
172 <name>text</name> 169 <name>text</name>
173 <string>Type:</string> 170 <string>Type:</string>
174 </property> 171 </property>
175 <property stdset="1"> 172 <property stdset="1">
176 <name>textFormat</name> 173 <name>textFormat</name>
177 <enum>RichText</enum> 174 <enum>RichText</enum>
178 </property> 175 </property>
179 <property> 176 <property>
180 <name>layoutMargin</name> 177 <name>layoutMargin</name>
181 </property> 178 </property>
182 <property> 179 <property>
183 <name>layoutSpacing</name> 180 <name>layoutSpacing</name>
184 </property> 181 </property>
185 </widget> 182 </widget>
186 <widget row="2" column="1" > 183 <widget row="3" column="1" >
187 <class>QLabel</class> 184 <class>QLabel</class>
188 <property stdset="1"> 185 <property stdset="1">
189 <name>name</name> 186 <name>name</name>
190 <cstring>type</cstring> 187 <cstring>type</cstring>
191 </property> 188 </property>
192 <property stdset="1"> 189 <property stdset="1">
193 <name>text</name> 190 <name>text</name>
194 <string></string> 191 <string></string>
195 </property> 192 </property>
196 </widget> 193 </widget>
197 <widget row="1" column="0" > 194 <widget row="2" column="0" >
198 <class>QLabel</class> 195 <class>QLabel</class>
199 <property stdset="1"> 196 <property stdset="1">
200 <name>name</name> 197 <name>name</name>
201 <cstring>locationLabel</cstring> 198 <cstring>locationLabel</cstring>
202 </property> 199 </property>
203 <property stdset="1"> 200 <property stdset="1">
204 <name>sizePolicy</name> 201 <name>sizePolicy</name>
205 <sizepolicy> 202 <sizepolicy>
206 <hsizetype>1</hsizetype> 203 <hsizetype>1</hsizetype>
207 <vsizetype>1</vsizetype> 204 <vsizetype>1</vsizetype>
208 </sizepolicy> 205 </sizepolicy>
209 </property> 206 </property>
210 <property stdset="1"> 207 <property stdset="1">
211 <name>caption</name> 208 <name>caption</name>
212 <string></string> 209 <string></string>
213 </property> 210 </property>
214 <property stdset="1"> 211 <property stdset="1">
215 <name>text</name> 212 <name>text</name>
216 <string>Location:</string> 213 <string>Location:</string>
217 </property> 214 </property>
218 <property> 215 <property>
219 <name>layoutMargin</name> 216 <name>layoutMargin</name>
220 </property> 217 </property>
221 <property> 218 <property>
222 <name>layoutSpacing</name> 219 <name>layoutSpacing</name>
223 </property> 220 </property>
224 </widget> 221 </widget>
225 <widget row="0" column="0" > 222 <widget row="0" column="0" >
226 <class>QLabel</class> 223 <class>QLabel</class>
227 <property stdset="1"> 224 <property stdset="1">
228 <name>name</name> 225 <name>name</name>
229 <cstring>TextLabel1</cstring> 226 <cstring>TextLabel1</cstring>
230 </property> 227 </property>
231 <property stdset="1"> 228 <property stdset="1">
232 <name>frameShadow</name> 229 <name>frameShadow</name>
233 <enum>MShadow</enum> 230 <enum>MShadow</enum>
234 </property> 231 </property>
235 <property stdset="1"> 232 <property stdset="1">
236 <name>text</name> 233 <name>text</name>
237 <string>Name:</string> 234 <string>Name:</string>
238 </property> 235 </property>
239 </widget> 236 </widget>
240 <widget row="3" column="1" > 237 <widget row="4" column="1" >
241 <class>QLabel</class> 238 <class>QLabel</class>
242 <property stdset="1"> 239 <property stdset="1">
243 <name>name</name> 240 <name>name</name>
244 <cstring>comment</cstring> 241 <cstring>comment</cstring>
245 </property> 242 </property>
246 <property stdset="1"> 243 <property stdset="1">
247 <name>text</name> 244 <name>text</name>
248 <string></string> 245 <string></string>
249 </property> 246 </property>
250 </widget> 247 </widget>
251 <widget row="6" column="0" rowspan="1" colspan="2" > 248 <widget row="7" column="0" rowspan="1" colspan="2" >
252 <class>QButtonGroup</class> 249 <class>QButtonGroup</class>
253 <property stdset="1"> 250 <property stdset="1">
254 <name>name</name> 251 <name>name</name>
255 <cstring>rotateButtons</cstring> 252 <cstring>rotateButtons</cstring>
256 </property> 253 </property>
257 <property stdset="1"> 254 <property stdset="1">
258 <name>frameShape</name> 255 <name>frameShape</name>
259 <enum>NoFrame</enum> 256 <enum>NoFrame</enum>
260 </property> 257 </property>
261 <property stdset="1"> 258 <property stdset="1">
262 <name>title</name> 259 <name>title</name>
263 <string></string> 260 <string></string>
264 </property> 261 </property>
265 <property stdset="1"> 262 <property stdset="1">
266 <name>exclusive</name> 263 <name>exclusive</name>
267 <bool>true</bool> 264 <bool>true</bool>
268 </property> 265 </property>
269 <property> 266 <property>
270 <name>layoutMargin</name> 267 <name>layoutMargin</name>
271 </property> 268 </property>
272 <property> 269 <property>
273 <name>layoutSpacing</name> 270 <name>layoutSpacing</name>
274 </property> 271 </property>
275 <hbox> 272 <hbox>
276 <property stdset="1"> 273 <property stdset="1">
277 <name>margin</name> 274 <name>margin</name>
278 <number>0</number> 275 <number>0</number>
279 </property> 276 </property>
280 <property stdset="1"> 277 <property stdset="1">
281 <name>spacing</name> 278 <name>spacing</name>
282 <number>3</number> 279 <number>3</number>
283 </property> 280 </property>
284 <spacer> 281 <spacer>
285 <property> 282 <property>
286 <name>name</name> 283 <name>name</name>
287 <cstring>s1</cstring> 284 <cstring>s1</cstring>
288 </property> 285 </property>
289 <property stdset="1"> 286 <property stdset="1">
290 <name>orientation</name> 287 <name>orientation</name>
291 <enum>Horizontal</enum> 288 <enum>Horizontal</enum>
292 </property> 289 </property>
293 <property stdset="1"> 290 <property stdset="1">
294 <name>sizeType</name> 291 <name>sizeType</name>
295 <enum>Fixed</enum> 292 <enum>Fixed</enum>
296 </property> 293 </property>
297 <property> 294 <property>
298 <name>sizeHint</name> 295 <name>sizeHint</name>
299 <size> 296 <size>
300 <width>20</width> 297 <width>20</width>
301 <height>28</height> 298 <height>28</height>
302 </size> 299 </size>
303 </property> 300 </property>
304 </spacer> 301 </spacer>
305 <widget> 302 <widget>
306 <class>QToolButton</class> 303 <class>QToolButton</class>
307 <property stdset="1"> 304 <property stdset="1">
308 <name>name</name> 305 <name>name</name>
309 <cstring>ToolButton1</cstring> 306 <cstring>ToolButton1</cstring>
310 </property> 307 </property>
311 <property stdset="1"> 308 <property stdset="1">
312 <name>text</name> 309 <name>text</name>
313 <string></string> 310 <string></string>
314 </property> 311 </property>
315 <property stdset="1"> 312 <property stdset="1">
316 <name>pixmap</name> 313 <name>pixmap</name>
317 <pixmap>image0</pixmap> 314 <pixmap>image0</pixmap>
318 </property> 315 </property>
319 <property stdset="1"> 316 <property stdset="1">
320 <name>toggleButton</name> 317 <name>toggleButton</name>
321 <bool>true</bool> 318 <bool>true</bool>
322 </property> 319 </property>
323 <property stdset="1"> 320 <property stdset="1">
324 <name>on</name> 321 <name>on</name>
325 <bool>false</bool> 322 <bool>false</bool>
326 </property> 323 </property>
327 <property stdset="1"> 324 <property stdset="1">
328 <name>usesBigPixmap</name> 325 <name>usesBigPixmap</name>
329 <bool>true</bool> 326 <bool>true</bool>
330 </property> 327 </property>
331 <property stdset="1"> 328 <property stdset="1">
332 <name>toggleButton</name> 329 <name>toggleButton</name>
333 <bool>true</bool> 330 <bool>true</bool>
334 </property> 331 </property>
335 <property stdset="1"> 332 <property stdset="1">
336 <name>on</name> 333 <name>on</name>
337 <bool>false</bool> 334 <bool>false</bool>
338 </property> 335 </property>
339 <property stdset="1"> 336 <property stdset="1">
340 <name>buttonGroupId</name> 337 <name>buttonGroupId</name>
341 <number>0</number> 338 <number>0</number>
342 </property> 339 </property>
343 </widget> 340 </widget>
344 <widget> 341 <widget>
345 <class>QToolButton</class> 342 <class>QToolButton</class>
346 <property stdset="1"> 343 <property stdset="1">
347 <name>name</name> 344 <name>name</name>
348 <cstring>ToolButton2</cstring> 345 <cstring>ToolButton2</cstring>
349 </property> 346 </property>
350 <property stdset="1"> 347 <property stdset="1">
351 <name>text</name> 348 <name>text</name>
352 <string></string> 349 <string></string>
353 </property> 350 </property>
354 <property stdset="1"> 351 <property stdset="1">
355 <name>pixmap</name> 352 <name>pixmap</name>
356 <pixmap>image1</pixmap> 353 <pixmap>image1</pixmap>
357 </property> 354 </property>
358 <property stdset="1"> 355 <property stdset="1">
359 <name>toggleButton</name> 356 <name>toggleButton</name>
360 <bool>true</bool> 357 <bool>true</bool>
361 </property> 358 </property>
362 <property stdset="1"> 359 <property stdset="1">
363 <name>usesBigPixmap</name> 360 <name>usesBigPixmap</name>
364 <bool>true</bool> 361 <bool>true</bool>
365 </property> 362 </property>
366 <property stdset="1"> 363 <property stdset="1">
367 <name>toggleButton</name> 364 <name>toggleButton</name>
368 <bool>true</bool> 365 <bool>true</bool>
369 </property> 366 </property>
370 <property stdset="1"> 367 <property stdset="1">
371 <name>buttonGroupId</name> 368 <name>buttonGroupId</name>
372 <number>1</number> 369 <number>1</number>
373 </property> 370 </property>
374 </widget> 371 </widget>
375 <widget> 372 <widget>
376 <class>QToolButton</class> 373 <class>QToolButton</class>
377 <property stdset="1"> 374 <property stdset="1">
378 <name>name</name> 375 <name>name</name>
379 <cstring>ToolButton3</cstring> 376 <cstring>ToolButton3</cstring>
380 </property> 377 </property>
381 <property stdset="1"> 378 <property stdset="1">
382 <name>text</name> 379 <name>text</name>
383 <string></string> 380 <string></string>
384 </property> 381 </property>
385 <property stdset="1"> 382 <property stdset="1">
386 <name>pixmap</name> 383 <name>pixmap</name>
387 <pixmap>image2</pixmap> 384 <pixmap>image2</pixmap>
388 </property> 385 </property>
389 <property stdset="1"> 386 <property stdset="1">
390 <name>toggleButton</name> 387 <name>toggleButton</name>
391 <bool>true</bool> 388 <bool>true</bool>
392 </property> 389 </property>
393 <property stdset="1"> 390 <property stdset="1">
394 <name>usesBigPixmap</name> 391 <name>usesBigPixmap</name>
395 <bool>true</bool> 392 <bool>true</bool>
396 </property> 393 </property>
397 <property stdset="1"> 394 <property stdset="1">
398 <name>toggleButton</name> 395 <name>toggleButton</name>
399 <bool>true</bool> 396 <bool>true</bool>
400 </property> 397 </property>
401 <property stdset="1"> 398 <property stdset="1">
402 <name>buttonGroupId</name> 399 <name>buttonGroupId</name>
403 <number>2</number> 400 <number>2</number>
404 </property> 401 </property>
405 </widget> 402 </widget>
406 <widget> 403 <widget>
407 <class>QToolButton</class> 404 <class>QToolButton</class>
408 <property stdset="1"> 405 <property stdset="1">
409 <name>name</name> 406 <name>name</name>
410 <cstring>ToolButton4</cstring> 407 <cstring>ToolButton4</cstring>
411 </property> 408 </property>
412 <property stdset="1"> 409 <property stdset="1">
413 <name>text</name> 410 <name>text</name>
414 <string></string> 411 <string></string>
415 </property> 412 </property>
416 <property stdset="1"> 413 <property stdset="1">
417 <name>pixmap</name> 414 <name>pixmap</name>
418 <pixmap>image3</pixmap> 415 <pixmap>image3</pixmap>
419 </property> 416 </property>
420 <property stdset="1"> 417 <property stdset="1">
421 <name>toggleButton</name> 418 <name>toggleButton</name>
422 <bool>true</bool> 419 <bool>true</bool>
423 </property> 420 </property>
424 <property stdset="1"> 421 <property stdset="1">
425 <name>usesBigPixmap</name> 422 <name>usesBigPixmap</name>
426 <bool>true</bool> 423 <bool>true</bool>
427 </property> 424 </property>
428 <property stdset="1"> 425 <property stdset="1">
429 <name>toggleButton</name> 426 <name>toggleButton</name>
430 <bool>true</bool> 427 <bool>true</bool>
431 </property> 428 </property>
432 <property stdset="1"> 429 <property stdset="1">
433 <name>buttonGroupId</name> 430 <name>buttonGroupId</name>
434 <number>3</number> 431 <number>3</number>
435 </property> 432 </property>
436 </widget> 433 </widget>
437 <spacer> 434 <spacer>
438 <property> 435 <property>
439 <name>name</name> 436 <name>name</name>
440 <cstring>s4</cstring> 437 <cstring>s4</cstring>
441 </property> 438 </property>
442 <property stdset="1"> 439 <property stdset="1">
443 <name>orientation</name> 440 <name>orientation</name>
444 <enum>Horizontal</enum> 441 <enum>Horizontal</enum>
445 </property> 442 </property>
446 <property stdset="1"> 443 <property stdset="1">
447 <name>sizeType</name> 444 <name>sizeType</name>
448 <enum>MinimumExpanding</enum> 445 <enum>MinimumExpanding</enum>
449 </property> 446 </property>
450 <property> 447 <property>
451 <name>sizeHint</name> 448 <name>sizeHint</name>
452 <size> 449 <size>
453 <width>20</width> 450 <width>20</width>
454 <height>20</height> 451 <height>20</height>
455 </size> 452 </size>
456 </property> 453 </property>
457 </spacer> 454 </spacer>
458 </hbox> 455 </hbox>
459 </widget> 456 </widget>
460 <widget row="7" column="0" rowspan="1" colspan="2" > 457 <widget row="5" column="0" rowspan="1" colspan="2" >
461 <class>QLabel</class>
462 <property stdset="1">
463 <name>name</name>
464 <cstring>labelspacer</cstring>
465 </property>
466 <property stdset="1">
467 <name>sizePolicy</name>
468 <sizepolicy>
469 <hsizetype>1</hsizetype>
470 <vsizetype>7</vsizetype>
471 </sizepolicy>
472 </property>
473 <property stdset="1">
474 <name>text</name>
475 <string></string>
476 </property>
477 </widget>
478 <widget row="4" column="0" rowspan="1" colspan="2" >
479 <class>QCheckBox</class> 458 <class>QCheckBox</class>
480 <property stdset="1"> 459 <property stdset="1">
481 <name>name</name> 460 <name>name</name>
482 <cstring>preload</cstring> 461 <cstring>preload</cstring>
483 </property> 462 </property>
484 <property stdset="1"> 463 <property stdset="1">
485 <name>text</name> 464 <name>text</name>
486 <string>Fast load (consumes memory)</string> 465 <string>Fast load (consumes memory)</string>
487 </property> 466 </property>
488 <property> 467 <property>
489 <name>layoutMargin</name> 468 <name>layoutMargin</name>
490 </property> 469 </property>
491 <property> 470 <property>
492 <name>layoutSpacing</name> 471 <name>layoutSpacing</name>
493 </property> 472 </property>
494 <property> 473 <property>
495 <name>whatsThis</name> 474 <name>whatsThis</name>
496 <string>Preload this application so that it is available instantly.</string> 475 <string>Preload this application so that it is available instantly.</string>
497 </property> 476 </property>
498 </widget> 477 </widget>
499 <widget row="3" column="0" > 478 <widget row="4" column="0" >
500 <class>QLabel</class> 479 <class>QLabel</class>
501 <property stdset="1"> 480 <property stdset="1">
502 <name>name</name> 481 <name>name</name>
503 <cstring>commentLabel</cstring> 482 <cstring>commentLabel</cstring>
504 </property> 483 </property>
505 <property stdset="1"> 484 <property stdset="1">
506 <name>text</name> 485 <name>text</name>
507 <string>Comment:</string> 486 <string>Comment:</string>
508 </property> 487 </property>
509 <property stdset="1"> 488 <property stdset="1">
510 <name>textFormat</name> 489 <name>textFormat</name>
511 <enum>RichText</enum> 490 <enum>RichText</enum>
512 </property> 491 </property>
513 </widget> 492 </widget>
493 <widget row="1" column="1" >
494 <class>QLineEdit</class>
495 <property stdset="1">
496 <name>name</name>
497 <cstring>arguments</cstring>
498 </property>
499 </widget>
500 <widget row="9" column="0" rowspan="1" colspan="2" >
501 <class>CategoryWidget</class>
502 <property stdset="1">
503 <name>name</name>
504 <cstring>categoryEdit</cstring>
505 </property>
506 <property stdset="1">
507 <name>sizePolicy</name>
508 <sizepolicy>
509 <hsizetype>1</hsizetype>
510 <vsizetype>7</vsizetype>
511 </sizepolicy>
512 </property>
513 </widget>
514 <widget row="8" column="0" rowspan="1" colspan="2" >
515 <class>QLabel</class>
516 <property stdset="1">
517 <name>name</name>
518 <cstring>labelspacer</cstring>
519 </property>
520 <property stdset="1">
521 <name>sizePolicy</name>
522 <sizepolicy>
523 <hsizetype>1</hsizetype>
524 <vsizetype>7</vsizetype>
525 </sizepolicy>
526 </property>
527 <property stdset="1">
528 <name>text</name>
529 <string></string>
530 </property>
531 </widget>
514 </grid> 532 </grid>
515 </widget> 533 </widget>
516 <widget> 534 <widget>
517 <class>Line</class> 535 <class>Line</class>
518 <property stdset="1"> 536 <property stdset="1">
519 <name>name</name> 537 <name>name</name>
520 <cstring>hline</cstring> 538 <cstring>hline</cstring>
521 </property> 539 </property>
522 <property stdset="1"> 540 <property stdset="1">
523 <name>frameShadow</name> 541 <name>frameShadow</name>
524 <enum>Sunken</enum> 542 <enum>Sunken</enum>
525 </property> 543 </property>
526 <property stdset="1"> 544 <property stdset="1">
527 <name>orientation</name> 545 <name>orientation</name>
528 <enum>Horizontal</enum> 546 <enum>Horizontal</enum>
529 </property> 547 </property>
530 <property> 548 <property>
531 <name>layoutMargin</name> 549 <name>layoutMargin</name>
532 </property> 550 </property>
533 <property> 551 <property>
534 <name>layoutSpacing</name> 552 <name>layoutSpacing</name>
535 </property> 553 </property>
536 </widget> 554 </widget>
537 <widget> 555 <widget>
538 <class>QFrame</class> 556 <class>QFrame</class>
539 <property stdset="1"> 557 <property stdset="1">
540 <name>name</name> 558 <name>name</name>
541 <cstring>Frame9</cstring> 559 <cstring>Frame9</cstring>
542 </property> 560 </property>
543 <property stdset="1"> 561 <property stdset="1">
544 <name>frameShape</name> 562 <name>frameShape</name>
545 <enum>NoFrame</enum> 563 <enum>NoFrame</enum>
546 </property> 564 </property>
547 <property stdset="1"> 565 <property stdset="1">
548 <name>frameShadow</name> 566 <name>frameShadow</name>
549 <enum>Plain</enum> 567 <enum>Plain</enum>
550 </property> 568 </property>
551 <property> 569 <property>
552 <name>layoutMargin</name> 570 <name>layoutMargin</name>
553 </property> 571 </property>
554 <property> 572 <property>
555 <name>layoutSpacing</name> 573 <name>layoutSpacing</name>
556 </property> 574 </property>
557 <hbox> 575 <hbox>
558 <property stdset="1"> 576 <property stdset="1">
559 <name>margin</name> 577 <name>margin</name>
560 <number>3</number> 578 <number>3</number>
561 </property> 579 </property>
562 <property stdset="1"> 580 <property stdset="1">
563 <name>spacing</name> 581 <name>spacing</name>
564 <number>5</number> 582 <number>5</number>
565 </property> 583 </property>
566 <widget> 584 <widget>
567 <class>QPushButton</class> 585 <class>QPushButton</class>
568 <property stdset="1"> 586 <property stdset="1">
569 <name>name</name> 587 <name>name</name>
570 <cstring>unlink</cstring> 588 <cstring>unlink</cstring>
571 </property> 589 </property>
572 <property stdset="1"> 590 <property stdset="1">
573 <name>focusPolicy</name> 591 <name>focusPolicy</name>
574 <enum>TabFocus</enum> 592 <enum>TabFocus</enum>
575 </property> 593 </property>
576 <property stdset="1"> 594 <property stdset="1">
577 <name>text</name> 595 <name>text</name>
578 <string>Delete</string> 596 <string>Delete</string>
579 </property> 597 </property>
580 <property stdset="1"> 598 <property stdset="1">
581 <name>autoDefault</name> 599 <name>autoDefault</name>
582 <bool>false</bool> 600 <bool>false</bool>
583 </property> 601 </property>
584 <property> 602 <property>
585 <name>whatsThis</name> 603 <name>whatsThis</name>
586 <string>Delete this document.</string> 604 <string>Delete this document.</string>
587 </property> 605 </property>
588 </widget> 606 </widget>
589 <widget> 607 <widget>
590 <class>QPushButton</class> 608 <class>QPushButton</class>
591 <property stdset="1"> 609 <property stdset="1">
592 <name>name</name> 610 <name>name</name>
593 <cstring>duplicate</cstring> 611 <cstring>duplicate</cstring>
594 </property> 612 </property>
595 <property stdset="1"> 613 <property stdset="1">
596 <name>text</name> 614 <name>text</name>
597 <string>Copy</string> 615 <string>Copy</string>
598 </property> 616 </property>
599 <property stdset="1"> 617 <property stdset="1">
600 <name>autoDefault</name> 618 <name>autoDefault</name>
601 <bool>false</bool> 619 <bool>false</bool>
602 </property> 620 </property>
603 <property> 621 <property>
604 <name>whatsThis</name> 622 <name>whatsThis</name>
605 <string>Make a copy of this document.</string> 623 <string>Make a copy of this document.</string>
606 </property> 624 </property>
607 </widget> 625 </widget>
608 <widget> 626 <widget>
609 <class>QPushButton</class> 627 <class>QPushButton</class>
610 <property stdset="1"> 628 <property stdset="1">
611 <name>name</name> 629 <name>name</name>
612 <cstring>beam</cstring> 630 <cstring>beam</cstring>
613 </property> 631 </property>
614 <property stdset="1"> 632 <property stdset="1">
615 <name>focusPolicy</name> 633 <name>focusPolicy</name>
616 <enum>TabFocus</enum> 634 <enum>TabFocus</enum>
617 </property> 635 </property>
618 <property stdset="1"> 636 <property stdset="1">
619 <name>text</name> 637 <name>text</name>
620 <string>Beam</string> 638 <string>Beam</string>
621 </property> 639 </property>
622 <property stdset="1"> 640 <property stdset="1">
623 <name>autoDefault</name> 641 <name>autoDefault</name>
624 <bool>false</bool> 642 <bool>false</bool>
625 </property> 643 </property>
626 <property> 644 <property>
627 <name>whatsThis</name> 645 <name>whatsThis</name>
628 <string>Beam this document to another device.</string> 646 <string>Beam this document to another device.</string>
629 </property> 647 </property>
630 </widget> 648 </widget>
631 </hbox> 649 </hbox>
632 </widget> 650 </widget>
633 </vbox> 651 </vbox>
634</widget> 652</widget>
635<customwidgets> 653<customwidgets>
636 <customwidget> 654 <customwidget>
637 <class>CategoryWidget</class> 655 <class>CategoryWidget</class>
638 <header location="global">qpe/categorywidget.h</header> 656 <header location="global">qpe/categorywidget.h</header>
639 <sizehint> 657 <sizehint>
640 <width>-1</width> 658 <width>-1</width>
641 <height>-1</height> 659 <height>-1</height>