diff --git a/atomic_defi_design/Dex/.gitignore b/atomic_defi_design/Dex/.gitignore new file mode 100644 index 0000000000..90d1f28b17 --- /dev/null +++ b/atomic_defi_design/Dex/.gitignore @@ -0,0 +1 @@ +qml.qrc \ No newline at end of file diff --git a/atomic_defi_design/assets/.gitignore b/atomic_defi_design/assets/.gitignore new file mode 100644 index 0000000000..90d1f28b17 --- /dev/null +++ b/atomic_defi_design/assets/.gitignore @@ -0,0 +1 @@ +qml.qrc \ No newline at end of file diff --git a/atomic_defi_design/qml.qrc b/atomic_defi_design/qml.qrc deleted file mode 100644 index c45ed04f68..0000000000 --- a/atomic_defi_design/qml.qrc +++ /dev/null @@ -1,637 +0,0 @@ - - - assets/fonts/Ubuntu-B.ttf - assets/fonts/Ubuntu-BI.ttf - assets/fonts/Ubuntu-L.ttf - assets/fonts/Ubuntu-LI.ttf - assets/fonts/Ubuntu-M.ttf - assets/fonts/Ubuntu-MI.ttf - assets/fonts/Ubuntu-R.ttf - assets/fonts/Ubuntu-RI.ttf - assets/fonts/Ubuntu-Th.ttf - assets/images/addressbook.png - assets/images/arrow-down.svg - assets/images/arrow-up.svg - assets/images/arrow_down.svg - assets/images/arrow_up.svg - assets/images/bill.svg - assets/images/circle-failed.png - assets/images/circle-success.png - assets/images/coins/1inch.png - assets/images/coins/aave.png - assets/images/coins/aby.png - assets/images/coins/ada.png - assets/images/coins/adx.png - assets/images/coins/agix.png - assets/images/coins/ankr.png - assets/images/coins/ant.png - assets/images/coins/arpa.png - assets/images/coins/arrr.png - assets/images/coins/atom.png - assets/images/coins/aur.png - assets/images/coins/ava.png - assets/images/coins/avax.png - assets/images/coins/avaxt.png - assets/images/coins/awc.png - assets/images/coins/axe.png - assets/images/coins/axs.png - assets/images/coins/babydoge.png - assets/images/coins/bal.png - assets/images/coins/band.png - assets/images/coins/banano.png - assets/images/coins/bat.png - assets/images/coins/bch.png - assets/images/coins/best.png - assets/images/coins/bet.png - assets/images/coins/bidr.png - assets/images/coins/blk.png - assets/images/coins/bnb.png - assets/images/coins/bnbt.png - assets/images/coins/bnt.png - assets/images/coins/bone.png - assets/images/coins/bots.png - assets/images/coins/brz.png - assets/images/coins/bsty.png - assets/images/coins/btc.png - assets/images/coins/btcz.png - assets/images/coins/btt.png - assets/images/coins/bttc.png - assets/images/coins/btu.png - assets/images/coins/btx.png - assets/images/coins/busd.png - assets/images/coins/bte.png - assets/images/coins/cadc.png - assets/images/coins/cake.png - assets/images/coins/case.png - assets/images/coins/cdn.png - assets/images/coins/ccl.png - assets/images/coins/cel.png - assets/images/coins/celr.png - assets/images/coins/cennz.png - assets/images/coins/chips.png - assets/images/coins/ciphs.png - assets/images/coins/chsb.png - assets/images/coins/chz.png - assets/images/coins/clc.png - assets/images/coins/comp.png - assets/images/coins/cro.png - assets/images/coins/crv.png - assets/images/coins/crypto.png - assets/images/coins/cummies.png - assets/images/coins/cvc.png - assets/images/coins/cvt.png - assets/images/coins/dai.png - assets/images/coins/dash.png - assets/images/coins/dex.png - assets/images/coins/dgb.png - assets/images/coins/dgc.png - assets/images/coins/dia.png - assets/images/coins/dimi.png - assets/images/coins/dodo.png - assets/images/coins/doge.png - assets/images/coins/dogedash.png - assets/images/coins/doggy.png - assets/images/coins/doi.png - assets/images/coins/dot.png - assets/images/coins/dp.png - assets/images/coins/dust.png - assets/images/coins/dx.png - assets/images/coins/eca.png - assets/images/coins/efl.png - assets/images/coins/egld.png - assets/images/coins/elf.png - assets/images/coins/emc2.png - assets/images/coins/enj.png - assets/images/coins/eos.png - assets/images/coins/erc-20.png - assets/images/coins/etc.png - assets/images/coins/eth.png - assets/images/coins/ethk.png - assets/images/coins/ethr.png - assets/images/coins/eurs.png - assets/images/coins/fet.png - assets/images/coins/floki.png - assets/images/coins/flux.png - assets/images/coins/fil.png - assets/images/coins/firo.png - assets/images/coins/fjc.png - assets/images/coins/fjcb.png - assets/images/coins/flow.png - assets/images/coins/ftc.png - assets/images/coins/ftm.png - assets/images/coins/ftmt.png - assets/images/coins/gala.png - assets/images/coins/gleec.png - assets/images/coins/glmr.png - assets/images/coins/gno.png - assets/images/coins/grms.png - assets/images/coins/gm.png - assets/images/coins/gms.png - assets/images/coins/grs.png - assets/images/coins/grt.png - assets/images/coins/hex.png - assets/images/coins/hlc.png - assets/images/coins/hodl.png - assets/images/coins/hot.png - assets/images/coins/hpy.png - assets/images/coins/ht.png - assets/images/coins/husd.png - assets/images/coins/ic.png - assets/images/coins/il8p.png - assets/images/coins/iln.png - assets/images/coins/inj.png - assets/images/coins/ink.png - assets/images/coins/iota.png - assets/images/coins/iotx.png - assets/images/coins/jchf.png - assets/images/coins/jeur.png - assets/images/coins/jgbp.png - assets/images/coins/jpyc.png - assets/images/coins/jrt.png - assets/images/coins/jstr.png - assets/images/coins/jumblr.png - assets/images/coins/kcs.png - assets/images/coins/kmd.png - assets/images/coins/knc.png - assets/images/coins/koin.png - assets/images/coins/ksm.png - assets/images/coins/labs.png - assets/images/coins/lbc.png - assets/images/coins/lcc.png - assets/images/coins/leash.png - assets/images/coins/leo.png - assets/images/coins/link.png - assets/images/coins/lrc.png - assets/images/coins/lstr.png - assets/images/coins/ltc.png - assets/images/coins/ltfn.png - assets/images/coins/luna.png - assets/images/coins/lynx.png - assets/images/coins/mana.png - assets/images/coins/matic.png - assets/images/coins/matictest.png - assets/images/coins/mcl.png - assets/images/coins/mesh.png - assets/images/coins/mgw.png - assets/images/coins/mir.png - assets/images/coins/minds.png - assets/images/coins/mkr.png - assets/images/coins/mln.png - assets/images/coins/mm.png - assets/images/coins/mona.png - assets/images/coins/morty.png - assets/images/coins/movr.png - assets/images/coins/mshark.png - assets/images/coins/nav.png - assets/images/coins/near.png - assets/images/coins/nexo.png - assets/images/coins/nmc.png - assets/images/coins/nvc.png - assets/images/coins/nyan.png - assets/images/coins/nzds.png - assets/images/coins/oc.png - assets/images/coins/ocean.png - assets/images/coins/okb.png - assets/images/coins/omg.png - assets/images/coins/one.png - assets/images/coins/ont.png - assets/images/coins/pangea.png - assets/images/coins/pax.png - assets/images/coins/paxg.png - assets/images/coins/pic.png - assets/images/coins/pnk.png - assets/images/coins/powr.png - assets/images/coins/ppc.png - assets/images/coins/prcy.png - assets/images/coins/pgx.png - assets/images/coins/prux.png - assets/images/coins/put.png - assets/images/coins/qbt.png - assets/images/coins/qc.png - assets/images/coins/qi.png - assets/images/coins/qiair.png - assets/images/coins/qkc.png - assets/images/coins/qnt.png - assets/images/coins/qrc-20.png - assets/images/coins/qrc20.png - assets/images/coins/qtum.png - assets/images/coins/rbtc.png - assets/images/coins/ren.png - assets/images/coins/rep.png - assets/images/coins/rev.png - assets/images/coins/revs.png - assets/images/coins/rick.png - assets/images/coins/rlc.png - assets/images/coins/rsr.png - assets/images/coins/rtm.png - assets/images/coins/rvn.png - assets/images/coins/s4f.png - assets/images/coins/sand.png - assets/images/coins/sbch.png - assets/images/coins/sfusd.png - assets/images/coins/shr.png - assets/images/coins/shib.png - assets/images/coins/sibm.png - assets/images/coins/skl.png - assets/images/coins/smart-chain.png - assets/images/coins/smtf.png - assets/images/coins/snt.png - assets/images/coins/snx.png - assets/images/coins/sol.png - assets/images/coins/soulja.png - assets/images/coins/sca.png - assets/images/coins/space.png - assets/images/coins/spc.png - assets/images/coins/srm.png - assets/images/coins/stfiro.png - assets/images/coins/storj.png - assets/images/coins/supernet.png - assets/images/coins/sushi.png - assets/images/coins/sxp.png - assets/images/coins/sys.png - assets/images/coins/tblk.png - assets/images/coins/tbtc.png - assets/images/coins/tel.png - assets/images/coins/tft.png - assets/images/coins/thc.png - assets/images/coins/thc_bep20.png - assets/images/coins/thx.png - assets/images/coins/tkl.png - assets/images/coins/tmtg.png - assets/images/coins/tqtum.png - assets/images/coins/trac.png - assets/images/coins/trc.png - assets/images/coins/trx.png - assets/images/coins/tryb.png - assets/images/coins/tsl.png - assets/images/coins/ttt.png - assets/images/coins/tusd.png - assets/images/coins/ubq.png - assets/images/coins/ubt.png - assets/images/coins/uis.png - assets/images/coins/uma.png - assets/images/coins/uni.png - assets/images/coins/uno.png - assets/images/coins/uos.png - assets/images/coins/uqc.png - assets/images/coins/usbl.png - assets/images/coins/usdc.png - assets/images/coins/usdi.png - assets/images/coins/usdt.png - assets/images/coins/ust.png - assets/images/coins/utk.png - assets/images/coins/val.png - assets/images/coins/vgx.png - assets/images/coins/vite.png - assets/images/coins/vra.png - assets/images/coins/vrm.png - assets/images/coins/vrsc.png - assets/images/coins/wbtc.png - assets/images/coins/wcn.png - assets/images/coins/whive.png - assets/images/coins/wsb.png - assets/images/coins/wwcn.png - assets/images/coins/xec.png - assets/images/coins/xep.png - assets/images/coins/xlm.png - assets/images/coins/xmy.png - assets/images/coins/xor.png - assets/images/coins/xpm.png - assets/images/coins/xrp.png - assets/images/coins/xrg.png - assets/images/coins/xsgd.png - assets/images/coins/xtz.png - assets/images/coins/xvc.png - assets/images/coins/xvs.png - assets/images/coins/yfi.png - assets/images/coins/yfii.png - assets/images/coins/zec.png - assets/images/coins/zer.png - assets/images/coins/zet.png - assets/images/coins/zinu.png - assets/images/coins/zil.png - assets/images/coins/zilla.png - assets/images/coins/zrx.png - assets/images/providers/binance.png - assets/images/providers/coingecko.png - assets/images/providers/coinpaprika.png - assets/images/providers/forex.png - assets/images/providers/nomics.png - assets/images/dashboard-copy.svg - assets/images/dashboard-eye-hide.svg - assets/images/dashboard-eye.svg - assets/images/dashboard-info.svg - assets/images/dex-logo-big.png - assets/images/dex-tray-icon.png - assets/images/exchange-exchange.svg - assets/images/exchange-search.svg - assets/images/exchange-trade-complete.png - assets/images/guide_coingecko_id.gif - assets/images/guide_contract_address_erc.gif - assets/images/guide_contract_address_qrc.gif - assets/images/guide_contract_address_bep.gif - assets/images/icon-discord.png - assets/images/icon-email.png - assets/images/icon-support.png - assets/images/icon-twitter.png - assets/images/komodo-icon.png - assets/images/lang/en.png - assets/images/lang/fr.png - assets/images/lang/ru.png - assets/images/lang/tr.png - assets/images/logo/dex-logo.png - assets/images/menu-assets-portfolio.svg - assets/images/menu-assets-white.svg - assets/images/menu-dapp-white.svg - assets/images/menu-exchange-white.svg - assets/images/menu-news-white.svg - assets/images/menu-settings-white.svg - assets/images/menu-support-white.png - assets/images/settings-seed.svg - assets/images/setup-logs.svg - assets/images/setup-wallet-restore-2.svg - assets/images/setup-welcome-wallet.svg - assets/images/shadowed_circle_blue.svg - assets/images/shadowed_circle_green.svg - assets/images/trade_icon.svg - assets/languages/atomic_defi_en.qm - assets/languages/atomic_defi_fr.qm - assets/languages/atomic_defi_ru.qm - assets/languages/atomic_defi_tr.qm - Dex/App.qml - Dex/String.js - Dex/Components/AddressField.qml - Dex/Components/AddressFieldWithTitle.qml - Dex/Components/AmountField.qml - Dex/Components/AmountFieldWithInfo.qml - Dex/Components/AmountIntField.qml - Dex/Components/AnimatedRectangle.qml - Dex/Components/Arrow.qml - Dex/Components/Blank.qml - Dex/Components/CannotEnableCoinModal.qml - Dex/Components/CexInfoModal.qml - Dex/Components/CexInfoTrigger.qml - Dex/Components/CheckEye.qml - Dex/Components/Circle.qml - Dex/Components/ClickableText.qml - Dex/Components/ClipRRect.qml - Dex/Components/CoinMenu.qml - Dex/Components/CoinTypeTag.qml - Dex/Components/ColumnHeader.qml - Dex/Components/ComboBoxWithTitle.qml - Dex/Components/ComponentWithTitle.qml - Dex/Components/CopyFieldButton.qml - Dex/Components/DangerButton.qml - Dex/Components/DefaultAlertIcon.qml - Dex/Components/DefaultAnimatedImage.qml - Dex/Components/DefaultBusyIndicator.qml - Dex/Components/DefaultButton.qml - Dex/Components/DefaultCheckBox.qml - Dex/Components/DefaultColorOverlay.qml - Dex/Components/DefaultComboBox.qml - Dex/Components/DefaultFlickable.qml - Dex/Components/DefaultImage.qml - Dex/Components/DefaultInnerShadow.qml - Dex/Components/DefaultListView.qml - Dex/Components/DefaultLoader.qml - Dex/Components/DefaultModal.qml - Dex/Components/DefaultMouseArea.qml - Dex/Components/DefaultRangeSlider.qml - Dex/Components/DefaultRectangle.qml - Dex/Components/DefaultScrollBar.qml - Dex/Components/DefaultScrollView.qml - Dex/Components/DefaultSlider.qml - Dex/Components/DefaultSplitView.qml - Dex/Components/DefaultSubstractRectangle.qml - Dex/Components/DefaultSweetComboBox.qml - Dex/Components/DefaultSwitch.qml - Dex/Components/DefaultText.qml - Dex/Components/DefaultTextArea.qml - Dex/Components/DefaultTextEdit.qml - Dex/Components/DefaultTextField.qml - Dex/Components/DefaultTooltip.qml - Dex/Components/DexAnimatedImage.qml - Dex/Components/DexAmountField.qml - Dex/Components/DexAppButton.qml - Dex/Components/DexTransparentButton.qml - Dex/Components/DexAppOutlineButton.qml - Dex/Components/DexAppTextField.qml - Dex/Components/DexAppPasswordField.qml - Dex/Components/DexBox.qml - Dex/Components/DexBoxManager.qml - Dex/Components/DexButton.qml - Dex/Components/DexCheckBox.qml - Dex/Components/DexColorOverlay.qml - Dex/Components/DexCopyableLabel.qml - Dex/Components/DexComboBox.qml - Dex/Components/DexDialogManager.qml - Dex/Components/DexDialogTextField.qml - Dex/Components/DexFadebehavior.qml - Dex/Components/DexVisibleBehavior.qml - Dex/Components/DexFlickable.qml - Dex/Components/DexGradientAppButton.qml - Dex/Components/DexIconButton.qml - Dex/Components/DexImage.qml - Dex/Components/DexInnerShadow.qml - Dex/Components/DexItemBox.qml - Dex/Components/DexLabel.qml - Dex/Components/DexLabelUnlinked.qml - Dex/Components/DexLanguage.qml - Dex/Components/DexListView.qml - Dex/Components/DexLoader.qml - Dex/Components/DexKeyChecker.qml - Dex/Components/DexMacControl.qml - Dex/Components/DexModal.qml - Dex/Components/DexModalHeader.qml - Dex/Components/DexMouseArea.qml - Dex/Components/DexPaginator.qml - Dex/Components/DexPopup.qml - Dex/Components/DexRangeSlider.qml - Dex/Components/DexRectangle.qml - Dex/Components/DexScrollBar.qml - Dex/Components/DexSelectableButton.qml - Dex/Components/DexSlider.qml - Dex/Components/DexSplitView.qml - Dex/Components/DexSubstractRectangle.qml - Dex/Components/DexSweetComboBox.qml - Dex/Components/DexSwitch.qml - Dex/Components/DexText.qml - Dex/Components/DexAppTextArea.qml - Dex/Components/DexTextArea.qml - Dex/Components/DexTextEdit.qml - Dex/Components/DexTextField.qml - Dex/Components/DexTooltip.qml - Dex/Components/DexTradeBox.qml - Dex/Components/DexWindow.qml - Dex/Components/DexWindowControl.qml - Dex/Components/DexWindowHeaderControl.qml - Dex/Components/DexMacosHeaderControl.qml - Dex/Components/EulaModal.qml - Dex/Components/FloatingBackground.qml - Dex/Components/ForceRestartModal.qml - Dex/Components/GradientButton.qml - Dex/Components/GradientRectangle.qml - Dex/Components/HelpModal.qml - Dex/Components/HideFieldButton.qml - Dex/Components/HorizontalLine.qml - Dex/Components/InnerBackground.qml - Dex/Components/ItemBox.qml - Dex/Components/LinkIcon.qml - Dex/Components/LinksRow.qml - Dex/Components/LoaderBusyIndicator.qml - Dex/Components/LogModal.qml - Dex/Components/MinTradeModal.qml - Dex/Components/ModalHeader.qml - Dex/Components/ModalLoader.qml - Dex/Components/MultipageModal.qml - Dex/Components/MultipageModalContent.qml - Dex/Components/OutlineButton.qml - Dex/Components/Pagination.qml - Dex/Components/PaginationButton.qml - Dex/Components/PasswordField.qml - Dex/Components/PasswordForm.qml - Dex/Components/PlusButton.qml - Dex/Components/PrimaryButton.qml - Dex/Components/RestartModal.qml - Dex/Components/RightClickMenu.qml - Dex/Components/RoundComboBox.qml - Dex/Components/SearchField.qml - Dex/Components/Separator.qml - Dex/Components/SetupPage.qml - Dex/Components/SidebarPanel.qml - Dex/Components/SquareButton.qml - Dex/Components/SwapIcon.qml - Dex/Components/TextAreaWithTitle.qml - Dex/Components/TextEditWithTitle.qml - Dex/Components/TextFieldWithTitle.qml - Dex/Components/TextWithTitle.qml - Dex/Components/TitleText.qml - Dex/Components/Toast.qml - Dex/Components/ToastManager.qml - Dex/Components/VerticalLine.qml - Dex/Components/VerticalLineBasic.qml - Dex/Components/WalletNameField.qml - Dex/Components/Widget.qml - Dex/Constants - Dex/Constants/API.qml - Dex/Constants/DexTheme.qml - Dex/Constants/DexTypo.qml - Dex/Constants/General.qml - Dex/Constants/Style.qml - Dex/Dashboard/FatalErrorModal.qml - Dex/Dashboard/NewUpdateModal.qml - Dex/Dashboard/UpdateInvalidChecksum.qml - Dex/Dashboard/NotificationsModal.qml - Dex/Exchange/Exchange.qml - Dex/Exchange/ProView/Chart.qml - Dex/Exchange/ProView/DexComboBoxLine.qml - Dex/Exchange/ProView/PlaceOrderForm/Main.qml - Dex/Exchange/ProView/PlaceOrderForm/MarketModeSelector.qml - Dex/Exchange/ProView/PlaceOrderForm/OrderForm.qml - Dex/Exchange/ProView/PlaceOrderForm/TotalView.qml - Dex/Exchange/ProView/SweetDexComboBox.qml - Dex/Exchange/ProView/TickerSelector.qml - Dex/Exchange/ProView/TickerSelectors.qml - Dex/Exchange/ProView/TradingInfo/Main.qml - Dex/Exchange/ProView/TradingInfo/OrderLine.qml - Dex/Exchange/ProView/TradingInfo/OrderList.qml - Dex/Exchange/ProView/TradingInfo/OrderModal.qml - Dex/Exchange/ProView/TradingInfo/OrdersPage.qml - Dex/Exchange/ProView/TradingInfo/PriceLine.qml - Dex/Exchange/ProView/TradingInfo/SwapProgress.qml - Dex/Exchange/Trade/BestOrder/Header.qml - Dex/Exchange/Trade/BestOrder/List.qml - Dex/Exchange/Trade/BestOrder/ListDelegate.qml - Dex/Exchange/Trade/ConfirmMultiOrderTradeModal.qml - Dex/Exchange/Trade/ConfirmTradeModal.qml - Dex/Exchange/Trade/DefaultSweetModal.qml - Dex/Exchange/Trade/FeeIcon.qml - Dex/Exchange/Trade/MultiOrder.qml - Dex/Exchange/Trade/OrderBook/Header.qml - Dex/Exchange/Trade/OrderBook/Horizontal.qml - Dex/Exchange/Trade/OrderBook/List.qml - Dex/Exchange/Trade/OrderBook/ListDelegate.qml - Dex/Exchange/Trade/OrderBook/Vertical.qml - Dex/Exchange/Trade/Orders/OrderContent.qml - Dex/Exchange/Trade/PriceLineSimplified.qml - Dex/Exchange/Trade/ProView.qml - Dex/Exchange/Trade/SimpleView/List.qml - Dex/Exchange/Trade/SimpleView/Main.qml - Dex/Exchange/Trade/SimpleView/Main.js - Dex/Exchange/Trade/SimpleView/Trade.qml - Dex/Exchange/Trade/SimpleView/OrderRemovedModal.qml - Dex/Exchange/Trade/SimpleView/SubBestOrder.qml - Dex/Exchange/Trade/SimpleView/SubCoinSelector.qml - Dex/Exchange/Trade/SimpleView/SubOrders.qml - Dex/Exchange/Trade/SimpleView/SubHistory.qml - Dex/Exchange/Trade/Trade.qml - Dex/Exchange/Trade/Trading/Items/FeeInfo.qml - Dex/Exchange/Trade/Trading/TradeViewHeader.qml - Dex/Fiat/FiatRamp.qml - Dex/Graphics/Color.js - Dex/Graphics/qmldir - Dex/NoConnection.qml - Dex/Portfolio/Portfolio.qml - Dex/Screens/Dashboard.qml - Dex/Screens/qmldir - Dex/Screens/Startup/ImportWallet.qml - Dex/Screens/Startup/Logging.qml - Dex/Screens/Startup/Login.qml - Dex/Screens/Startup/Main.qml - Dex/Screens/Startup/NewWallet.qml - Dex/Screens/Startup/WalletsView.qml - Dex/Settings/AddCustomCoinModal.qml - Dex/Settings/CamouflagePasswordModal.qml - Dex/Settings/Combo_fiat.qml - Dex/Settings/DeleteWalletModal.qml - Dex/Settings/Languages.qml - Dex/Settings/RecoverSeedModal.qml - Dex/Settings/SettingsButton.qml - Dex/Settings/SettingModal.qml - Dex/Settings/Settings.qml - Dex/Sidebar/Bottom.qml - Dex/Sidebar/Center.qml - Dex/Sidebar/FigurativeLine.qml - Dex/Sidebar/Line.qml - Dex/Sidebar/Main.qml - Dex/Sidebar/qmldir - Dex/Sidebar/Top.qml - Dex/Support/FAQLine.qml - Dex/Support/Support.qml - Dex/Themes/CurrentTheme.qml - Dex/Themes/DefaultTheme.js - Dex/Themes/qmldir - Dex/Themes/ThemeData.qml - Dex/Wallet/AddressBook.qml - Dex/Wallet/AddressBookAddContactAddressModal.qml - Dex/Wallet/AddressBookEditContactModal.qml - Dex/Wallet/AddressBookNewContactCategoryModal.qml - Dex/Wallet/AddressBookNewContactModal.qml - Dex/Wallet/AddressBookSendWalletSelector.qml - Dex/Wallet/AddressBookWalletTypeList.qml - Dex/Wallet/AddressBookWalletTypeListModal.qml - Dex/Wallet/AddressBookWalletTypeListRow.qml - Dex/Wallet/AddressList.qml - Dex/Wallet/ClaimFaucetResultModal.qml - Dex/Wallet/ClaimRewardsModal.qml - Dex/Wallet/EnableCoinModal.qml - Dex/Wallet/Main.qml - Dex/Wallet/ReceiveModal.qml - Dex/Wallet/SendModal.qml - Dex/Wallet/SendModalContactList.qml - Dex/Wallet/SendResult.qml - Dex/Wallet/Sidebar.qml - Dex/Wallet/SidebarItemDelegate.qml - Dex/Wallet/TransactionDetailsModal.qml - Dex/Wallet/Transactions.qml - Dex/Wallet/Wallet.qml - Dex/Portfolio/AmountChart.qml - Dex/Portfolio/AssetPieChart.qml - Dex/Portfolio/PieItem.qml - Dex/Portfolio/SmartChartView.qml - Dex/Portfolio/AssetsList.qml - Dex/main.qml - qtquickcontrols2.conf - Dex/Components/PopupManager.qml - - diff --git a/cmake/dex_generate_qrc.cmake b/cmake/dex_generate_qrc.cmake new file mode 100644 index 0000000000..eefe26c1ef --- /dev/null +++ b/cmake/dex_generate_qrc.cmake @@ -0,0 +1,36 @@ +function(dex_generate_qrc directory output) + cmake_parse_arguments( + GENERATE_QRC + "" + "PATH_PREFIX" + "FILES_TO_EXCLUDE" + ${ARGN} + ) + + set(resources) + file(GLOB_RECURSE resources ${directory}/* ${directory}/*/*) + + file(WRITE ${directory}/qml.qrc "\n") + file(APPEND ${directory}/qml.qrc " \n") + foreach(res ${resources}) + set(excluded FALSE) + foreach(file_to_exclude ${GENERATE_QRC_FILES_TO_EXCLUDE}) + set(find_res) + string(FIND ${res} ${file_to_exclude} find_res) + if (${find_res} GREATER -1) + set(excluded TRUE) + break() + endif () + endforeach() + if (excluded) + continue() + endif () + string(REPLACE ${directory}/ "" res ${res}) + file(APPEND ${directory}/qml.qrc " ${res}\n") + endforeach() + file(APPEND ${directory}/qml.qrc " \n") + file(APPEND ${directory}/qml.qrc "\n") + + set(${output} ${directory}/qml.qrc PARENT_SCOPE) + +endfunction() \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 25ab4e6aa4..4f652cbe49 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,5 @@ include(DEX_NEW_LIB) +include(dex_generate_qrc) # Core target DEX_NEW_LIB(core INTERFACE @@ -22,6 +23,7 @@ DEX_NEW_LIB(core INTERFACE INTERFACE_DEFS ENTT_API_EXPORT) target_precompile_headers(${PROJECT_NAME}_core INTERFACE core/atomicdex/pch.hpp) + if (APPLE) set_source_files_properties(core/atomicdex/platform/osx/manager.mm PROPERTIES SKIP_PRECOMPILE_HEADERS ON) macro(adex_add_framework fwname appname) @@ -62,6 +64,16 @@ qt5_create_translation(QM_FILES message(STATUS "QM FILES -> ${QM_FILES}") message(STATUS "TS FILES -> ${TS_FILES}") +set(qml_qrc) +set(assets_qrc) +set(imports_qrc ${CMAKE_SOURCE_DIR}/atomic_defi_design/imports/qml.qrc) +dex_generate_qrc(${CMAKE_SOURCE_DIR}/atomic_defi_design/Dex qml_qrc + PATH_PREFIX "Dex" + FILES_TO_EXCLUDE ".gitignore;.DS_Store") +dex_generate_qrc(${CMAKE_SOURCE_DIR}/atomic_defi_design/assets assets_qrc + PATH_PREFIX "assets" + FILES_TO_EXCLUDE ".gitignore;.DS_Store;CONTRIBUTING.txt;FONTLOG.txt;LICENCE-FAQ.txt;LICENCE.txt;README.txt;TRADEMARKS.txt;.ts") + # Main executable add_executable(${PROJECT_NAME} MACOSX_BUNDLE @@ -73,8 +85,9 @@ add_executable(${PROJECT_NAME} ${CMAKE_SOURCE_DIR}/cmake/install/windows/dex.rc ##! QRC - ${CMAKE_SOURCE_DIR}/atomic_defi_design/qml.qrc - ${CMAKE_SOURCE_DIR}/atomic_defi_design/imports/qml.qrc + ${qml_qrc} + ${assets_qrc} + ${imports_qrc} ##! Linguistic ${QM_FILES}