# LayerWheel

![QGIS](https://img.shields.io/badge/QGIS-4.x-589632?style=flat-square)
![Python](https://img.shields.io/badge/Python-3.12-blue?style=flat-square)
![License](https://img.shields.io/badge/License-MIT-green?style=flat-square)

LayerWheel is a productivity plugin for QGIS that allows you to execute actions on layers using the **middle mouse button**.

Instead of opening context menus repeatedly, simply click the mouse wheel over a layer to perform the configured action.

---

# Features

- Middle Mouse Click actions
- Ctrl + Middle Click actions
- Shift + Middle Click actions
- Individual configuration for:
  - Vector layers
  - Raster layers
  - Other layer types
  - Layer groups
- Optional support for hidden layers
- Optional confirmation before deleting layers
- Automatic language detection
- Lightweight and fast

---

# Available Actions

Current actions include:

- Zoom to Layer
- Open Attribute Table
- Open Layer Properties
- Toggle Visibility
- Rename Layer
- Delete Layer

More actions are planned for future releases:

- Duplicate Layer
- Export Layer
- Save Layer As...
- Reload Layer
- Copy Source Path
- Open Source Folder
- Copy Style
- Paste Style
- Show Only This Layer

---

# Installation

## From the QGIS Plugin Manager

Open:

Plugins → Manage and Install Plugins...

Search for:

LayerWheel

Click **Install**.

---

## Manual Installation

Download the latest release.

Copy the **LayerWheel** folder to:

Windows

```
%AppData%\QGIS\QGIS4\profiles\default\python\plugins
```

Restart QGIS.

---

# Configuration

Open:

Plugins → LayerWheel

Choose the desired action for:

- Middle Click
- Ctrl + Middle Click
- Shift + Middle Click

Select which layer types are affected and save.

---

# Supported Languages

LayerWheel automatically uses the language selected in QGIS.

Currently available:

- English
- Español
- Français
- Deutsch
- Português
- Italiano
- Русский
- 中文
- 日本語
- 한국어

---

# Compatibility

Developed and tested with:

- QGIS 4.x
- Python 3.12
- Windows 11

---

# License

MIT License

Copyright (c) 2026

Edison Ortiz Bedoya

---

# Author

Edison Ortiz Bedoya

Developed for the QGIS community.