#ifndef INFOPOPUP_H #define INFOPOPUP_H #include #include #include #include class QVBoxLayout; class QHBoxLayout; class QGridLayout; class QSpacerItem; class QLabel; /** @author Michael Kaufmann */ class infoPopup : public QWidget { Q_OBJECT public: infoPopup( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~infoPopup(); // void setLeftSpacing( int spacing ); void addLine( const QString & key, const QString & value ); void addLine( const QString & value ); protected: struct tLine { QSpacerItem * spacer; QLabel * key; QLabel * value; }; QMap mLines; protected: QGridLayout* infoPopupBaseLayout; // KPassivePopup * mPopup; protected slots: virtual void languageChange(); }; #endif