![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "pivxgui.h"#include <QAbstractAnimation>#include <QColor>#include <QComboBox>#include <QDialog>#include <QPixmap>#include <QPoint>#include <QPropertyAnimation>#include <QSettings>#include <QStandardPaths>#include <QString>#include <QWidget>#include <initializer_list>Go to the source code of this file.
Functions | |
| const QString | SALVAGEWALLET ("-salvagewallet") |
| const QString | RESCAN ("-rescan") |
| const QString | ZAPTXES1 ("-zapwallettxes=1") |
| const QString | ZAPTXES2 ("-zapwallettxes=2") |
| const QString | UPGRADEWALLET ("-upgradewallet") |
| const QString | REINDEX ("-reindex") |
| const QString | RESYNC ("-resync") |
| bool | openDialog (QDialog *widget, QWidget *gui) |
| void | closeDialog (QDialog *widget, PIVXGUI *gui) |
| void | openDialogFullScreen (QWidget *parent, QWidget *dialog) |
| bool | openDialogWithOpaqueBackgroundY (QDialog *widget, PIVXGUI *gui, double posX=3, int posY=5, bool hideOpaqueBackground=true) |
| bool | openDialogWithOpaqueBackground (QDialog *widget, PIVXGUI *gui, double posX=3) |
| bool | openDialogWithOpaqueBackgroundFullScreen (QDialog *widget, PIVXGUI *gui) |
| QPixmap | encodeToQr (const QString &str, QString &errorStr, const QColor &qrColor=Qt::black) |
| void | updateStyle (QWidget *widget) |
| QColor | getRowColor (bool isLightTheme, bool isHovered, bool isSelected) |
| void | setFilterAddressBook (QComboBox *filter, SortEdit *lineEdit) |
| void | setSortTx (QComboBox *filter, SortEdit *lineEdit) |
| void | setSortTxTypeFilter (QComboBox *filter, SortEdit *lineEdit) |
| QSettings * | getSettings () |
| void | setupSettings (QSettings *settings) |
| bool | isLightTheme () |
| void | setTheme (bool isLight) |
| void | initComboBox (QComboBox *combo, QLineEdit *lineEdit=nullptr, QString cssClass="btn-combo", bool setView=true) |
| void | fillAddressSortControls (SortEdit *seType, SortEdit *seOrder, QComboBox *boxType, QComboBox *boxOrder) |
| void | initCssEditLine (QLineEdit *edit, bool isDialog=false) |
| void | setCssEditLine (QLineEdit *edit, bool isValid, bool forceUpdate=false) |
| void | setCssEditLineDialog (QLineEdit *edit, bool isValid, bool forceUpdate=false) |
| void | setShadow (QWidget *edit) |
| void | setCssBtnPrimary (QPushButton *btn, bool forceUpdate=false) |
| void | setCssBtnSecondary (QPushButton *btn, bool forceUpdate=false) |
| void | setCssTitleScreen (QLabel *label) |
| void | setCssSubtitleScreen (QWidget *wid) |
| void | setCssTextBodyDialog (std::initializer_list< QWidget * > args) |
| void | setCssTextBodyDialog (QWidget *widget) |
| void | setCssProperty (std::initializer_list< QWidget * > args, const QString &value) |
| void | setCssProperty (QWidget *wid, const QString &value, bool forceUpdate=false) |
| void | forceUpdateStyle (QWidget *widget, bool forceUpdate) |
| void | forceUpdateStyle (std::initializer_list< QWidget * > args) |
Variables | |
| Qt::Modifier | SHORT_KEY |
| void closeDialog | ( | QDialog * | widget, |
| PIVXGUI * | gui | ||
| ) |
| QPixmap encodeToQr | ( | const QString & | str, |
| QString & | errorStr, | ||
| const QColor & | qrColor = Qt::black |
||
| ) |
| void fillAddressSortControls | ( | SortEdit * | seType, |
| SortEdit * | seOrder, | ||
| QComboBox * | boxType, | ||
| QComboBox * | boxOrder | ||
| ) |
Definition at line 257 of file qtutils.cpp.
| void forceUpdateStyle | ( | QWidget * | widget, |
| bool | forceUpdate | ||
| ) |
Definition at line 348 of file qtutils.cpp.
| void forceUpdateStyle | ( | std::initializer_list< QWidget * > | args | ) |
| QColor getRowColor | ( | bool | isLightTheme, |
| bool | isHovered, | ||
| bool | isSelected | ||
| ) |
Definition at line 233 of file qtutils.cpp.
| QSettings* getSettings | ( | ) |
Definition at line 199 of file qtutils.cpp.
| void initComboBox | ( | QComboBox * | combo, |
| QLineEdit * | lineEdit = nullptr, |
||
| QString | cssClass = "btn-combo", |
||
| bool | setView = true |
||
| ) |
Definition at line 244 of file qtutils.cpp.
| void initCssEditLine | ( | QLineEdit * | edit, |
| bool | isDialog = false |
||
| ) |
Definition at line 272 of file qtutils.cpp.
| bool isLightTheme | ( | ) |
Definition at line 210 of file qtutils.cpp.
| bool openDialog | ( | QDialog * | widget, |
| QWidget * | gui | ||
| ) |
| void openDialogFullScreen | ( | QWidget * | parent, |
| QWidget * | dialog | ||
| ) |
Definition at line 50 of file qtutils.cpp.
| bool openDialogWithOpaqueBackground | ( | QDialog * | widget, |
| PIVXGUI * | gui, | ||
| double | posX = 3 |
||
| ) |
Definition at line 76 of file qtutils.cpp.
| bool openDialogWithOpaqueBackgroundFullScreen | ( | QDialog * | widget, |
| PIVXGUI * | gui | ||
| ) |
Definition at line 81 of file qtutils.cpp.
| bool openDialogWithOpaqueBackgroundY | ( | QDialog * | widget, |
| PIVXGUI * | gui, | ||
| double | posX = 3, |
||
| int | posY = 5, |
||
| bool | hideOpaqueBackground = true |
||
| ) |
Definition at line 59 of file qtutils.cpp.
| const QString REINDEX | ( | "-reindex" | ) |
| const QString RESCAN | ( | "-rescan" | ) |
| const QString RESYNC | ( | "-resync" | ) |
| const QString SALVAGEWALLET | ( | "-salvagewallet" | ) |
| void setCssBtnPrimary | ( | QPushButton * | btn, |
| bool | forceUpdate = false |
||
| ) |
Definition at line 302 of file qtutils.cpp.
| void setCssBtnSecondary | ( | QPushButton * | btn, |
| bool | forceUpdate = false |
||
| ) |
Definition at line 307 of file qtutils.cpp.
| void setCssEditLine | ( | QLineEdit * | edit, |
| bool | isValid, | ||
| bool | forceUpdate = false |
||
| ) |
Definition at line 282 of file qtutils.cpp.
| void setCssEditLineDialog | ( | QLineEdit * | edit, |
| bool | isValid, | ||
| bool | forceUpdate = false |
||
| ) |
Definition at line 287 of file qtutils.cpp.
| void setCssProperty | ( | QWidget * | wid, |
| const QString & | value, | ||
| bool | forceUpdate = false |
||
| ) |
| void setCssProperty | ( | std::initializer_list< QWidget * > | args, |
| const QString & | value | ||
| ) |
Definition at line 334 of file qtutils.cpp.
| void setCssSubtitleScreen | ( | QWidget * | wid | ) |
Definition at line 329 of file qtutils.cpp.
| void setCssTextBodyDialog | ( | QWidget * | widget | ) |
| void setCssTextBodyDialog | ( | std::initializer_list< QWidget * > | args | ) |
| void setCssTitleScreen | ( | QLabel * | label | ) |
Definition at line 324 of file qtutils.cpp.
| void setFilterAddressBook | ( | QComboBox * | filter, |
| SortEdit * | lineEdit | ||
| ) |
| void setShadow | ( | QWidget * | edit | ) |
| void setSortTx | ( | QComboBox * | filter, |
| SortEdit * | lineEdit | ||
| ) |
| void setSortTxTypeFilter | ( | QComboBox * | filter, |
| SortEdit * | lineEdit | ||
| ) |
| void setTheme | ( | bool | isLight | ) |
Definition at line 215 of file qtutils.cpp.
| void setupSettings | ( | QSettings * | settings | ) |
| void updateStyle | ( | QWidget * | widget | ) |
| const QString UPGRADEWALLET | ( | "-upgradewallet" | ) |
| const QString ZAPTXES1 | ( | ) |
| const QString ZAPTXES2 | ( | ) |
|
extern |
Definition at line 15 of file qtutils.cpp.