Mercurial > hg > easyhg
comparison src/multichoicedialog.h @ 553:9c8147c9f245
Fix #354, Remote repo URL should be cleared when starting a new local project
author | Chris Cannam |
---|---|
date | Fri, 17 Feb 2012 10:58:41 +0000 |
parents | a582c6417004 |
children | 533519ebc0cb |
comparison
equal
deleted
inserted
replaced
552:7663c1c19d47 | 553:9c8147c9f245 |
---|---|
46 UrlArg, | 46 UrlArg, |
47 UrlToDirectoryArg | 47 UrlToDirectoryArg |
48 }; | 48 }; |
49 | 49 |
50 void addChoice(QString identifier, QString text, | 50 void addChoice(QString identifier, QString text, |
51 QString description, ArgType arg); | 51 QString description, ArgType arg, |
52 bool defaultEmpty = false); | |
52 | 53 |
53 void setCurrentChoice(QString); | 54 void setCurrentChoice(QString); |
54 QString getCurrentChoice(); | 55 QString getCurrentChoice(); |
55 QString getArgument(); | 56 QString getArgument(); |
56 QString getAdditionalArgument(); | 57 QString getAdditionalArgument(); |
69 void updateOkButton(); | 70 void updateOkButton(); |
70 | 71 |
71 QMap<QString, QString> m_texts; | 72 QMap<QString, QString> m_texts; |
72 QMap<QString, QString> m_descriptions; | 73 QMap<QString, QString> m_descriptions; |
73 QMap<QString, ArgType> m_argTypes; | 74 QMap<QString, ArgType> m_argTypes; |
75 QMap<QString, bool> m_defaultEmpty; | |
74 QMap<QString, QSharedPointer<RecentFiles> > m_recentFiles; | 76 QMap<QString, QSharedPointer<RecentFiles> > m_recentFiles; |
75 | 77 |
76 QString m_currentChoice; | 78 QString m_currentChoice; |
77 QMap<QWidget *, QString> m_choiceButtons; | 79 QMap<QWidget *, QString> m_choiceButtons; |
78 | 80 |