mirror of
https://invent.kde.org/network/falkon.git
synced 2024-09-23 02:32:10 +02:00
25 lines
438 B
C
25 lines
438 B
C
|
|
||
|
#ifndef QUPZILLA_LOCATION_BAR_POPUP
|
||
|
#define QUPZILLA_LOCATION_BAR_POPUP
|
||
|
|
||
|
#include <QFrame>
|
||
|
|
||
|
class LocationBarPopup : public QFrame
|
||
|
{
|
||
|
public:
|
||
|
LocationBarPopup(QWidget* parent);
|
||
|
void showAt(QWidget* parent);
|
||
|
void setPopupAlignment(Qt::Alignment alignment) {
|
||
|
m_alignment = alignment;
|
||
|
}
|
||
|
|
||
|
Qt::Alignment popupAlignment() const {
|
||
|
return m_alignment;
|
||
|
}
|
||
|
|
||
|
private:
|
||
|
Qt::Alignment m_alignment;
|
||
|
};
|
||
|
|
||
|
#endif
|