Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2544a2a8
Kaydet (Commit)
2544a2a8
authored
Ara 24, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert organize macros dialog to .ui
Change-Id: I210ab0bb294ddfefc3f60cffe64b72e5d8fa4650
üst
692c724f
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
160 additions
and
115 deletions
+160
-115
UIConfig_basicide.mk
basctl/UIConfig_basicide.mk
+1
-0
basidesh.hrc
basctl/inc/basidesh.hrc
+0
-1
helpid.hrc
basctl/inc/helpid.hrc
+0
-1
moduldl2.cxx
basctl/source/basicide/moduldl2.cxx
+0
-10
moduldlg.cxx
basctl/source/basicide/moduldlg.cxx
+38
-41
moduldlg.hrc
basctl/source/basicide/moduldlg.hrc
+1
-5
moduldlg.hxx
basctl/source/basicide/moduldlg.hxx
+1
-3
moduldlg.src
basctl/source/basicide/moduldlg.src
+2
-54
organizedialog.ui
basctl/uiconfig/basicide/ui/organizedialog.ui
+117
-0
No files found.
basctl/UIConfig_basicide.mk
Dosyayı görüntüle @
2544a2a8
...
@@ -30,6 +30,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/BasicIDE,\
...
@@ -30,6 +30,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/BasicIDE,\
$(eval $(call gb_UIConfig_add_uifiles,modules/BasicIDE,\
$(eval $(call gb_UIConfig_add_uifiles,modules/BasicIDE,\
basctl/uiconfig/basicide/ui/basicmacrodialog \
basctl/uiconfig/basicide/ui/basicmacrodialog \
basctl/uiconfig/basicide/ui/organizedialog \
))
))
# vim: set noet sw=4 ts=4:
# vim: set noet sw=4 ts=4:
basctl/inc/basidesh.hrc
Dosyayı görüntüle @
2544a2a8
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
#define RID_POPUP_BRKDLG ( RID_BASICIDE_START + 10 )
#define RID_POPUP_BRKDLG ( RID_BASICIDE_START + 10 )
#define RID_POPUP_BRKPROPS ( RID_BASICIDE_START + 11 )
#define RID_POPUP_BRKPROPS ( RID_BASICIDE_START + 11 )
#define RID_POPUP_TABBAR ( RID_BASICIDE_START + 12 )
#define RID_POPUP_TABBAR ( RID_BASICIDE_START + 12 )
#define RID_TD_ORGANIZE ( RID_BASICIDE_START + 36 )
#define RID_TP_MODULS ( RID_BASICIDE_START + 37 )
#define RID_TP_MODULS ( RID_BASICIDE_START + 37 )
#define RID_TP_LIBS ( RID_BASICIDE_START + 38 )
#define RID_TP_LIBS ( RID_BASICIDE_START + 38 )
#define RID_TP_DLGS ( RID_BASICIDE_START + 39 )
#define RID_TP_DLGS ( RID_BASICIDE_START + 39 )
...
...
basctl/inc/helpid.hrc
Dosyayı görüntüle @
2544a2a8
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
#define HID_BASICIDE_OBJECTS "BASCTL_HID_BASICIDE_OBJECTS"
#define HID_BASICIDE_OBJECTS "BASCTL_HID_BASICIDE_OBJECTS"
#define HID_BASICIDE_MACROS "BASCTL_HID_BASICIDE_MACROS"
#define HID_BASICIDE_MACROS "BASCTL_HID_BASICIDE_MACROS"
#define HID_BASICIDE_LIBS "BASCTL_HID_BASICIDE_LIBS"
#define HID_BASICIDE_LIBS "BASCTL_HID_BASICIDE_LIBS"
#define HID_BASICIDE_ORG_TC "BASCTL_HID_BASICIDE_ORG_TC"
#define HID_BASICIDE_MODULES_TREE "BASCTL_HID_BASICIDE_MODULES_TREE"
#define HID_BASICIDE_MODULES_TREE "BASCTL_HID_BASICIDE_MODULES_TREE"
#define HID_BASICIDE_LIBS_TREE "BASCTL_HID_BASICIDE_LIBS_TREE"
#define HID_BASICIDE_LIBS_TREE "BASCTL_HID_BASICIDE_LIBS_TREE"
...
...
basctl/source/basicide/moduldl2.cxx
Dosyayı görüntüle @
2544a2a8
...
@@ -506,7 +506,6 @@ LibPage::LibPage( Window * pParent )
...
@@ -506,7 +506,6 @@ LibPage::LibPage( Window * pParent )
,
aLibText
(
this
,
IDEResId
(
RID_STR_LIB
)
)
,
aLibText
(
this
,
IDEResId
(
RID_STR_LIB
)
)
,
aLibBox
(
this
,
IDEResId
(
RID_TRLBOX
)
)
,
aLibBox
(
this
,
IDEResId
(
RID_TRLBOX
)
)
,
aEditButton
(
this
,
IDEResId
(
RID_PB_EDIT
)
)
,
aEditButton
(
this
,
IDEResId
(
RID_PB_EDIT
)
)
,
aCloseButton
(
this
,
IDEResId
(
RID_PB_CLOSE
)
)
,
aPasswordButton
(
this
,
IDEResId
(
RID_PB_PASSWORD
)
)
,
aPasswordButton
(
this
,
IDEResId
(
RID_PB_PASSWORD
)
)
,
aNewLibButton
(
this
,
IDEResId
(
RID_PB_NEWLIB
)
)
,
aNewLibButton
(
this
,
IDEResId
(
RID_PB_NEWLIB
)
)
,
aInsertLibButton
(
this
,
IDEResId
(
RID_PB_APPEND
)
)
,
aInsertLibButton
(
this
,
IDEResId
(
RID_PB_APPEND
)
)
...
@@ -524,7 +523,6 @@ LibPage::LibPage( Window * pParent )
...
@@ -524,7 +523,6 @@ LibPage::LibPage( Window * pParent )
aExportButton
.
SetClickHdl
(
LINK
(
this
,
LibPage
,
ButtonHdl
)
);
aExportButton
.
SetClickHdl
(
LINK
(
this
,
LibPage
,
ButtonHdl
)
);
aInsertLibButton
.
SetClickHdl
(
LINK
(
this
,
LibPage
,
ButtonHdl
)
);
aInsertLibButton
.
SetClickHdl
(
LINK
(
this
,
LibPage
,
ButtonHdl
)
);
aDelButton
.
SetClickHdl
(
LINK
(
this
,
LibPage
,
ButtonHdl
)
);
aDelButton
.
SetClickHdl
(
LINK
(
this
,
LibPage
,
ButtonHdl
)
);
aCloseButton
.
SetClickHdl
(
LINK
(
this
,
LibPage
,
ButtonHdl
)
);
aLibBox
.
SetSelectHdl
(
LINK
(
this
,
LibPage
,
TreeListHighlightHdl
)
);
aLibBox
.
SetSelectHdl
(
LINK
(
this
,
LibPage
,
TreeListHighlightHdl
)
);
aBasicsBox
.
SetSelectHdl
(
LINK
(
this
,
LibPage
,
BasicSelectHdl
)
);
aBasicsBox
.
SetSelectHdl
(
LINK
(
this
,
LibPage
,
BasicSelectHdl
)
);
...
@@ -532,7 +530,6 @@ LibPage::LibPage( Window * pParent )
...
@@ -532,7 +530,6 @@ LibPage::LibPage( Window * pParent )
aLibBox
.
SetMode
(
ObjectMode
::
Module
);
aLibBox
.
SetMode
(
ObjectMode
::
Module
);
aLibBox
.
EnableInplaceEditing
(
true
);
aLibBox
.
EnableInplaceEditing
(
true
);
aLibBox
.
SetStyle
(
WB_HSCROLL
|
WB_BORDER
|
WB_TABSTOP
);
aLibBox
.
SetStyle
(
WB_HSCROLL
|
WB_BORDER
|
WB_TABSTOP
);
aCloseButton
.
GrabFocus
();
long
aTabs
[]
=
{
2
,
30
,
120
};
long
aTabs
[]
=
{
2
,
30
,
120
};
aLibBox
.
SetTabs
(
aTabs
,
MAP_PIXEL
);
aLibBox
.
SetTabs
(
aTabs
,
MAP_PIXEL
);
...
@@ -581,8 +578,6 @@ void LibPage::CheckButtons()
...
@@ -581,8 +578,6 @@ void LibPage::CheckButtons()
aInsertLibButton
.
Enable
();
aInsertLibButton
.
Enable
();
aExportButton
.
Disable
();
aExportButton
.
Disable
();
aDelButton
.
Disable
();
aDelButton
.
Disable
();
if
(
!
aLibBox
.
HasFocus
()
)
aCloseButton
.
GrabFocus
();
}
}
else
if
(
(
xModLibContainer
.
is
()
&&
xModLibContainer
->
hasByName
(
aLibName
)
&&
xModLibContainer
->
isLibraryReadOnly
(
aLibName
)
)
||
else
if
(
(
xModLibContainer
.
is
()
&&
xModLibContainer
->
hasByName
(
aLibName
)
&&
xModLibContainer
->
isLibraryReadOnly
(
aLibName
)
)
||
(
xDlgLibContainer
.
is
()
&&
xDlgLibContainer
->
hasByName
(
aLibName
)
&&
xDlgLibContainer
->
isLibraryReadOnly
(
aLibName
)
)
)
(
xDlgLibContainer
.
is
()
&&
xDlgLibContainer
->
hasByName
(
aLibName
)
&&
xDlgLibContainer
->
isLibraryReadOnly
(
aLibName
)
)
)
...
@@ -676,11 +671,6 @@ IMPL_LINK( LibPage, ButtonHdl, Button *, pButton )
...
@@ -676,11 +671,6 @@ IMPL_LINK( LibPage, ButtonHdl, Button *, pButton )
Export
();
Export
();
else
if
(
pButton
==
&
aDelButton
)
else
if
(
pButton
==
&
aDelButton
)
DeleteCurrent
();
DeleteCurrent
();
else
if
(
pButton
==
&
aCloseButton
)
{
EndTabDialog
(
0
);
return
0
;
}
else
if
(
pButton
==
&
aPasswordButton
)
else
if
(
pButton
==
&
aPasswordButton
)
{
{
SvTreeListEntry
*
pCurEntry
=
aLibBox
.
GetCurEntry
();
SvTreeListEntry
*
pCurEntry
=
aLibBox
.
GetCurEntry
();
...
...
basctl/source/basicide/moduldlg.cxx
Dosyayı görüntüle @
2544a2a8
...
@@ -459,27 +459,30 @@ sal_Bool ExtTreeListBox::NotifyCopyingMoving( SvTreeListEntry* pTarget, SvTreeLi
...
@@ -459,27 +459,30 @@ sal_Bool ExtTreeListBox::NotifyCopyingMoving( SvTreeListEntry* pTarget, SvTreeLi
// ==============
// ==============
//
//
OrganizeDialog
::
OrganizeDialog
(
Window
*
pParent
,
sal_Int16
tabId
,
EntryDescriptor
&
rDesc
)
OrganizeDialog
::
OrganizeDialog
(
Window
*
pParent
,
sal_Int16
tabId
,
:
TabDialog
(
pParent
,
IDEResId
(
RID_TD_ORGANIZE
)
)
EntryDescriptor
&
rDesc
)
,
aTabCtrl
(
this
,
IDEResId
(
RID_TC_ORGANIZE
)
)
:
TabDialog
(
pParent
,
"OrganizeDialog"
,
,
m_aCurEntry
(
rDesc
)
"modules/BasicIDE/ui/organizedialog.ui"
)
,
m_aCurEntry
(
rDesc
)
{
{
FreeResource
();
get
(
m_pTabCtrl
,
"tabcontrol"
);
aTabCtrl
.
SetActivatePageHdl
(
LINK
(
this
,
OrganizeDialog
,
ActivatePageHdl
)
);
m_pTabCtrl
->
SetActivatePageHdl
(
LINK
(
this
,
OrganizeDialog
,
ActivatePageHdl
));
if
(
tabId
==
0
)
if
(
tabId
==
0
)
{
{
aTabCtrl
.
SetCurPageId
(
RID_TP_MOD
);
m_pTabCtrl
->
SetCurPageId
(
m_pTabCtrl
->
GetPageId
(
"modules"
)
);
}
}
else
if
(
tabId
==
1
)
else
if
(
tabId
==
1
)
{
{
aTabCtrl
.
SetCurPageId
(
RID_TP_DLG
);
m_pTabCtrl
->
SetCurPageId
(
m_pTabCtrl
->
GetPageId
(
"dialogs"
)
);
}
}
else
else
{
{
aTabCtrl
.
SetCurPageId
(
RID_TP_LIB
);
m_pTabCtrl
->
SetCurPageId
(
m_pTabCtrl
->
GetPageId
(
"libraries"
)
);
}
}
ActivatePageHdl
(
&
aTabCtrl
);
ActivatePageHdl
(
m_pTabCtrl
);
if
(
SfxDispatcher
*
pDispatcher
=
GetDispatcher
())
if
(
SfxDispatcher
*
pDispatcher
=
GetDispatcher
())
pDispatcher
->
Execute
(
SID_BASICIDE_STOREALLMODULESOURCES
);
pDispatcher
->
Execute
(
SID_BASICIDE_STOREALLMODULESOURCES
);
...
@@ -487,8 +490,8 @@ OrganizeDialog::OrganizeDialog( Window* pParent, sal_Int16 tabId, EntryDescripto
...
@@ -487,8 +490,8 @@ OrganizeDialog::OrganizeDialog( Window* pParent, sal_Int16 tabId, EntryDescripto
OrganizeDialog
::~
OrganizeDialog
()
OrganizeDialog
::~
OrganizeDialog
()
{
{
for
(
sal_uInt16
i
=
0
;
i
<
aTabCtrl
.
GetPageCount
();
i
++
)
for
(
sal_uInt16
i
=
0
;
i
<
m_pTabCtrl
->
GetPageCount
();
i
++
)
delete
aTabCtrl
.
GetTabPage
(
aTabCtrl
.
GetPageId
(
i
)
);
delete
m_pTabCtrl
->
GetTabPage
(
m_pTabCtrl
->
GetPageId
(
i
)
);
};
};
short
OrganizeDialog
::
Execute
()
short
OrganizeDialog
::
Execute
()
...
@@ -507,33 +510,31 @@ IMPL_LINK( OrganizeDialog, ActivatePageHdl, TabControl *, pTabCtrl )
...
@@ -507,33 +510,31 @@ IMPL_LINK( OrganizeDialog, ActivatePageHdl, TabControl *, pTabCtrl )
if
(
!
pTabCtrl
->
GetTabPage
(
nId
)
)
if
(
!
pTabCtrl
->
GetTabPage
(
nId
)
)
{
{
OString
sPageName
(
pTabCtrl
->
GetPageName
(
nId
));
TabPage
*
pNewTabPage
=
0
;
TabPage
*
pNewTabPage
=
0
;
switch
(
nId
)
if
(
sPageName
==
"modules"
)
{
{
case
RID_TP_MOD
:
ObjectPage
*
pObjectPage
=
new
ObjectPage
(
pTabCtrl
,
IDEResId
(
RID_TP_MODULS
),
BROWSEMODE_MODULES
);
{
pNewTabPage
=
pObjectPage
;
ObjectPage
*
pObjectPage
=
new
ObjectPage
(
pTabCtrl
,
IDEResId
(
RID_TP_MODULS
),
BROWSEMODE_MODULES
);
pObjectPage
->
SetTabDlg
(
this
);
pNewTabPage
=
pObjectPage
;
pObjectPage
->
SetCurrentEntry
(
m_aCurEntry
);
pObjectPage
->
SetTabDlg
(
this
);
}
pObjectPage
->
SetCurrentEntry
(
m_aCurEntry
);
else
if
(
sPageName
==
"dialogs"
)
}
{
break
;
ObjectPage
*
pObjectPage
=
new
ObjectPage
(
pTabCtrl
,
IDEResId
(
RID_TP_DLGS
),
BROWSEMODE_DIALOGS
);
case
RID_TP_DLG
:
pNewTabPage
=
pObjectPage
;
{
pObjectPage
->
SetTabDlg
(
this
);
ObjectPage
*
pObjectPage
=
new
ObjectPage
(
pTabCtrl
,
IDEResId
(
RID_TP_DLGS
),
BROWSEMODE_DIALOGS
);
pObjectPage
->
SetCurrentEntry
(
m_aCurEntry
);
pNewTabPage
=
pObjectPage
;
}
pObjectPage
->
SetTabDlg
(
this
);
else
if
(
sPageName
==
"libraries"
)
pObjectPage
->
SetCurrentEntry
(
m_aCurEntry
);
{
}
LibPage
*
pLibPage
=
new
LibPage
(
pTabCtrl
);
break
;
pNewTabPage
=
pLibPage
;
case
RID_TP_LIB
:
pLibPage
->
SetTabDlg
(
this
);
{
}
LibPage
*
pLibPage
=
new
LibPage
(
pTabCtrl
);
else
pNewTabPage
=
pLibPage
;
{
pLibPage
->
SetTabDlg
(
this
);
OSL_FAIL
(
"PageHdl: Unbekannte ID!"
);
}
break
;
default
:
OSL_FAIL
(
"PageHdl: Unbekannte ID!"
);
}
}
DBG_ASSERT
(
pNewTabPage
,
"Keine Page!"
);
DBG_ASSERT
(
pNewTabPage
,
"Keine Page!"
);
pTabCtrl
->
SetTabPage
(
nId
,
pNewTabPage
);
pTabCtrl
->
SetTabPage
(
nId
,
pNewTabPage
);
...
@@ -551,7 +552,6 @@ ObjectPage::ObjectPage( Window * pParent, const ResId& rResId, sal_uInt16 nMode
...
@@ -551,7 +552,6 @@ ObjectPage::ObjectPage( Window * pParent, const ResId& rResId, sal_uInt16 nMode
aLibText
(
this
,
IDEResId
(
RID_STR_LIB
)
),
aLibText
(
this
,
IDEResId
(
RID_STR_LIB
)
),
aBasicBox
(
this
,
IDEResId
(
RID_TRLBOX
)
),
aBasicBox
(
this
,
IDEResId
(
RID_TRLBOX
)
),
aEditButton
(
this
,
IDEResId
(
RID_PB_EDIT
)
),
aEditButton
(
this
,
IDEResId
(
RID_PB_EDIT
)
),
aCloseButton
(
this
,
IDEResId
(
RID_PB_CLOSE
)
),
aNewModButton
(
this
,
IDEResId
(
RID_PB_NEWMOD
)
),
aNewModButton
(
this
,
IDEResId
(
RID_PB_NEWMOD
)
),
aNewDlgButton
(
this
,
IDEResId
(
RID_PB_NEWDLG
)
),
aNewDlgButton
(
this
,
IDEResId
(
RID_PB_NEWDLG
)
),
aDelButton
(
this
,
IDEResId
(
RID_PB_DELETE
)
)
aDelButton
(
this
,
IDEResId
(
RID_PB_DELETE
)
)
...
@@ -561,7 +561,6 @@ ObjectPage::ObjectPage( Window * pParent, const ResId& rResId, sal_uInt16 nMode
...
@@ -561,7 +561,6 @@ ObjectPage::ObjectPage( Window * pParent, const ResId& rResId, sal_uInt16 nMode
aEditButton
.
SetClickHdl
(
LINK
(
this
,
ObjectPage
,
ButtonHdl
)
);
aEditButton
.
SetClickHdl
(
LINK
(
this
,
ObjectPage
,
ButtonHdl
)
);
aDelButton
.
SetClickHdl
(
LINK
(
this
,
ObjectPage
,
ButtonHdl
)
);
aDelButton
.
SetClickHdl
(
LINK
(
this
,
ObjectPage
,
ButtonHdl
)
);
aCloseButton
.
SetClickHdl
(
LINK
(
this
,
ObjectPage
,
ButtonHdl
)
);
aBasicBox
.
SetSelectHdl
(
LINK
(
this
,
ObjectPage
,
BasicBoxHighlightHdl
)
);
aBasicBox
.
SetSelectHdl
(
LINK
(
this
,
ObjectPage
,
BasicBoxHighlightHdl
)
);
if
(
nMode
&
BROWSEMODE_MODULES
)
if
(
nMode
&
BROWSEMODE_MODULES
)
...
@@ -724,8 +723,6 @@ IMPL_LINK( ObjectPage, ButtonHdl, Button *, pButton )
...
@@ -724,8 +723,6 @@ IMPL_LINK( ObjectPage, ButtonHdl, Button *, pButton )
NewDialog
();
NewDialog
();
else
if
(
pButton
==
&
aDelButton
)
else
if
(
pButton
==
&
aDelButton
)
DeleteCurrent
();
DeleteCurrent
();
else
if
(
pButton
==
&
aCloseButton
)
EndTabDialog
(
0
);
return
0
;
return
0
;
}
}
...
...
basctl/source/basicide/moduldlg.hrc
Dosyayı görüntüle @
2544a2a8
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#define RID_TRLBOX 2
#define RID_TRLBOX 2
// free
// free
#define RID_PB_EDIT 4
#define RID_PB_EDIT 4
#define RID_PB_CLOSE 5
#define RID_PB_NEWMOD 6
#define RID_PB_NEWMOD 6
#define RID_PB_NEWDLG 7
#define RID_PB_NEWDLG 7
#define RID_PB_DELETE 8
#define RID_PB_DELETE 8
...
@@ -38,10 +38,6 @@
...
@@ -38,10 +38,6 @@
#define RID_PB_EXPORT 14
#define RID_PB_EXPORT 14
#define RID_TP_MOD 20
#define RID_TP_LIB 21
#define RID_TP_DLG 22
#define RID_TC_ORGANIZE 30
#define RID_TC_ORGANIZE 30
#define RID_PB_OK 31
#define RID_PB_OK 31
...
...
basctl/source/basicide/moduldlg.hxx
Dosyayı görüntüle @
2544a2a8
...
@@ -179,7 +179,7 @@ public:
...
@@ -179,7 +179,7 @@ public:
class
OrganizeDialog
:
public
TabDialog
class
OrganizeDialog
:
public
TabDialog
{
{
private
:
private
:
TabControl
a
TabCtrl
;
TabControl
*
m_p
TabCtrl
;
EntryDescriptor
m_aCurEntry
;
EntryDescriptor
m_aCurEntry
;
public
:
public
:
...
@@ -197,7 +197,6 @@ protected:
...
@@ -197,7 +197,6 @@ protected:
FixedText
aLibText
;
FixedText
aLibText
;
ExtTreeListBox
aBasicBox
;
ExtTreeListBox
aBasicBox
;
PushButton
aEditButton
;
PushButton
aEditButton
;
CancelButton
aCloseButton
;
PushButton
aNewModButton
;
PushButton
aNewModButton
;
PushButton
aNewDlgButton
;
PushButton
aNewDlgButton
;
PushButton
aDelButton
;
PushButton
aDelButton
;
...
@@ -232,7 +231,6 @@ protected:
...
@@ -232,7 +231,6 @@ protected:
FixedText
aLibText
;
FixedText
aLibText
;
CheckBox
aLibBox
;
CheckBox
aLibBox
;
PushButton
aEditButton
;
PushButton
aEditButton
;
CancelButton
aCloseButton
;
PushButton
aPasswordButton
;
PushButton
aPasswordButton
;
PushButton
aNewLibButton
;
PushButton
aNewLibButton
;
PushButton
aInsertLibButton
;
PushButton
aInsertLibButton
;
...
...
basctl/source/basicide/moduldlg.src
Dosyayı görüntüle @
2544a2a8
...
@@ -20,38 +20,7 @@
...
@@ -20,38 +20,7 @@
#include "helpid.hrc"
#include "helpid.hrc"
#include <moduldlg.hrc>
#include <moduldlg.hrc>
#include <basidesh.hrc>
#include <basidesh.hrc>
TabDialog RID_TD_ORGANIZE
{
OutputSize = TRUE ;
SVLook = TRUE ;
Text[ en-US ] = "%PRODUCTNAME Basic Macro Organizer";
Moveable = TRUE ;
Closeable = TRUE ;
// Da Cancel-Button auf TabPage, nicht auf Dialog!
TabControl RID_TC_ORGANIZE
{
// HelpID = HID_BASICIDE_ORG_TC;
OutputSize = TRUE ;
PageList =
{
PageItem
{
Identifier = RID_TP_MOD ;
Text [ en-US ] = "Modules" ;
};
PageItem
{
Identifier = RID_TP_DLG ;
Text [ en-US ] = "Dialogs" ;
};
PageItem
{
Identifier = RID_TP_LIB ;
Text [ en-US ] = "Libraries" ;
};
};
};
};
TabPage RID_TP_MODULS
TabPage RID_TP_MODULS
{
{
HelpId = "basctl:TabPage:RID_TP_MODULS" ;
HelpId = "basctl:TabPage:RID_TP_MODULS" ;
...
@@ -81,13 +50,6 @@ TabPage RID_TP_MODULS
...
@@ -81,13 +50,6 @@ TabPage RID_TP_MODULS
TabStop = TRUE ;
TabStop = TRUE ;
DefButton = TRUE ;
DefButton = TRUE ;
};
};
CancelButton RID_PB_CLOSE
{
Text [ en-US ] = "Close";
Pos = MAP_APPFONT ( 144 , 23 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
TabStop = TRUE ;
};
PushButton RID_PB_NEWMOD
PushButton RID_PB_NEWMOD
{
{
HelpID = "basctl:PushButton:RID_TP_MODULS:RID_PB_NEWMOD";
HelpID = "basctl:PushButton:RID_TP_MODULS:RID_PB_NEWMOD";
...
@@ -142,13 +104,6 @@ TabPage RID_TP_DLGS
...
@@ -142,13 +104,6 @@ TabPage RID_TP_DLGS
TabStop = TRUE ;
TabStop = TRUE ;
DefButton = TRUE ;
DefButton = TRUE ;
};
};
CancelButton RID_PB_CLOSE
{
Text[ en-US ] = "Close";
Pos = MAP_APPFONT ( 144 , 23 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
TabStop = TRUE ;
};
PushButton RID_PB_NEWMOD
PushButton RID_PB_NEWMOD
{
{
HelpID = "basctl:PushButton:RID_TP_DLGS:RID_PB_NEWMOD";
HelpID = "basctl:PushButton:RID_TP_DLGS:RID_PB_NEWMOD";
...
@@ -219,17 +174,10 @@ TabPage RID_TP_LIBS
...
@@ -219,17 +174,10 @@ TabPage RID_TP_LIBS
TabStop = TRUE ;
TabStop = TRUE ;
DefButton = TRUE ;
DefButton = TRUE ;
};
};
CancelButton RID_PB_CLOSE
{
Text [ en-US ] = "Close";
Pos = MAP_APPFONT ( 144 , 23 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
TabStop = TRUE ;
};
PushButton RID_PB_PASSWORD
PushButton RID_PB_PASSWORD
{
{
HelpID = "basctl:PushButton:RID_TP_LIBS:RID_PB_PASSWORD";
HelpID = "basctl:PushButton:RID_TP_LIBS:RID_PB_PASSWORD";
Pos = MAP_APPFONT ( 144 ,
4
3 ) ;
Pos = MAP_APPFONT ( 144 ,
2
3 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Size = MAP_APPFONT ( 60 , 14 ) ;
Text [ en-US ] = "~Password..." ;
Text [ en-US ] = "~Password..." ;
TabStop = TRUE ;
TabStop = TRUE ;
...
...
basctl/uiconfig/basicide/ui/organizedialog.ui
0 → 100644
Dosyayı görüntüle @
2544a2a8
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object
class=
"GtkDialog"
id=
"OrganizeDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"title"
translatable=
"yes"
>
%PRODUCTNAME Basic Macro Organizer
</property>
<property
name=
"type_hint"
>
dialog
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"dialog-vbox1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
12
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"dialog-action_area1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"layout_style"
>
end
</property>
<child>
<object
class=
"GtkButton"
id=
"close"
>
<property
name=
"label"
>
gtk-close
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"help"
>
<property
name=
"label"
>
gtk-help
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkNotebook"
id=
"tabcontrol"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<child>
<placeholder/>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
id=
"modules"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Modules
</property>
</object>
<packing>
<property
name=
"tab_fill"
>
False
</property>
</packing>
</child>
<child>
<placeholder/>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
id=
"dialogs"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Dialogs
</property>
</object>
<packing>
<property
name=
"position"
>
1
</property>
<property
name=
"tab_fill"
>
False
</property>
</packing>
</child>
<child>
<placeholder/>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
id=
"libraries"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Libraries
</property>
</object>
<packing>
<property
name=
"position"
>
2
</property>
<property
name=
"tab_fill"
>
False
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget
response=
"0"
>
close
</action-widget>
<action-widget
response=
"0"
>
help
</action-widget>
</action-widgets>
</object>
</interface>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment