Changeset View
Changeset View
Standalone View
Standalone View
src/qt/guiutil.h
Show First 20 Lines • Show All 202 Lines • ▼ Show 20 Lines | |||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void on_sectionResized(int logicalIndex, int oldSize, int newSize); | void on_sectionResized(int logicalIndex, int oldSize, int newSize); | ||||
void on_geometriesChanged(); | void on_geometriesChanged(); | ||||
}; | }; | ||||
bool GetStartOnSystemStartup(); | bool GetStartOnSystemStartup(); | ||||
bool SetStartOnSystemStartup(bool fAutoStart); | bool SetStartOnSystemStartup(bool fAutoStart); | ||||
/** Save window size and position */ | |||||
void saveWindowGeometry(const QString &strSetting, QWidget *parent); | |||||
/** Restore window size and position */ | |||||
void restoreWindowGeometry(const QString &strSetting, | |||||
const QSize &defaultSizeIn, QWidget *parent); | |||||
/* Convert QString to OS specific boost path through UTF-8 */ | /* Convert QString to OS specific boost path through UTF-8 */ | ||||
fs::path qstringToBoostPath(const QString &path); | fs::path qstringToBoostPath(const QString &path); | ||||
/* Convert OS specific boost path to QString through UTF-8 */ | /* Convert OS specific boost path to QString through UTF-8 */ | ||||
QString boostPathToQString(const fs::path &path); | QString boostPathToQString(const fs::path &path); | ||||
/* Convert seconds into a QString with days, hours, mins, secs */ | /* Convert seconds into a QString with days, hours, mins, secs */ | ||||
QString formatDurationStr(int secs); | QString formatDurationStr(int secs); | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |