update screenshots
2
PKGBUILD
@ -16,7 +16,7 @@ optdepends=('kdebase-runtime: sudo support'
|
|||||||
'wpa_supplicant: wifi support')
|
'wpa_supplicant: wifi support')
|
||||||
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
|
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
|
||||||
install="${pkgbase}.install"
|
install="${pkgbase}.install"
|
||||||
md5sums=('5b3105a64bc162d30a41a2b3bcb06f0a')
|
md5sums=('bb1cc09e7ea781563219cbfd42e97931')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
rm -rf "${srcdir}/"{build-plasmoid,build-qt4,build-qt5}
|
rm -rf "${srcdir}/"{build-plasmoid,build-qt4,build-qt5}
|
||||||
|
Before Width: | Height: | Size: 51 KiB |
BIN
screenshots/de-main.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
screenshots/gui-about.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
screenshots/gui-main_tab.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
screenshots/gui-netctl-auto.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
screenshots/gui-profile_tab.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
screenshots/gui-settings.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
screenshots/gui-wifi_tab.png
Normal file
After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 45 KiB |
BIN
screenshots/plasmoid-config_1.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
screenshots/plasmoid-config_2.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
screenshots/plasmoid-config_3.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
screenshots/plasmoid-main.png
Normal file
After Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 47 KiB |
@ -232,7 +232,6 @@ void MainWindow::createActions()
|
|||||||
if (debug) qDebug() << "[MainWindow]" << "[createActions]";
|
if (debug) qDebug() << "[MainWindow]" << "[createActions]";
|
||||||
|
|
||||||
connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateTabs(int)));
|
connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateTabs(int)));
|
||||||
connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(updateMenu(int)));
|
|
||||||
connect(ui->actionAbout, SIGNAL(triggered(bool)), aboutWin, SLOT(show()));
|
connect(ui->actionAbout, SIGNAL(triggered(bool)), aboutWin, SLOT(show()));
|
||||||
connect(ui->actionNetctlAuto, SIGNAL(triggered(bool)), netctlAutoWin, SLOT(showWindow()));
|
connect(ui->actionNetctlAuto, SIGNAL(triggered(bool)), netctlAutoWin, SLOT(showWindow()));
|
||||||
ui->actionNetctlAuto->setVisible(checkExternalApps(QString("all")));
|
ui->actionNetctlAuto->setVisible(checkExternalApps(QString("all")));
|
||||||
@ -240,7 +239,7 @@ void MainWindow::createActions()
|
|||||||
connect(ui->actionQuit, SIGNAL(triggered(bool)), this, SLOT(close()));
|
connect(ui->actionQuit, SIGNAL(triggered(bool)), this, SLOT(close()));
|
||||||
|
|
||||||
// actions menu
|
// actions menu
|
||||||
//connect(ui->menuActions, SIGNAL(aboutToShow()), this, SLOT(updateMenu()));
|
connect(ui->menuActions, SIGNAL(aboutToShow()), this, SLOT(updateMenu()));
|
||||||
connect(ui->actionMainEdit, SIGNAL(triggered(bool)), this, SLOT(mainTabEditProfile()));
|
connect(ui->actionMainEdit, SIGNAL(triggered(bool)), this, SLOT(mainTabEditProfile()));
|
||||||
connect(ui->actionMainEnable, SIGNAL(triggered(bool)), this, SLOT(mainTabEnableProfile()));
|
connect(ui->actionMainEnable, SIGNAL(triggered(bool)), this, SLOT(mainTabEnableProfile()));
|
||||||
connect(ui->actionMainRefresh, SIGNAL(triggered(bool)), this, SLOT(updateMainTab()));
|
connect(ui->actionMainRefresh, SIGNAL(triggered(bool)), this, SLOT(updateMainTab()));
|
||||||
@ -362,15 +361,15 @@ void MainWindow::updateTabs(const int tab)
|
|||||||
updateProfileTab();
|
updateProfileTab();
|
||||||
else if (tab == 2)
|
else if (tab == 2)
|
||||||
updateWifiTab();
|
updateWifiTab();
|
||||||
updateMenu(tab);
|
updateMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void MainWindow::updateMenu(const int tab)
|
void MainWindow::updateMenu()
|
||||||
{
|
{
|
||||||
if (debug) qDebug() << "[MainWindow]" << "[updateMenu]";
|
if (debug) qDebug() << "[MainWindow]" << "[updateMenu]";
|
||||||
if (debug) qDebug() << "[MainWindow]" << "[updateMenu]" << ":" << "Update tab" << tab;
|
|
||||||
|
|
||||||
|
int tab = ui->tabWidget->currentIndex();
|
||||||
setMenuActionsShown(false);
|
setMenuActionsShown(false);
|
||||||
|
|
||||||
if (tab == 0)
|
if (tab == 0)
|
||||||
|
@ -68,7 +68,7 @@ public:
|
|||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void updateTabs(const int tab);
|
void updateTabs(const int tab);
|
||||||
void updateMenu(const int tab);
|
void updateMenu();
|
||||||
// wifi tab slots
|
// wifi tab slots
|
||||||
void connectToUnknownEssid(const QString passwd);
|
void connectToUnknownEssid(const QString passwd);
|
||||||
void setHiddenName(const QString name);
|
void setHiddenName(const QString name);
|
||||||
|
@ -493,7 +493,7 @@ void Netctl::disconnectFromEngine()
|
|||||||
// configuration interface
|
// configuration interface
|
||||||
void Netctl::selectActiveIcon()
|
void Netctl::selectActiveIcon()
|
||||||
{
|
{
|
||||||
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/bin"), "*");
|
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/share/icons"), "*");
|
||||||
if (!url.isEmpty())
|
if (!url.isEmpty())
|
||||||
uiAppConfig.lineEdit_activeIcon->setText(url.path());
|
uiAppConfig.lineEdit_activeIcon->setText(url.path());
|
||||||
}
|
}
|
||||||
@ -509,7 +509,7 @@ void Netctl::selectGuiExe()
|
|||||||
|
|
||||||
void Netctl::selectInactiveIcon()
|
void Netctl::selectInactiveIcon()
|
||||||
{
|
{
|
||||||
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/bin"), "*");
|
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/share/icons"), "*");
|
||||||
if (!url.isEmpty())
|
if (!url.isEmpty())
|
||||||
uiAppConfig.lineEdit_inactiveIcon->setText(url.path());
|
uiAppConfig.lineEdit_inactiveIcon->setText(url.path());
|
||||||
}
|
}
|
||||||
@ -557,7 +557,7 @@ void Netctl::selectDataEngineExternalIpExe()
|
|||||||
|
|
||||||
void Netctl::selectDataEngineInterfacesDirectory()
|
void Netctl::selectDataEngineInterfacesDirectory()
|
||||||
{
|
{
|
||||||
KUrl url = KFileDialog::getExistingDirectoryUrl(KUrl("/"));
|
KUrl url = KFileDialog::getExistingDirectoryUrl(KUrl("/sys"));
|
||||||
if (!url.isEmpty())
|
if (!url.isEmpty())
|
||||||
uiDEConfig.lineEdit_interface->setText(url.path());
|
uiDEConfig.lineEdit_interface->setText(url.path());
|
||||||
}
|
}
|
||||||
|