File indexing completed on 2024-05-19 04:58:51
0001 /* ============================================================ 0002 * Falkon - Qt web browser 0003 * Copyright (C) 2010-2014 Franz Fellner <alpine.art.de@googlemail.com> 0004 * David Rosca <nowrep@gmail.com> 0005 * 0006 * This program is free software: you can redistribute it and/or modify 0007 * it under the terms of the GNU General Public License as published by 0008 * the Free Software Foundation, either version 3 of the License, or 0009 * (at your option) any later version. 0010 * 0011 * This program is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 * GNU General Public License for more details. 0015 * 0016 * You should have received a copy of the GNU General Public License 0017 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0018 * ============================================================ */ 0019 #ifndef LOCATIONBARPOPUP_H 0020 #define LOCATIONBARPOPUP_H 0021 0022 #include <QFrame> 0023 0024 #include "qzcommon.h" 0025 0026 class FALKON_EXPORT LocationBarPopup : public QFrame 0027 { 0028 public: 0029 explicit LocationBarPopup(QWidget* parent); 0030 0031 void showAt(QWidget* parent); 0032 0033 void setPopupAlignment(Qt::Alignment alignment); 0034 Qt::Alignment popupAlignment() const; 0035 0036 private: 0037 Qt::Alignment m_alignment; 0038 }; 0039 0040 #endif // LOCATIONBARPOPUP_H