6 #include <QApplication>
13 using namespace swift::misc::network;
15 namespace swift::gui::editors
25 Q_UNUSED(withNestedObjects);
30 std::chrono::milliseconds timeout)
41 if (!QApplication::clipboard()) {
return; }
42 const QString data = QApplication::clipboard()->text();
43 if (!json::looksLikeSwiftJson(data)) {
return; }
static void forceStyleSheetUpdate(QWidget *widget)
Forces a stylesheet update.
void showOverlayMessages(const swift::misc::CStatusMessageList &messages, bool appendOldMessages=false, std::chrono::milliseconds timeout=std::chrono::milliseconds(0))
Show multiple messages.
Using this class provides a QFrame with the overlay functionality already integrated.
T get() const
Get a copy of the current value.
Status messages, e.g. from Core -> GUI.
Value object encapsulating information of an authentiated user.
Free functions in swift::misc.