22 #ifndef QUICKACCESSBAR_H
23 #define QUICKACCESSBAR_H
25 #include <QtGui/QWidget>
26 #include <tulip/tulipconf.h>
27 #include <tulip/ScrollPopupButton.h>
28 #include <tulip/CaptionItem.h>
36 class GlGraphRenderingParameters;
37 class GlGraphInputData;
40 class TLP_QT_SCOPE QuickAccessBar :
public QWidget {
43 Ui::QuickAccessBar* _ui;
44 QGraphicsItem *_quickAccessBarItem;
47 tlp::GlGraphInputData* inputData()
const;
52 bool _captionsInitialized;
53 CaptionItem *_captions[4];
54 void updateFontButtonStyle();
55 void showHideCaption(CaptionItem::CaptionType captionType);
58 explicit QuickAccessBar(QGraphicsItem *quickAccessBarItem,QWidget *parent = 0);
59 virtual ~QuickAccessBar();
65 void setBackgroundColor(
const QColor&);
66 void setColorInterpolation(
bool);
67 void setLabelColor(
const QColor&);
68 void setNodeColor(
const QColor&);
69 void showHideNodesColorCaption();
70 void showHideNodesSizeCaption();
71 void showHideEdgesColorCaption();
72 void showHideEdgesSizeCaption();
74 void setEdgesVisible(
bool);
75 void setLabelsVisible(
bool);
79 void settingsChanged();
83 #endif // QUICKACCESSBAR_H