texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Wed, 30 Nov 2022 13:36:25 -0500 (EST)

branch: old/qt-info
commit 3351a18ed760bdecebef39b1f1c35ae67b2356ad
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Apr 7 15:07:35 2019 +0100

    add load button
---
 js/docbrowser/mainwindow.cpp |  6 ++++++
 js/docbrowser/mainwindow.h   |  2 ++
 js/docbrowser/mainwindow.ui  | 23 ++++++++++++++++++++---
 3 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/js/docbrowser/mainwindow.cpp b/js/docbrowser/mainwindow.cpp
index c939e742ff..a01cc5b074 100644
--- a/js/docbrowser/mainwindow.cpp
+++ b/js/docbrowser/mainwindow.cpp
@@ -103,3 +103,9 @@ void MainWindow::on_quitButton_clicked()
 {
     QCoreApplication::quit();
 }
+
+
+void MainWindow::on_loadButton_clicked()
+{
+    qDebug() << "load clicked";
+}
diff --git a/js/docbrowser/mainwindow.h b/js/docbrowser/mainwindow.h
index f85119b330..e213da1c6d 100644
--- a/js/docbrowser/mainwindow.h
+++ b/js/docbrowser/mainwindow.h
@@ -22,6 +22,8 @@ public:
 
 private slots:
     void on_quitButton_clicked();
+    void on_loadButton_clicked();
+
 
 private:
     Ui::MainWindow *ui;
diff --git a/js/docbrowser/mainwindow.ui b/js/docbrowser/mainwindow.ui
index 16f9820abf..1a329f29fe 100644
--- a/js/docbrowser/mainwindow.ui
+++ b/js/docbrowser/mainwindow.ui
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>491</width>
-    <height>353</height>
+    <width>735</width>
+    <height>507</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -24,6 +24,23 @@
       </property>
      </widget>
     </item>
+    <item>
+     <layout class="QHBoxLayout" name="horizontalLayout">
+      <property name="sizeConstraint">
+       <enum>QLayout::SetMinimumSize</enum>
+      </property>
+      <item>
+       <widget class="QPushButton" name="loadButton">
+        <property name="text">
+         <string>Load Manual</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QLineEdit" name="manualEdit"/>
+      </item>
+     </layout>
+    </item>
     <item>
      <widget class="QPushButton" name="quitButton">
       <property name="text">
@@ -38,7 +55,7 @@
     <rect>
      <x>0</x>
      <y>0</y>
-     <width>491</width>
+     <width>735</width>
      <height>19</height>
     </rect>
    </property>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]