comparison widgets/ExpandWidget.h @ 205:00cf9a7faa4d

add menu and shortcut to show/hide both ExpandWidget (layers and filters, search/info tab)
author lbajardsilogic
date Wed, 30 Jan 2008 10:20:41 +0000
parents bc5b79e7b1d8
children
comparison
equal deleted inserted replaced
204:c5970f7af886 205:00cf9a7faa4d
42 void setPanes(QWidget *newCenterPane, QWidget *newOtherPane); 42 void setPanes(QWidget *newCenterPane, QWidget *newOtherPane);
43 void setWidgetLocation(ExpandWidget::Location newWidgetLocation); 43 void setWidgetLocation(ExpandWidget::Location newWidgetLocation);
44 44
45 void setPercentage(int a, int b); 45 void setPercentage(int a, int b);
46 46
47 //signals: 47 inline bool isVisible(){return !m_paneClosed;}
48 48
49 signals:
50 void paneStateChanged(bool );//emit true if the pane is visible false if not
51
49 private slots: 52 private slots:
50 void changePaneSate(); 53 void changePaneState();
51 54
52 private: 55 private:
53 void refreshButtonIcone(); 56 void refreshButtonIcone();
54 57
55 QPushButton *m_button; 58 QPushButton *m_button;