update screenshots
2
PKGBUILD
@ -16,7 +16,7 @@ optdepends=('kdebase-runtime: sudo support'
|
||||
'wpa_supplicant: wifi support')
|
||||
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
|
||||
install="${pkgbase}.install"
|
||||
md5sums=('5b3105a64bc162d30a41a2b3bcb06f0a')
|
||||
md5sums=('bb1cc09e7ea781563219cbfd42e97931')
|
||||
|
||||
prepare() {
|
||||
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]";
|
||||
|
||||
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->actionNetctlAuto, SIGNAL(triggered(bool)), netctlAutoWin, SLOT(showWindow()));
|
||||
ui->actionNetctlAuto->setVisible(checkExternalApps(QString("all")));
|
||||
@ -240,7 +239,7 @@ void MainWindow::createActions()
|
||||
connect(ui->actionQuit, SIGNAL(triggered(bool)), this, SLOT(close()));
|
||||
|
||||
// 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->actionMainEnable, SIGNAL(triggered(bool)), this, SLOT(mainTabEnableProfile()));
|
||||
connect(ui->actionMainRefresh, SIGNAL(triggered(bool)), this, SLOT(updateMainTab()));
|
||||
@ -362,15 +361,15 @@ void MainWindow::updateTabs(const int tab)
|
||||
updateProfileTab();
|
||||
else if (tab == 2)
|
||||
updateWifiTab();
|
||||
updateMenu(tab);
|
||||
updateMenu();
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::updateMenu(const int tab)
|
||||
void MainWindow::updateMenu()
|
||||
{
|
||||
if (debug) qDebug() << "[MainWindow]" << "[updateMenu]";
|
||||
if (debug) qDebug() << "[MainWindow]" << "[updateMenu]" << ":" << "Update tab" << tab;
|
||||
|
||||
int tab = ui->tabWidget->currentIndex();
|
||||
setMenuActionsShown(false);
|
||||
|
||||
if (tab == 0)
|
||||
|
@ -68,7 +68,7 @@ public:
|
||||
|
||||
public slots:
|
||||
void updateTabs(const int tab);
|
||||
void updateMenu(const int tab);
|
||||
void updateMenu();
|
||||
// wifi tab slots
|
||||
void connectToUnknownEssid(const QString passwd);
|
||||
void setHiddenName(const QString name);
|
||||
|
@ -493,7 +493,7 @@ void Netctl::disconnectFromEngine()
|
||||
// configuration interface
|
||||
void Netctl::selectActiveIcon()
|
||||
{
|
||||
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/bin"), "*");
|
||||
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/share/icons"), "*");
|
||||
if (!url.isEmpty())
|
||||
uiAppConfig.lineEdit_activeIcon->setText(url.path());
|
||||
}
|
||||
@ -509,7 +509,7 @@ void Netctl::selectGuiExe()
|
||||
|
||||
void Netctl::selectInactiveIcon()
|
||||
{
|
||||
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/bin"), "*");
|
||||
KUrl url = KFileDialog::getOpenUrl(KUrl("/usr/share/icons"), "*");
|
||||
if (!url.isEmpty())
|
||||
uiAppConfig.lineEdit_inactiveIcon->setText(url.path());
|
||||
}
|
||||
@ -557,7 +557,7 @@ void Netctl::selectDataEngineExternalIpExe()
|
||||
|
||||
void Netctl::selectDataEngineInterfacesDirectory()
|
||||
{
|
||||
KUrl url = KFileDialog::getExistingDirectoryUrl(KUrl("/"));
|
||||
KUrl url = KFileDialog::getExistingDirectoryUrl(KUrl("/sys"));
|
||||
if (!url.isEmpty())
|
||||
uiDEConfig.lineEdit_interface->setText(url.path());
|
||||
}
|
||||
|