Questions tagged [toolbar]
a toolbar is a GUI widget on which on-screen buttons, icons, menus, or other input or output elements are placed.
140
questions
14
votes
2
answers
4k
views
Adding toolbar via PyQGIS?
Through tutorials I learned how to add a toolbutton to the plugins-toolbar via python. Now I wonder how to add a complete toolbar with toolbarbuttons via python.
Can anybody give some example-code?
12
votes
1
answer
222
views
QGIS plugin creating the Duplicates tool bars why?
I created a custom tool bar with QGIS plugin but when reload the plugin its creating another duplicate toolbar.
My code:
class TestToolbar:
"""QGIS Plugin Implementation.""...
11
votes
5
answers
10k
views
Activating custom ITool from form without adding it to ArcMap AddIn toolbar?
I'm working on an add-in for ArcMap 10.0 that adds a toolbar to ArcMap. One command (OpenModelessDialogCommand) button on that toolbar opens a modeless WinForms dialog, from which a tool (MyTool) can ...
10
votes
4
answers
15k
views
Getting back to side bar after detaching layer panel in QGIS
I accidentally clicked on the detach icon on the layer side panel of QGIS and now it floats and I cannot get it back to the side bar where I want it.
9
votes
5
answers
26k
views
How can I remove default zoom in/out [+/-] buttons from openlayers to keep the navigation bar on?
I want to remove the default zoom +/- buttons from openlayers.
Here is my code
<script type="text/javascript">
var map, ia_wms;
function init(){
map = new OpenLayers.Map('map', {...
9
votes
1
answer
906
views
Adding custom toolbar icons in PyQGIS
I am following a tutorial at https://courses.spatialthoughts.com/pyqgis-in-a-day.html
that gives some instructions on how to set up a new toolbar item with a custom icon in a QGIS map using PyQGIS in ...
8
votes
4
answers
5k
views
Ways to change ArcMap 10 editing tool back to ArcMap 9.3 version
I'm trying to get used to using ArcGIS 10, but in the meantime I still need to actually get work done. I stumbled across a way to change the editor tool from its 10 version back to the 9.3 version (...
8
votes
1
answer
256
views
Hiding icon(s) from QGIS toolbar(s)
Is it possible to hide some icons from QGIS toolbar(s) which are not used often?
I tried with Settings > Interface Customization but I didn't find an option for removing a single icon, however here ...
8
votes
1
answer
3k
views
QGIS Vector Toolbar Has No Tools
I am trying to use the Table Manager to rename a field in an attribute table. However, the Vector Toolbar in my install of QGIS 2.14.0-Essen 64-bit Windows shows a toolbar with no tools in it. The ...
7
votes
5
answers
17k
views
Edit Toolbar Became Disabled While Editing in QGIS
My edit toolbar became disabled while I was editing a layer in QGIS. I have closed the window and opened it again to edit, but it is still disabled.
6
votes
1
answer
684
views
QGIS plugin builder puts icon in different toolbars depending on plugin template selected
When building a plugin using the QGIS Plugin Builder plugin, if I select 'Tool button with dialog' as the template, then my plugin button will be placed in the Plugins toolbar in QGIS.
If I build the ...
6
votes
1
answer
2k
views
How to group my plugins in QGIS menu and toolbar?
I work on and test more QGIS plugins which falls into the same category (lets call it MyProcessing). Though they fall into the same category I want to keep them as separate plugins. I would like to ...
6
votes
1
answer
2k
views
Changing the icon picture on a custom toolbar button
I've made a few customised plugins using Plugin Builder and QT. They're all up and running, but I'm having some trouble changing the icon picture on the buttons that I've added to the toolbars to run ...
6
votes
1
answer
2k
views
How to always enable an ArcGIS toolbar?
On ArcMap 9.3.1, is there a way to ensure that a toolbar is always enabled? In my case, I want the Standard toolbar (the one with new/open/save/print icons) to always be visible. I'd like the ...
6
votes
1
answer
697
views
Spatial Query works while stepping through debugger but not otherwise
ORIGINAL POST:
I'm not actually sure whether this is a VB.net problem or an ESRI problem...but given the number of really odd ESRI quirks I've encountered, my money's on the latter...
I have a piece ...
5
votes
3
answers
4k
views
Missing selection and navigation tools (icons) in QGIS
I lost selection and navigation tools from the QGIS 1.8 toolbar when I tried drag then to different place.
I can't get them back anymore. Where they disappear? All these tools are checked but are ...
5
votes
1
answer
2k
views
Making QGIS buttons and my Plugin button mutually exclusive
I've added a toolbar to the QGIS main window and I've added some checkable buttons to the toolbar.
How can I make my checkable buttons untoggle QGIS default toolbars' checkable buttons? That is, ...
5
votes
1
answer
662
views
Move plugin icon in QGIS version 2.19.0
Once a new QGIS plugin is selected and loaded from the "manage and install plugins" toolbar selection, the plugin automatically appears somewhere on QGIS' toolbar panels.
Often, the new plugin icon ...
5
votes
1
answer
1k
views
How to change OpenStreetMap Layer Properties in QGIS 2.0
I have loaded the OpenStreetMap layer in QGIS 2.0, but would like to edit the properties in order to better complement the map I'm producing. I can't seem to find the OSM toolbar or OSM Feature widget ...
4
votes
2
answers
526
views
Snapping window floating in QGIS 3.4.1?
I tried to dock the snapping panel by double-clicking on top of the panel but it's still not docking with the main QGIS window.
4
votes
2
answers
4k
views
QComboBox nested within a Qmenu?
Is it possible to nest a QComboBox inside of a Qmenu within QGIS?
Below is my current code and an associated screenshot with the unexpected results.
(orange = current incorrect placement, green = ...
4
votes
1
answer
162
views
QGIS Processing modeler not showing toolbar
I've just installed QGIS recently (3.10.10 with GRASS 7.8.3) on a new computer. Previously, I used the same version and there's a toolbar in the Processing Modeler (to save and run model). But now, I ...
4
votes
1
answer
2k
views
QGIS: add a widget to a toolbar other than the Plugins toolbar
I have a QToolButton that I want to add to an existing toolbar. Using the Python Console in QGIS 2.14.12 to debug, here's the code fragment that I'm having a problems with:
iface.toolButton=...
4
votes
4
answers
1k
views
Where to get QGIS toolbar icons?
Does anybody know where to download the QGIS toolbar icons?
4
votes
1
answer
442
views
ArcMap add in constructor called not called on start up
I am converting some old tools to the new Add-In format and have noticed that the constructor is no longer being called during startup, instead it is being called when the tool is clicked for the ...
4
votes
1
answer
2k
views
Creating ArcGIS toolbar with new tools using Python?
I have written a number of fairly-simple python functions using arcpy which help a user significantly when performing a certain workflow using various tools (both ArcGIS toolbox tools and external ...
4
votes
3
answers
6k
views
Cannot use Advanced Digitizing Toolbar (greyed out)
I am new to QGIS. I have one picture with the attribute table I created and the greyed out toolbar. Yes, I have it in "Toggle editing" but doesn't seem to make a difference....even after I close out ...
4
votes
1
answer
1k
views
Name of children of toolbar in QGIS python and how to disable?
There are name of toolbar you can see in :
Finding name of QGIS toolbar in Python?
But, I want to know the name of children of toolbar. For example, the children of mapNavToolBar are touch zoom and ...
4
votes
1
answer
1k
views
Creating ArcMap toolbar button from model tool?
Using Arc 10.3.1 ModelBuilder, I've just successfully created my first tool, which is stored in a toolbox within "My Toolboxes". I run the tool by opening the Arc Toolbox button, dropping down to the ...
4
votes
2
answers
737
views
Making QGIS toolbox tool available directly from toolbar?
At QGIS 2.18.16, I commonly use a tool that is only available (AFAIK) through the Toolbox (Processing > Toolbox > QGIS Geoalgorithms > Vector table tools > Frequency analysis).
I would like to ...
4
votes
1
answer
2k
views
Why is Python AddIn toolbar showing all "Missing" tools/buttons?
I am horribly new to coding with python. I made a toolbar using the wizard and old bits of VBA code. I created a button to search by map number, a tool to calculate area from UI and a second tool ...
4
votes
1
answer
2k
views
ArcMap changing toolbars position?
I have a set of Arcmap map templates, the toolbars within them at one time where fixed in position. Now for whatever reason, every time I or another open the template the ordering of the toolbars has ...
4
votes
0
answers
236
views
Restoring Measure tool window in QGIS?
My measure dialogue box seems to have taken leave of my QGIS. I've reviewed the previous answers about resetting the interface, checking for the dialogue box outside of view, all kinds of things.
The ...
3
votes
3
answers
476
views
Manipulating value with toolbar
In my project, I use 3 layers with a line geometry.
Every line in the layer is a contour with the same depth "valdco".
For operational ease, I color these lines blue, red en orange (as seen in the ...
3
votes
2
answers
271
views
Using "Toggle Editing" button from PyQGIS
I am building a plugin in Qgis 3.24
Now, I want to access the "Toggle Editing" button from the Vector ToolBar using Python.
Is it possible?
Edit - I want to access rotate feature, Scale ...
3
votes
2
answers
980
views
How can I move the toolbar if its holder is out of screen?
While I was editing the toolbar, the holder stayed out of the screen. so I can't move it. How can I fix it?
3
votes
2
answers
836
views
Enable Add-In Button if One Feature is Selected from Specific Layer
I am trying to enable an add-in button on my toolbar if only one feature is selected from a specifc Layer. For example, when ArMap loads, the button should be disabled. If the user selects one feature ...
3
votes
1
answer
750
views
Purpose of "No action selected" toolbar button?
At 3.8.3, there is a button on the "Attributes Toolbar" that is always greyed out. When I hover the cursor over it, the response is "No action selected":
The QGIS documentation makes no mention of ...
3
votes
2
answers
951
views
Finding the Python script used by a custom toolbar button in ArcMap
I've been asked by somebody at work to design a toolbar add-in that works just the same as an existing one, but with a different set of data. However, the person who wrote the original add-in for him ...
3
votes
2
answers
928
views
Configuring QGIS to show only toolbars wanted?
I friend of mine asked me a question the other day that I didn't knew the answer to. In his organization, they are using QGIS for non GIS-experienced people. He would like to configure QGIS to only ...
3
votes
1
answer
221
views
Accessing custom Toolbar using PyQGIS
I created a toolbar in a plugin with:
toolbar = iface.addToolBar("new Toolbar")
I know I can toggle visibility of this toolbar with:
toolbar.setVisible(False)
and
toolbar.setVisible(True)
...
3
votes
1
answer
195
views
How to Enable/Disable Topological Editing Programatically
Is there a way to enable or disable topological editing with python in QGIS?
I'm trying to set a bunch of rules, one of them being the editing, when starting up a project, but I can't seem to find how ...
3
votes
1
answer
2k
views
Finding name of QGIS toolbar in Python?
I want to run python script. I don't know the name of toolbar in python script language : menu toolbar, browser panel toolbar, and label toolbar.
The screenshots of the toolbars for which I don't know ...
3
votes
1
answer
982
views
Starting ArcMap editing session without displaying Editor toolbar?
I'm developing a toolbar with some geoprocessing routines and digitizing functionality. On this toolbar I have implemented a "start edit" button.
I want to start an edit session by clicking that ...
3
votes
1
answer
515
views
Digitizing toolbar is gone in QGIS
For some reason the digitizing toolbar is gone in QGIS even though I checked the box:
Do you have experience with this and know how to get the toolbar back?
EDIT:
When making it as small as possible ...
3
votes
1
answer
2k
views
Drawing text, callouts, rectangles, etc in QGIS
In ArcGIS Desktop, you have a specific toolbar for adding text/ drawing rectangles, circles, ... / adding callouts (see screenshot), which I use very regularly.
However, I am switching to QGIS 3.4, ...
3
votes
2
answers
835
views
Attaching toolbar in QGIS?
I have a similar problem to Getting back to side bar after detaching layer panel in QGIS?, but with toolbars.
So I accidentally detached digitizing toolbar (and other toolbar as well), and cannot put ...
3
votes
2
answers
1k
views
No plugin icon in the toolbox in QGis 2.4
When i'm loading my plugin into QGis 2.4 the icon doesn't appear in the toolbar. There is only an empty button. I have the icon.png in all the necessary files:
resources.py:
<RCC>
<...
3
votes
0
answers
51
views
Why Attributes Toolbar is not coming back?
For some reason I lost my attributes toolbar in QGIS (on 3.10, 3.16 and 3.20, all lost). I've tried to untick/tick the attributes toolbar, have closed/opened QGIS, and restarted my PC, but it's just ...
3
votes
0
answers
134
views
BMP Siting Tool gives error at validateDatasets_ST: Error HRESULT E_FAIL returned from call to COM component? [closed]
I'm trying to use a toolbar that was developed by the EPA that is BMP Siting Tool. I also have done what was ordered in BMP Siting Tool User Guide, but still failed until now.
When I run BMP Siting ...