Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
selection-describer.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-2.0-or-later
2
/*
3
* Inkscape::SelectionDescriber - shows messages describing selection
4
*
5
* Authors:
6
* MenTaLguY <mental@rydia.net>
7
*
8
* Copyright (C) 2004 MenTaLguY
9
*
10
* Released under GNU GPL v2+, read the file 'COPYING' for more information.
11
*/
12
13
#ifndef INKSCAPE_SELECTION_DESCRIBER_H
14
#define INKSCAPE_SELECTION_DESCRIBER_H
15
16
#include <sigc++/scoped_connection.h>
17
#include "
message-context.h
"
18
19
namespace
Inkscape
{
20
21
class
MessageStack;
22
class
Selection;
23
24
class
SelectionDescriber
:
public
sigc::trackable
25
{
26
public
:
27
SelectionDescriber
(
Inkscape::Selection
*selection,
MessageStack
&
stack
,
char
*when_selected,
char
*when_nothing);
28
~SelectionDescriber
();
29
30
void
updateMessage
(
Inkscape::Selection
*selection);
31
32
private
:
33
sigc::scoped_connection
_selection_changed_connection
;
34
35
MessageContext
_context
;
36
37
char
*
_when_selected
;
38
char
*
_when_nothing
;
39
};
40
41
}
// namespace Inkscape
42
43
#endif
// INKSCAPE_SELECTION_DESCRIBER_H
44
45
/*
46
Local Variables:
47
mode:c++
48
c-file-style:"stroustrup"
49
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
50
indent-tabs-mode:nil
51
fill-column:99
52
End:
53
*/
54
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
Inkscape::MessageContext
A convenience class for working with MessageStacks.
Definition
message-context.h:38
Inkscape::MessageStack
A class which holds a stack of displayed messages.
Definition
message-stack.h:49
Inkscape::SelectionDescriber
Definition
selection-describer.h:25
Inkscape::SelectionDescriber::~SelectionDescriber
~SelectionDescriber()
Inkscape::SelectionDescriber::_when_nothing
char * _when_nothing
Definition
selection-describer.h:38
Inkscape::SelectionDescriber::updateMessage
void updateMessage(Inkscape::Selection *selection)
Definition
selection-describer.cpp:100
Inkscape::SelectionDescriber::_when_selected
char * _when_selected
Definition
selection-describer.h:37
Inkscape::SelectionDescriber::_selection_changed_connection
sigc::scoped_connection _selection_changed_connection
Definition
selection-describer.h:33
Inkscape::SelectionDescriber::_context
MessageContext _context
Definition
selection-describer.h:35
Inkscape::Selection
The set of selected SPObjects for a given document and layer model.
Definition
selection.h:80
message-context.h
Interface for locally managing a current status message.
Inkscape
Helper class to stream background task notifications as a series of messages.
Definition
actions-canvas-snapping.h:27
stack
Gtk::Stack & stack
Definition
tracedialog.cpp:116
src
selection-describer.h
Generated on Sun Jul 13 2025 04:02:18 for Inkscape by
1.9.8