![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "qtutils.h"#include "guiconstants.h"#include "qrencode.h"#include "snackbar.h"#include <QFile>#include <QGraphicsDropShadowEffect>#include <QListView>Go to the source code of this file.
Functions | |
| 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, int posY, bool hideOpaqueBackground) |
| bool | openDialogWithOpaqueBackground (QDialog *widget, PIVXGUI *gui, double posX) |
| bool | openDialogWithOpaqueBackgroundFullScreen (QDialog *widget, PIVXGUI *gui) |
| QPixmap | encodeToQr (const QString &str, QString &errorStr, const QColor &qrColor) |
| void | setFilterAddressBook (QComboBox *filter, SortEdit *lineEdit) |
| void | setSortTx (QComboBox *filter, SortEdit *lineEdit) |
| void | setSortTxTypeFilter (QComboBox *filter, SortEdit *lineEditType) |
| void | setupSettings (QSettings *settings) |
| QSettings * | getSettings () |
| bool | isLightTheme () |
| void | setTheme (bool isLight) |
| void | updateStyle (QWidget *widget) |
| QColor | getRowColor (bool isLightTheme, bool isHovered, bool isSelected) |
| void | initComboBox (QComboBox *combo, QLineEdit *lineEdit, QString cssClass, bool setView) |
| void | fillAddressSortControls (SortEdit *seType, SortEdit *seOrder, QComboBox *boxType, QComboBox *boxOrder) |
| void | initCssEditLine (QLineEdit *edit, bool isDialog) |
| void | setCssEditLine (QLineEdit *edit, bool isValid, bool forceUpdate) |
| void | setCssEditLineDialog (QLineEdit *edit, bool isValid, bool forceUpdate) |
| void | setShadow (QWidget *edit) |
| void | setCssBtnPrimary (QPushButton *btn, bool forceUpdate) |
| void | setCssBtnSecondary (QPushButton *btn, bool forceUpdate) |
| void | setCssTextBodyDialog (std::initializer_list< QWidget * > args) |
| void | setCssTextBodyDialog (QWidget *widget) |
| void | setCssTitleScreen (QLabel *label) |
| void | setCssSubtitleScreen (QWidget *wid) |
| void | setCssProperty (std::initializer_list< QWidget * > args, const QString &value) |
| void | setCssProperty (QWidget *wid, const QString &value, bool forceUpdate) |
| void | forceUpdateStyle (QWidget *widget, bool forceUpdate) |
| void | forceUpdateStyle (std::initializer_list< QWidget * > args) |
Variables | |
| Qt::Modifier | SHORT_KEY = Qt::ALT |
| QSettings * | settings = nullptr |
| void closeDialog | ( | QDialog * | widget, |
| PIVXGUI * | gui | ||
| ) |
| QPixmap encodeToQr | ( | const QString & | str, |
| QString & | errorStr, | ||
| const QColor & | qrColor | ||
| ) |
| 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, | ||
| QString | cssClass, | ||
| bool | setView | ||
| ) |
Definition at line 244 of file qtutils.cpp.
| void initCssEditLine | ( | QLineEdit * | edit, |
| bool | isDialog | ||
| ) |
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 | ||
| ) |
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, | ||
| int | posY, | ||
| bool | hideOpaqueBackground | ||
| ) |
Definition at line 59 of file qtutils.cpp.
| void setCssBtnPrimary | ( | QPushButton * | btn, |
| bool | forceUpdate | ||
| ) |
Definition at line 302 of file qtutils.cpp.
| void setCssBtnSecondary | ( | QPushButton * | btn, |
| bool | forceUpdate | ||
| ) |
Definition at line 307 of file qtutils.cpp.
| void setCssEditLine | ( | QLineEdit * | edit, |
| bool | isValid, | ||
| bool | forceUpdate | ||
| ) |
Definition at line 282 of file qtutils.cpp.
| void setCssEditLineDialog | ( | QLineEdit * | edit, |
| bool | isValid, | ||
| bool | forceUpdate | ||
| ) |
Definition at line 287 of file qtutils.cpp.
| void setCssProperty | ( | QWidget * | wid, |
| const QString & | value, | ||
| bool | forceUpdate | ||
| ) |
| 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 * | lineEditType | ||
| ) |
| void setTheme | ( | bool | isLight | ) |
Definition at line 215 of file qtutils.cpp.
| void setupSettings | ( | QSettings * | settings | ) |
| void updateStyle | ( | QWidget * | widget | ) |
| QSettings* settings = nullptr |
Definition at line 197 of file qtutils.cpp.
| Qt::Modifier SHORT_KEY = Qt::ALT |
Definition at line 15 of file qtutils.cpp.