summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -126,6 +126,9 @@ LnkProperties::LnkProperties( AppLnk* l, QWidget* parent )
d->rotateButtons->setEnabled(false);
}
+ if ( !l->property( "Arguments" ).isEmpty() )
+ d->arguments->setText( l->property( "Arguments" ) );
+
Config cfg("Launcher");
cfg.setGroup("Preload");
QStringList apps = cfg.readListEntry("Apps",',');
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
@@ -11,7 +11,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>263</width>
+ <width>259</width>
<height>450</height>
</rect>
</property>
@@ -77,27 +77,24 @@
<grid>
<property stdset="1">
<name>margin</name>
- <number>3</number>
+ <number>2</number>
</property>
<property stdset="1">
<name>spacing</name>
- <number>3</number>
+ <number>4</number>
</property>
- <widget row="8" column="0" rowspan="1" colspan="2" >
- <class>CategoryWidget</class>
+ <widget row="1" column="0" >
+ <class>QLabel</class>
<property stdset="1">
<name>name</name>
- <cstring>categoryEdit</cstring>
+ <cstring>TextLabel1_2</cstring>
</property>
<property stdset="1">
- <name>sizePolicy</name>
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>7</vsizetype>
- </sizepolicy>
+ <name>text</name>
+ <string>Arguments:</string>
</property>
</widget>
- <widget row="5" column="0" rowspan="1" colspan="2" >
+ <widget row="6" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
@@ -140,7 +137,7 @@
<string>The name of this document.</string>
</property>
</widget>
- <widget row="1" column="1" >
+ <widget row="2" column="1" >
<class>QComboBox</class>
<property stdset="1">
<name>name</name>
@@ -158,7 +155,7 @@
<string>The media the document resides on.</string>
</property>
</widget>
- <widget row="2" column="0" >
+ <widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
@@ -183,7 +180,7 @@
<name>layoutSpacing</name>
</property>
</widget>
- <widget row="2" column="1" >
+ <widget row="3" column="1" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
@@ -194,7 +191,7 @@
<string></string>
</property>
</widget>
- <widget row="1" column="0" >
+ <widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
@@ -237,7 +234,7 @@
<string>Name:</string>
</property>
</widget>
- <widget row="3" column="1" >
+ <widget row="4" column="1" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
@@ -248,7 +245,7 @@
<string></string>
</property>
</widget>
- <widget row="6" column="0" rowspan="1" colspan="2" >
+ <widget row="7" column="0" rowspan="1" colspan="2" >
<class>QButtonGroup</class>
<property stdset="1">
<name>name</name>
@@ -457,25 +454,7 @@
</spacer>
</hbox>
</widget>
- <widget row="7" column="0" rowspan="1" colspan="2" >
- <class>QLabel</class>
- <property stdset="1">
- <name>name</name>
- <cstring>labelspacer</cstring>
- </property>
- <property stdset="1">
- <name>sizePolicy</name>
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>7</vsizetype>
- </sizepolicy>
- </property>
- <property stdset="1">
- <name>text</name>
- <string></string>
- </property>
- </widget>
- <widget row="4" column="0" rowspan="1" colspan="2" >
+ <widget row="5" column="0" rowspan="1" colspan="2" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
@@ -496,7 +475,7 @@
<string>Preload this application so that it is available instantly.</string>
</property>
</widget>
- <widget row="3" column="0" >
+ <widget row="4" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
@@ -511,6 +490,45 @@
<enum>RichText</enum>
</property>
</widget>
+ <widget row="1" column="1" >
+ <class>QLineEdit</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>arguments</cstring>
+ </property>
+ </widget>
+ <widget row="9" column="0" rowspan="1" colspan="2" >
+ <class>CategoryWidget</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>categoryEdit</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>7</vsizetype>
+ </sizepolicy>
+ </property>
+ </widget>
+ <widget row="8" column="0" rowspan="1" colspan="2" >
+ <class>QLabel</class>
+ <property stdset="1">
+ <name>name</name>
+ <cstring>labelspacer</cstring>
+ </property>
+ <property stdset="1">
+ <name>sizePolicy</name>
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>7</vsizetype>
+ </sizepolicy>
+ </property>
+ <property stdset="1">
+ <name>text</name>
+ <string></string>
+ </property>
+ </widget>
</grid>
</widget>
<widget>