22 #ifndef QUICKACCESSBAR_H
23 #define QUICKACCESSBAR_H
25 #include <QtGui/QWidget>
27 #include <tulip/CaptionItem.h>
28 #include <tulip/tulipconf.h>
38 class GlGraphRenderingParameters;
39 class GlGraphInputData;
42 class TLP_QT_SCOPE QuickAccessBar :
public QWidget {
45 Ui::QuickAccessBar* _ui;
46 QGraphicsItem *_quickAccessBarItem;
49 tlp::GlGraphInputData* inputData()
const;
54 bool _captionsInitialized;
55 CaptionItem *_captions[4];
56 void updateFontButtonStyle();
57 void showHideCaption(CaptionItem::CaptionType captionType);
60 explicit QuickAccessBar(QGraphicsItem *quickAccessBarItem,QWidget *parent = 0);
61 virtual ~QuickAccessBar();
67 void setBackgroundColor(
const QColor&);
68 void setColorInterpolation(
bool);
69 void setLabelColor(
const QColor&);
70 void setNodeColor(
const QColor&);
71 void showHideNodesColorCaption();
72 void showHideNodesSizeCaption();
73 void showHideEdgesColorCaption();
74 void showHideEdgesSizeCaption();
76 void setEdgesVisible(
bool);
77 void setLabelsVisible(
bool);
81 void settingsChanged();
85 #endif // QUICKACCESSBAR_H