mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-25 11:07:04 +02:00
[meta] clang-format literally all of the Qt code (#3706)
I'm tired of dealing with this tbh Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3706 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
769edbfea3
commit
8678cb06eb
107 changed files with 1457 additions and 1737 deletions
|
|
@ -20,15 +20,15 @@ struct User {
|
|||
QPixmap pixmap;
|
||||
};
|
||||
|
||||
class NewUserDialog : public QDialog
|
||||
{
|
||||
class NewUserDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(bool isDefaultAvatar READ isDefaultAvatar WRITE setIsDefaultAvatar NOTIFY
|
||||
isDefaultAvatarChanged FINAL)
|
||||
|
||||
public:
|
||||
explicit NewUserDialog(QWidget *parent = nullptr);
|
||||
explicit NewUserDialog(Common::UUID uuid, const std::string &username, const QString &title, QWidget *parent = nullptr);
|
||||
explicit NewUserDialog(QWidget* parent = nullptr);
|
||||
explicit NewUserDialog(Common::UUID uuid, const std::string& username, const QString& title,
|
||||
QWidget* parent = nullptr);
|
||||
~NewUserDialog();
|
||||
|
||||
bool isDefaultAvatar() const;
|
||||
|
|
@ -39,8 +39,8 @@ public:
|
|||
static QPixmap DefaultAvatar();
|
||||
|
||||
private:
|
||||
Ui::NewUserDialog *ui;
|
||||
QGraphicsScene *m_scene;
|
||||
Ui::NewUserDialog* ui;
|
||||
QGraphicsScene* m_scene;
|
||||
QPixmap m_pixmap;
|
||||
|
||||
ProfileAvatarDialog* avatar_dialog;
|
||||
|
|
@ -48,12 +48,12 @@ private:
|
|||
bool m_isDefaultAvatar = true;
|
||||
bool m_editing = false;
|
||||
|
||||
void setup(Common::UUID uuid, const std::string &username, const QString &title);
|
||||
void setup(Common::UUID uuid, const std::string& username, const QString& title);
|
||||
bool LoadAvatarData();
|
||||
std::vector<uint8_t> DecompressYaz0(const FileSys::VirtualFile& file);
|
||||
|
||||
public slots:
|
||||
void setImage(const QPixmap &pixmap);
|
||||
void setImage(const QPixmap& pixmap);
|
||||
void selectImage();
|
||||
void setAvatar();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue