Changeset 2ea15499285e7022db965319b587c129e5e9ad05
- Timestamp:
- 12/21/07 02:21:09
(9 months ago)
- Author:
- Jean-Baptiste Kempf <jb@videolan.org>
- git-committer:
- Jean-Baptiste Kempf <jb@videolan.org> 1198200069 +0000
- git-parent:
[f5a08fa8831935ee37056a6832c2c6b90bf55a48]
- git-author:
- Jean-Baptiste Kempf <jb@videolan.org> 1198200069 +0000
- Message:
Qt4 - VLM: select input from the OpenDialog?, using the existing OpenDialog? and not creating new one. :D
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf7ab4a9 |
r2ea1549 |
|
| 25 | 25 | |
|---|
| 26 | 26 | #include "dialogs/vlm.hpp" |
|---|
| | 27 | #include "dialogs/open.hpp" |
|---|
| 27 | 28 | |
|---|
| 28 | 29 | #include <QString> |
|---|
| … | … | |
| 137 | 138 | BUTTONACT( ui.clearButton, clearWidgets() ); |
|---|
| 138 | 139 | BUTTONACT( ui.saveButton, saveModifications() ); |
|---|
| | 140 | BUTTONACT( ui.inputButton, selectInput() ); |
|---|
| 139 | 141 | } |
|---|
| 140 | 142 | |
|---|
| … | … | |
| 223 | 225 | vlmItemLayout->insertWidget( vlmItemCount, vlmAwidget ); |
|---|
| 224 | 226 | vlmItems.append( vlmAwidget ); |
|---|
| 225 | | |
|---|
| 226 | | /* HERE BE DRAGONS VLM REQUEST */ |
|---|
| 227 | 227 | } |
|---|
| 228 | 228 | |
|---|
| … | … | |
| 240 | 240 | ui.saveButton->hide(); |
|---|
| 241 | 241 | ui.addButton->show(); |
|---|
| | 242 | } |
|---|
| | 243 | |
|---|
| | 244 | void VLMDialog::selectInput() |
|---|
| | 245 | { |
|---|
| | 246 | OpenDialog *o = OpenDialog::getInstance( this, p_intf, 0, true ); |
|---|
| | 247 | o->exec(); |
|---|
| | 248 | ui.inputLedit->setText( o->getMRL() ); |
|---|
| 242 | 249 | } |
|---|
| 243 | 250 | |
|---|
| rda64a2a |
r2ea1549 |
|
| 100 | 100 | void showScheduleWidget( int ); |
|---|
| 101 | 101 | void selectVLMItem( int ); |
|---|
| | 102 | void selectInput(); |
|---|
| 102 | 103 | }; |
|---|
| 103 | 104 | |
|---|