mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-21 03:21:43 -06:00
dbhub: Add remote dock with directory browsing support
This adds a new dock to the main window that contains all the remote functionality (or is supposed to contain it all in the future). It also adds a directory browsing feature which allows you to browse through the folders and files on the dbhub server. By double clicking a database you can download and open it. The Open Remote menu action isn't needed anymore and has been removed. This also fixes an issue with pushing databases where, after sending the file is completed, the save dialog was opened. Note that this is still WIP and is far from polished.
This commit is contained in:
@@ -24,10 +24,11 @@ public:
|
||||
const QList<QSslCertificate>& caCertificates() const;
|
||||
const QMap<QString, QSslCertificate>& clientCertificates() const { return m_clientCertFiles; }
|
||||
|
||||
void fetchDatabase(const QString& url, const QString& clientCert);
|
||||
void pushDatabase(const QString& filename, const QString& url, const QString& clientCert);
|
||||
void fetch(const QString& url, bool isDatabase, const QString& clientCert, QVariant userdata = QVariant());
|
||||
void push(const QString& filename, const QString& url, const QString& clientCert);
|
||||
|
||||
signals:
|
||||
void gotDirList(QString json, QVariant userdata);
|
||||
void openFile(QString path);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user