qt: add Open URI dialog

This commit is contained in:
Wladimir J. van der Laan
2013-11-06 15:08:56 +01:00
parent 3a8915d9a8
commit 4c60358604
11 changed files with 289 additions and 19 deletions

View File

@@ -87,6 +87,7 @@ private:
QAction *changePassphraseAction;
QAction *aboutQtAction;
QAction *openRPCConsoleAction;
QAction *openAction;
QSystemTrayIcon *trayIcon;
Notificator *notificator;
@@ -107,6 +108,10 @@ private:
/** Create system tray menu (or setup the dock menu) */
void createTrayIconMenu();
signals:
/** Signal raised when a URI was entered or dragged to the GUI */
void receivedURI(const QString &uri);
public slots:
/** Set number of connections shown in the UI */
void setNumConnections(int count);
@@ -165,6 +170,8 @@ private slots:
/** Handle tray icon clicked */
void trayIconActivated(QSystemTrayIcon::ActivationReason reason);
#endif
/** Show open dialog */
void openClicked();
/** Show window if hidden, unminimize when minimized, rise when obscured or show if hidden and fToggleHidden is true */
void showNormalIfMinimized(bool fToggleHidden = false);