22 #ifndef QUICKACCESSBAR_H
23 #define QUICKACCESSBAR_H
27 #include <tulip/CaptionItem.h>
28 #include <tulip/tulipconf.h>
38 class GlGraphRenderingParameters;
39 class GlGraphInputData;
41 class TulipItemDelegate;
44 class PropertyInterface;
46 class TLP_QT_SCOPE QuickAccessBar :
public QWidget {
49 Ui::QuickAccessBar* _ui;
50 QGraphicsItem *_quickAccessBarItem;
51 GlMainView* _mainView;
52 TulipItemDelegate* delegate;
54 GlGraphInputData* inputData()
const;
55 GlGraphRenderingParameters* renderingParameters()
const;
56 GlScene* scene()
const;
59 bool _captionsInitialized;
60 CaptionItem *_captions[4];
61 void updateFontButtonStyle();
62 void showHideCaption(CaptionItem::CaptionType captionType);
63 void setAllValues(
unsigned int eltType, PropertyInterface* prop);
64 void setAllColorValues(
unsigned int eltType, ColorProperty* prop,
68 explicit QuickAccessBar(QGraphicsItem *quickAccessBarItem,QWidget *parent = 0);
69 virtual ~QuickAccessBar();
75 void setBackgroundColor(
const QColor&);
76 void setColorInterpolation(
bool);
77 void setLabelColor(
const QColor&);
78 void setNodeColor(
const QColor&);
79 void setNodeBorderColor(
const QColor&);
80 void setEdgeColor(
const QColor&);
81 void setEdgeBorderColor(
const QColor&);
86 void setSizeInterpolation(
bool);
87 void showHideNodesColorCaption();
88 void showHideNodesSizeCaption();
89 void showHideEdgesColorCaption();
90 void showHideEdgesSizeCaption();
92 void setEdgesVisible(
bool);
93 void setLabelsVisible(
bool);
94 void setLabelsScaled(
bool);
96 void setNodeLabelPosition();
99 void settingsChanged();
103 #endif // QUICKACCESSBAR_H
An abstract view that displays a GlMainWidget as its central widget.