Mercurial > hg > easyhg
diff multichoicedialog.h @ 72:121cb1032717
* Bit more work on Open dialog
author | Chris Cannam |
---|---|
date | Thu, 18 Nov 2010 17:36:53 +0000 |
parents | 6d5a5571caec |
children | 10eb97683aa9 |
line wrap: on
line diff
--- a/multichoicedialog.h Thu Nov 18 15:29:48 2010 +0000 +++ b/multichoicedialog.h Thu Nov 18 17:36:53 2010 +0000 @@ -44,7 +44,7 @@ FileArg, DirectoryArg, UrlArg, - FileOrUrlArg + UrlToDirectoryArg }; void addChoice(QString identifier, QString text, @@ -53,11 +53,14 @@ void setCurrentChoice(QString); QString getCurrentChoice(); QString getArgument(); + QString getAdditionalArgument(); - static void addRecentArgument(QString identifier, QString name); + static void addRecentArgument(QString identifier, QString name, + bool additionalArgument = false); private slots: void choiceChanged(); + void urlChanged(const QString &); void browse(); private: @@ -71,9 +74,11 @@ QHBoxLayout *m_choiceLayout; QLabel *m_descriptionLabel; - QLabel *m_argLabel; - QComboBox *m_argEdit; + QLabel *m_fileLabel; + QComboBox *m_fileCombo; QAbstractButton *m_browseButton; + QLabel *m_urlLabel; + QComboBox *m_urlCombo; }; #endif // MULTICHOICEDIALOG_H