PIVX Core  5.6.99
P2P Digital Currency
Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
TooltipMenu Class Reference

#include <tooltipmenu.h>

Inheritance diagram for TooltipMenu:
[legend]
Collaboration diagram for TooltipMenu:
[legend]

Signals

void onDeleteClicked ()
 
void onCopyClicked ()
 
void onEditClicked ()
 
void onLastClicked ()
 
- Signals inherited from PWidget
void message (const QString &title, const QString &body, unsigned int style, bool *ret=nullptr)
 
void showHide (bool show)
 
bool execDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 

Public Member Functions

 TooltipMenu (PIVXGUI *_window, QWidget *parent=nullptr)
 
 ~TooltipMenu () override
 
virtual void showEvent (QShowEvent *event) override
 
void setEditBtnText (const QString &btnText)
 
void setDeleteBtnText (const QString &btnText)
 
void setCopyBtnText (const QString &btnText)
 
void setLastBtnText (const QString &btnText, int minHeight=30)
 
void setCopyBtnVisible (bool visible)
 
void setDeleteBtnVisible (bool visible)
 
void setEditBtnVisible (bool visible)
 
void setLastBtnVisible (bool visible)
 
void setLastBtnCheckable (bool checkable, bool isChecked)
 
- Public Member Functions inherited from PWidget
 PWidget (PIVXGUI *_window=nullptr, QWidget *parent=nullptr)
 
 PWidget (PWidget *parent=nullptr)
 
void setClientModel (ClientModel *model)
 
void setWalletModel (WalletModel *model)
 
PIVXGUIgetWindow ()
 
void run (int type) override
 
void onError (QString error, int type) override
 
void inform (const QString &message)
 
void emitMessage (const QString &title, const QString &message, unsigned int style, bool *ret=nullptr)
 
QString translate (const char *msg) override
 

Private Slots

void deleteClicked ()
 
void copyClicked ()
 
void editClicked ()
 
void lastClicked ()
 

Private Attributes

Ui::TooltipMenu * ui
 
QModelIndex index
 

Additional Inherited Members

- Protected Slots inherited from PWidget
virtual void changeTheme (bool isLightTheme, QString &theme)
 
void onChangeTheme (bool isLightTheme, QString &theme)
 
- Protected Member Functions inherited from PWidget
virtual void loadClientModel ()
 
virtual void loadWalletModel ()
 
void showHideOp (bool show)
 
bool execute (int type, std::unique_ptr< WalletModel::UnlockContext > pctx=nullptr)
 
void warn (const QString &title, const QString &message)
 
bool ask (const QString &title, const QString &message)
 
void showDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 
- Protected Attributes inherited from PWidget
PIVXGUIwindow = nullptr
 
ClientModelclientModel = nullptr
 
WalletModelwalletModel = nullptr
 

Detailed Description

Definition at line 23 of file tooltipmenu.h.

Constructor & Destructor Documentation

◆ TooltipMenu()

TooltipMenu::TooltipMenu ( PIVXGUI _window,
QWidget *  parent = nullptr 
)
explicit

Definition at line 12 of file tooltipmenu.cpp.

Here is the call graph for this function:

◆ ~TooltipMenu()

TooltipMenu::~TooltipMenu ( )
override

Definition at line 89 of file tooltipmenu.cpp.

Member Function Documentation

◆ copyClicked

void TooltipMenu::copyClicked ( )
privateslot

Definition at line 70 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ deleteClicked

void TooltipMenu::deleteClicked ( )
privateslot

Definition at line 65 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ editClicked

void TooltipMenu::editClicked ( )
privateslot

Definition at line 75 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ lastClicked

void TooltipMenu::lastClicked ( )
privateslot

Definition at line 80 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ onCopyClicked

void TooltipMenu::onCopyClicked ( )
signal
Here is the caller graph for this function:

◆ onDeleteClicked

void TooltipMenu::onDeleteClicked ( )
signal
Here is the caller graph for this function:

◆ onEditClicked

void TooltipMenu::onEditClicked ( )
signal
Here is the caller graph for this function:

◆ onLastClicked

void TooltipMenu::onLastClicked ( )
signal
Here is the caller graph for this function:

◆ setCopyBtnText()

void TooltipMenu::setCopyBtnText ( const QString &  btnText)

Definition at line 34 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ setCopyBtnVisible()

void TooltipMenu::setCopyBtnVisible ( bool  visible)

Definition at line 49 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ setDeleteBtnText()

void TooltipMenu::setDeleteBtnText ( const QString &  btnText)

Definition at line 30 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ setDeleteBtnVisible()

void TooltipMenu::setDeleteBtnVisible ( bool  visible)

Definition at line 53 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ setEditBtnText()

void TooltipMenu::setEditBtnText ( const QString &  btnText)

Definition at line 26 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ setEditBtnVisible()

void TooltipMenu::setEditBtnVisible ( bool  visible)

Definition at line 57 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ setLastBtnCheckable()

void TooltipMenu::setLastBtnCheckable ( bool  checkable,
bool  isChecked 
)

Definition at line 43 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ setLastBtnText()

void TooltipMenu::setLastBtnText ( const QString &  btnText,
int  minHeight = 30 
)

Definition at line 38 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ setLastBtnVisible()

void TooltipMenu::setLastBtnVisible ( bool  visible)

Definition at line 61 of file tooltipmenu.cpp.

Here is the caller graph for this function:

◆ showEvent()

void TooltipMenu::showEvent ( QShowEvent *  event)
overridevirtual

Definition at line 85 of file tooltipmenu.cpp.

Member Data Documentation

◆ index

QModelIndex TooltipMenu::index
private

Definition at line 57 of file tooltipmenu.h.

◆ ui

Ui::TooltipMenu* TooltipMenu::ui
private

Definition at line 56 of file tooltipmenu.h.


The documentation for this class was generated from the following files: