author | mickeyl <mickeyl> | 2004-03-08 16:35:56 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-08 16:35:56 (UTC) |
commit | 82fb70f4e5d8582185da89264e1a1e3b2517f459 (patch) (unidiff) | |
tree | 12dfcfee4c95d3c96809397197c2b09e6e09cea6 /library | |
parent | 15a9a86fbec54292a82663e1b01c93450f3fbbf8 (diff) | |
download | opie-82fb70f4e5d8582185da89264e1a1e3b2517f459.zip opie-82fb70f4e5d8582185da89264e1a1e3b2517f459.tar.gz opie-82fb70f4e5d8582185da89264e1a1e3b2517f459.tar.bz2 |
add a line where the user can insert command line arguments for the AppLnk
-rw-r--r-- | library/lnkproperties.cpp | 3 | ||||
-rw-r--r-- | library/lnkpropertiesbase_p.ui | 94 |
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 | |||
@@ -128,2 +128,5 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent ) | |||
128 | 128 | ||
129 | if ( !l->property( "Arguments" ).isEmpty() ) | ||
130 | d->arguments->setText( l->property( "Arguments" ) ); | ||
131 | |||
129 | Config cfg("Launcher"); | 132 | Config cfg("Launcher"); |
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 | |||
@@ -13,3 +13,3 @@ | |||
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>263</width> | 14 | <width>259</width> |
15 | <height>450</height> | 15 | <height>450</height> |
@@ -79,3 +79,3 @@ | |||
79 | <name>margin</name> | 79 | <name>margin</name> |
80 | <number>3</number> | 80 | <number>2</number> |
81 | </property> | 81 | </property> |
@@ -83,19 +83,16 @@ | |||
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> |
@@ -142,3 +139,3 @@ | |||
142 | </widget> | 139 | </widget> |
143 | <widget row="1" column="1" > | 140 | <widget row="2" column="1" > |
144 | <class>QComboBox</class> | 141 | <class>QComboBox</class> |
@@ -160,3 +157,3 @@ | |||
160 | </widget> | 157 | </widget> |
161 | <widget row="2" column="0" > | 158 | <widget row="3" column="0" > |
162 | <class>QLabel</class> | 159 | <class>QLabel</class> |
@@ -185,3 +182,3 @@ | |||
185 | </widget> | 182 | </widget> |
186 | <widget row="2" column="1" > | 183 | <widget row="3" column="1" > |
187 | <class>QLabel</class> | 184 | <class>QLabel</class> |
@@ -196,3 +193,3 @@ | |||
196 | </widget> | 193 | </widget> |
197 | <widget row="1" column="0" > | 194 | <widget row="2" column="0" > |
198 | <class>QLabel</class> | 195 | <class>QLabel</class> |
@@ -239,3 +236,3 @@ | |||
239 | </widget> | 236 | </widget> |
240 | <widget row="3" column="1" > | 237 | <widget row="4" column="1" > |
241 | <class>QLabel</class> | 238 | <class>QLabel</class> |
@@ -250,3 +247,3 @@ | |||
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> |
@@ -459,21 +456,3 @@ | |||
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> |
@@ -498,3 +477,3 @@ | |||
498 | </widget> | 477 | </widget> |
499 | <widget row="3" column="0" > | 478 | <widget row="4" column="0" > |
500 | <class>QLabel</class> | 479 | <class>QLabel</class> |
@@ -513,2 +492,41 @@ | |||
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> |