Changeset View
Changeset View
Standalone View
Standalone View
src/qt/guiutil.h
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | /** Return a field of the currently selected entry as a QString. Does nothing if | ||||
@param[in] column Data column to extract from the model | @param[in] column Data column to extract from the model | ||||
@see TransactionView::copyLabel, TransactionView::copyAmount, | @see TransactionView::copyLabel, TransactionView::copyAmount, | ||||
TransactionView::copyAddress | TransactionView::copyAddress | ||||
*/ | */ | ||||
QList<QModelIndex> getEntryData(QAbstractItemView *view, int column); | QList<QModelIndex> getEntryData(QAbstractItemView *view, int column); | ||||
void setClipboard(const QString &str); | void setClipboard(const QString &str); | ||||
/** | |||||
* Determine default data directory for operating system. | |||||
*/ | |||||
QString getDefaultDataDirectory(); | |||||
/** Get save filename, mimics QFileDialog::getSaveFileName, except that it | /** Get save filename, mimics QFileDialog::getSaveFileName, except that it | ||||
appends a default suffix | appends a default suffix | ||||
when no suffix is provided by the user. | when no suffix is provided by the user. | ||||
@param[in] parent Parent window (or 0) | @param[in] parent Parent window (or 0) | ||||
@param[in] caption Window caption (or empty, for default) | @param[in] caption Window caption (or empty, for default) | ||||
@param[in] dir Starting directory (or empty, to default to documents | @param[in] dir Starting directory (or empty, to default to documents | ||||
directory) | directory) | ||||
▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines |