summaryrefslogtreecommitdiff
path: root/ui/qt5/useraccountwidget.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-14 16:10:16 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-14 16:10:16 -0600
commit3a0c398b72f463d09bc87e598fbb6889000b6232 (patch)
treef291fe89a2004e34b3b4bdaf01e34ea18b7ef620 /ui/qt5/useraccountwidget.hh
parent37d282b7a12c884f8441317c89ee3703bd29210c (diff)
downloadhorizon-3a0c398b72f463d09bc87e598fbb6889000b6232.tar.gz
horizon-3a0c398b72f463d09bc87e598fbb6889000b6232.tar.bz2
horizon-3a0c398b72f463d09bc87e598fbb6889000b6232.tar.xz
horizon-3a0c398b72f463d09bc87e598fbb6889000b6232.zip
Qt UI: Implement user avatar selection
Diffstat (limited to 'ui/qt5/useraccountwidget.hh')
-rw-r--r--ui/qt5/useraccountwidget.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt5/useraccountwidget.hh b/ui/qt5/useraccountwidget.hh
index 71a23b7..8fc12b4 100644
--- a/ui/qt5/useraccountwidget.hh
+++ b/ui/qt5/useraccountwidget.hh
@@ -28,6 +28,8 @@ public:
QString accountText(void) const;
/*! Sets the current text in the Account Name text entry. */
void setAccountText(QString);
+ /*! Returns the current avatar location (or an empty string). */
+ QString avatarPath(void) const;
/*! Returns the current text in the passphrase entry. */
QString passphraseText(void) const;
/*! Returns the current text in the Personal Name text entry. */
@@ -50,6 +52,7 @@ private:
QLineEdit *passphrase;
QPushButton *aviButton;
QCheckBox *adminTick;
+ QString aviPath;
/*! When set, auto-update of accountName from personalName is prevented. */
bool acctEverTouched;
};